Lines Matching refs:function

49 static bool needTestFiles(const Function& function, int versionOfTestFiles) {  in needTestFiles()  argument
50 for (auto spec : function.getSpecifications()) { in needTestFiles()
894 static bool startJavaFile(GeneratedFile* file, const Function& function, const string& directory, in startJavaFile() argument
930 static void finishJavaFile(GeneratedFile* file, const Function& function, in finishJavaFile() argument
932 file->indent() << "public void test" << function.getCapitalizedName() << "()"; in finishJavaFile()
943 static bool startRsFile(GeneratedFile* file, const Function& function, const string& directory, in startRsFile() argument
957 static bool writeRelaxedRsFile(const Function& function, const string& directory, in writeRelaxedRsFile() argument
976 static bool writeTestFilesForFunction(const Function& function, const string& directory, in writeTestFilesForFunction() argument
979 if (!needTestFiles(function, versionOfTestFiles)) { in writeTestFilesForFunction()
983 const string testName = "Test" + function.getCapitalizedName(); in writeTestFilesForFunction()
986 if (!writeRelaxedRsFile(function, directory, testName, relaxedTestName)) { in writeTestFilesForFunction()
992 if (!startRsFile(&rsFile, function, directory, testName)) { in writeTestFilesForFunction()
996 if (!startJavaFile(&javaFile, function, directory, testName, relaxedTestName)) { in writeTestFilesForFunction()
1008 for (auto spec : function.getSpecifications()) { in writeTestFilesForFunction()
1021 finishJavaFile(&javaFile, function, javaCheckMethods); in writeTestFilesForFunction()