Home
last modified time | relevance | path

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

12

/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/io/
DUnixFileTest.java42 private File testFile; field in UnixFileTest
108 assertFalse(testFile.canExecute()); in test_canExecute()
109 assertTrue(testFile.setExecutable(true, false)); in test_canExecute()
110 assertTrue(testFile.canExecute()); in test_canExecute()
111 assertTrue(testFile.setExecutable(true, true)); in test_canExecute()
112 assertTrue(testFile.canExecute()); in test_canExecute()
114 assertTrue(testFile.setExecutable(false, false)); in test_canExecute()
115 assertFalse(testFile.canExecute()); in test_canExecute()
116 assertTrue(testFile.setExecutable(false, true)); in test_canExecute()
117 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/icu/icu4c/source/test/intltest/
Ducaconf.cpp29 testFile(NULL), in UCAConformanceTest()
55 if (testFile) { in ~UCAConformanceTest()
56 fclose(testFile); in ~UCAConformanceTest()
112 if(testFile) { in openTestFile()
113 fclose(testFile); in openTestFile()
128 testFile = fopen(buffer, "rb"); in openTestFile()
130 if(testFile == 0) { in openTestFile()
133 testFile = fopen(buffer, "rb"); in openTestFile()
135 if(testFile == 0) { in openTestFile()
138 testFile = fopen(buffer, "rb"); in openTestFile()
[all …]
Dtsmthred.cpp973 FILE *testFile = NULL; in TestCollators() local
985 if(testFile) { in TestCollators()
986 fclose(testFile); in TestCollators()
1001 testFile = fopen(buffer, "rb"); in TestCollators()
1003 if(testFile == 0) { in TestCollators()
1006 testFile = fopen(buffer, "rb"); in TestCollators()
1008 if(testFile == 0) { in TestCollators()
1011 testFile = fopen(buffer, "rb"); in TestCollators()
1013 if (testFile == 0) { in TestCollators()
1034 while (fgets(buffer, 1024, testFile) != NULL) { in TestCollators()
[all …]
Ducaconf.h47 FILE *testFile; variable
Drbbitst.cpp1151 UChar *testFile = ReadAndConvertFile(testFileName, len, "UTF-8", status); in TestExtended() local
1162 UnicodeString testString(FALSE, testFile, len); in TestExtended()
1485 delete [] testFile; in TestExtended()
1737 UChar *testFile = ReadAndConvertFile(testFileName, len, "UTF-8", status); in runUnicodeTestData() local
1740 TEST_ASSERT(testFile != NULL); in runUnicodeTestData()
1742 if (U_FAILURE(status) || testFile == NULL) { in runUnicodeTestData()
1745 UnicodeString testFileAsString(TRUE, testFile, len); in runUnicodeTestData()
1840 delete [] testFile; in runUnicodeTestData()
/external/smali/smalidea/src/test/java/org/jf/smalidea/findUsages/
DFindUsagesTest.java112 for (TestFile testFile: testFiles) { in doTest()
113 int refIndex = testFile.getRefIndex(); in doTest()
115 PsiElement element = testFile.psiFile.findElementAt(refIndex); in doTest()
128 reference = testFile.psiFile.findReferenceAt(refIndex); in doTest()
133 testFile.psiFile.findElementAt(refIndex), 0); in doTest()
143 for (TestFile testFile: testFiles) { in doTest()
144 assertUsages(testFile, usages); in doTest()
148 private void assertUsages(@NotNull TestFile testFile, @NotNull Collection<UsageInfo> usages) { in assertUsages() argument
151 if (usage.getFile().getName().equals(testFile.fileName)) { in assertUsages()
156 for (Integer usageIndex: testFile.getUsageIndices()) { in assertUsages()
/external/libcxx/test/std/experimental/filesystem/class.directory_iterator/directory_iterator.members/
Dctor.pass.cpp85 path const testFile = testDir / "testFile"; in TEST_CASE() local
87 env.create_file(testFile, 42); in TEST_CASE()
120 path const testFile = env.make_env_path("file1"); in TEST_CASE() local
121 env.create_file(testFile, 42); in TEST_CASE()
124 permissions(testFile, perms::none); in TEST_CASE()
130 directory_iterator it(testFile, ec); in TEST_CASE()
138 directory_iterator it(testFile, directory_options::skip_permission_denied, ec); in TEST_CASE()
186 const path testFile = StaticEnv::File; in TEST_CASE() local
190 directory_iterator it(testFile, ec); in TEST_CASE()
195 TEST_CHECK_THROW(filesystem_error, directory_iterator(testFile)); in TEST_CASE()
/external/libcxx/test/std/experimental/filesystem/class.rec.dir.itr/rec.dir.itr.members/
Dctor.pass.cpp89 path const testFile = testDir / "testFile"; in TEST_CASE() local
91 env.create_file(testFile, 42); in TEST_CASE()
125 path const testFile = env.make_env_path("file1"); in TEST_CASE() local
126 env.create_file(testFile, 42); in TEST_CASE()
129 permissions(testFile, perms::none); in TEST_CASE()
135 RDI it(testFile, ec); in TEST_CASE()
143 RDI it(testFile, directory_options::skip_permission_denied, ec); in TEST_CASE()
191 const path testFile = StaticEnv::File; in TEST_CASE() local
195 RDI it(testFile, ec); in TEST_CASE()
200 TEST_CHECK_THROW(filesystem_error, RDI(testFile)); in TEST_CASE()
/external/icu/icu4c/source/test/iotest/
Diotest.cpp223 LocalUFILEPointer testFile; in DataDrivenPrintf() local
237 testFile.adoptInstead(u_fopen(STANDARD_TEST_FILE, "w", fileLocale, "UTF-8")); in DataDrivenPrintf()
238 if (testFile.isNull()) { in DataDrivenPrintf()
263 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, dbl); in DataDrivenPrintf()
268 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i8); in DataDrivenPrintf()
273 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i16); in DataDrivenPrintf()
278 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i32); in DataDrivenPrintf()
283 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i64); in DataDrivenPrintf()
288 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, cBuffer); in DataDrivenPrintf()
292 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, argument); in DataDrivenPrintf()
[all …]
/external/python/cpython2/Demo/parser/
Dtest_parser.py33 def testFile(fileName): function
44 map(testFile, args)
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/configuration/
DConfigParser.py41 with open(confFileName, "r") as testFile:
42 self.__conf = json.load(testFile)
/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/guava/guava-tests/test/com/google/common/io/
DIoTestCase.java78 File testFile = new File(testFileUrl.toURI()); in getTestDir() local
79 testDir = testFile.getParentFile(); // the testdata directory in getTestDir()
/external/toybox/tests/
Dtar.test27 dd if=/dev/zero of=testFile ibs=4096 obs=4096 count=1000 2>/dev/null
31 touch testFile
Dmount.test59 echo "abcdefghijklmnopqrstuvwxyz" > testDir1/testDir2/testFile
/external/libmojo/mojo/public/js/
Dvalidation_unittests.js213 function checkValidationResult(testFile, err) { argument
215 var expectedResult = readTestExpected(testFile);
217 console.log("[Test message validation failed: " + testFile + " ]");
/external/conscrypt/platform/src/test/java/org/conscrypt/ct/
DCTLogStoreImplTest.java96 File testFile = writeFile(LOGS_SERIALIZED[0]); in test_loadLog() local
97 log = CTLogStoreImpl.loadLog(testFile); in test_loadLog()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliFileTest.java40 public void testFile() { in testFile() method in SmaliFileTest
/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/
DAntResourcesLocatorTest.java63 public void testFile() throws IOException { in testFile() method in AntResourcesLocatorTest
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DSerializableTestUtility.java859 static Object[] getSerializedObjects(File testFile) throws IOException, ClassNotFoundException { in getSerializedObjects() argument
860 FileInputStream fis = new FileInputStream(testFile); in getSerializedObjects()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTestUtility.java858 static Object[] getSerializedObjects(File testFile) throws IOException, ClassNotFoundException { in getSerializedObjects() argument
859 FileInputStream fis = new FileInputStream(testFile); in getSerializedObjects()
/external/autotest/server/cros/tradefed_test_unittest_data/
DCtsSecurityTestCases.txt14 03-13 22:29:15 I/RemoteAndroidTest: Running am instrument -w -r --abi armeabi-v7a -e testFile /dat…
15 03-13 22:29:18 I/RemoteAndroidTest: Running am instrument -w -r --abi armeabi-v7a -e testFile /dat…
DCtsPrintTestCases.txt13 05-19 12:55:13 I/RemoteAndroidTest: Running am instrument -w -r --abi x86 -e testFile /data/local/…
14 05-19 12:55:14 I/RemoteAndroidTest: Running am instrument -w -r --abi x86 -e testFile /data/local/…
146 05-19 13:17:00 I/RemoteAndroidTest: Running am instrument -w -r -e testFile /data/local/tmp/tf_te…

12