Home
last modified time | relevance | path

Searched refs:testFile (Results 1 – 14 of 14) sorted by relevance

/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/io/
DUnixFileTest.java36 private File testFile; field in UnixFileTest
131 assertFalse(testFile.canExecute()); in test_canExecute()
132 assertTrue(testFile.setExecutable(true, false)); in test_canExecute()
133 assertTrue(testFile.canExecute()); in test_canExecute()
134 assertTrue(testFile.setExecutable(true, true)); in test_canExecute()
135 assertTrue(testFile.canExecute()); in test_canExecute()
137 assertTrue(testFile.setExecutable(false, false)); in test_canExecute()
138 assertFalse(testFile.canExecute()); in test_canExecute()
139 assertTrue(testFile.setExecutable(false, true)); in test_canExecute()
140 assertFalse(testFile.canExecute()); in test_canExecute()
[all …]
/external/clang/utils/analyzer/
Dupdate_plist_test.pl7 my $testFile = shift @ARGV;
8 die "error: cannot read file $testFile\n" if (! -r $testFile);
18 open (IN, $testFile) or die "cannot open $testFile\n";
50 `cp $filename $testFile`;
51 print "updated $testFile\n";
/external/icu4c/test/intltest/
Ducaconf.cpp25 testFile(NULL), in UCAConformanceTest()
51 if (testFile) { in ~UCAConformanceTest()
52 fclose(testFile); in ~UCAConformanceTest()
108 if(testFile) { in openTestFile()
109 fclose(testFile); in openTestFile()
124 testFile = fopen(buffer, "rb"); in openTestFile()
126 if(testFile == 0) { in openTestFile()
129 testFile = fopen(buffer, "rb"); in openTestFile()
131 if(testFile == 0) { in openTestFile()
134 testFile = fopen(buffer, "rb"); in openTestFile()
[all …]
Dtsmthred.cpp1088 FILE *testFile = NULL; in TestCollators() local
1100 if(testFile) { in TestCollators()
1101 fclose(testFile); in TestCollators()
1116 testFile = fopen(buffer, "rb"); in TestCollators()
1118 if(testFile == 0) { in TestCollators()
1121 testFile = fopen(buffer, "rb"); in TestCollators()
1123 if(testFile == 0) { in TestCollators()
1126 testFile = fopen(buffer, "rb"); in TestCollators()
1128 if (testFile == 0) { in TestCollators()
1149 while (fgets(buffer, 1024, testFile) != NULL) { in TestCollators()
[all …]
Ducaconf.h45 FILE *testFile; variable
Drbbitst.cpp993 UChar *testFile = ReadAndConvertFile(testFileName, len, "UTF-8", status); in TestExtended() local
1004 UnicodeString testString(FALSE, testFile, len); in TestExtended()
1317 delete [] testFile; in TestExtended()
1546 UChar *testFile = ReadAndConvertFile(testFileName, len, "UTF-8", status); in runUnicodeTestData() local
1549 TEST_ASSERT(testFile != NULL); in runUnicodeTestData()
1551 if (U_FAILURE(status) || testFile == NULL) { in runUnicodeTestData()
1554 UnicodeString testFileAsString(TRUE, testFile, len); in runUnicodeTestData()
1661 delete [] testFile; in runUnicodeTestData()
/external/icu4c/test/iotest/
Diotest.cpp220 LocalUFILEPointer testFile; in DataDrivenPrintf() local
234 testFile.adoptInstead(u_fopen(STANDARD_TEST_FILE, "w", fileLocale, "UTF-8")); in DataDrivenPrintf()
235 if (testFile.isNull()) { in DataDrivenPrintf()
260 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, dbl); in DataDrivenPrintf()
265 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i8); in DataDrivenPrintf()
270 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i16); in DataDrivenPrintf()
275 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i32); in DataDrivenPrintf()
280 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i64); in DataDrivenPrintf()
285 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, cBuffer); in DataDrivenPrintf()
289 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, argument); in DataDrivenPrintf()
[all …]
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/
DTestSuite.java41 protected TestSuite(String gname, File testFile) { in TestSuite() argument
43 testSuiteFile = testFile; in TestSuite()
DTestSuiteFactory.java73 … final File testFile = new File(grammarDir + File.separator + grammarName + TEST_SUITE_EXT); in createTestSuite() local
75 final TestSuite result = new TestSuite(grammarName, testFile); in createTestSuite()
/external/chromium/chrome/browser/ui/cocoa/download/
Ddownload_util_mac_unittest.mm39 FilePath testFile(FILE_PATH_LITERAL("download-test1.lib"));
40 testPath = testPath.Append(testFile);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DPrintStreamTest.java38 private File testFile = null; field in PrintStreamTest
658 testFile = File.createTempFile("test", null); in setUp()
659 testFilePath = testFile.getAbsolutePath(); in setUp()
664 testFile.delete(); in tearDown()
665 testFile = null; in tearDown()
DFileTest.java2243 File testFile = new File("test.ser"); in test_serialization_self() local
2244 SerializationTest.verifySelf(testFile); in test_serialization_self()
/external/webkit/Tools/DumpRenderTree/gtk/
DDumpRenderTree.cpp650 GFile* testFile = g_file_new_for_path(testURL.c_str()); in runTest() local
651 gchar* testURLCString = g_file_get_uri(testFile); in runTest()
654 g_object_unref(testFile); in runTest()
DEventSender.cpp472 GRefPtr<GFile> testFile(adoptGRef(g_file_new_for_uri(mainFrameURI))); in beginDragWithFilesCallback() local
473 GRefPtr<GFile> parentDirectory(g_file_get_parent(testFile.get())); in beginDragWithFilesCallback()