HomeSort by relevance Sort by last modified time
    Searched refs:testFile (Results 1 - 25 of 129) sorted by null

1 2 3 4 5 6

  /tools/tradefederation/core/src/com/android/tradefed/testtype/
ITestFileFilterReceiver.java 23 * <p>A test will be run if it is included in the testFile provided, and not excluded by the
34 * Sets the test file of includes. Does not ensure that testFile exists or is a file.
36 void setIncludeTestFile(File testFile);
39 * Sets the test file of excludes. Does not ensure that testFile exists or is a file.
41 void setExcludeTestFile(File testFile);
  /tools/tradefederation/core/tests/src/com/android/tradefed/util/
FileUtilTest.java 58 File testFile = null;
64 testFile = FileUtil.createTempFile("testChmodRW", ".txt");
65 assertTrue(FileUtil.chmodGroupRW(testFile));
66 assertTrue(testFile.canRead());
67 assertTrue(testFile.canWrite());
68 assertFalse(testFile.canExecute());
70 FileUtil.deleteFile(testFile);
80 File testFile = null;
83 testFile = FileUtil.createTempFile("testChmodRW", ".txt");
84 assertTrue(FileUtil.chmodGroupRW(testFile));
    [all...]
TarUtilTest.java 61 File testFile = TarUtil.unGzip(logTarGzFile, mWorkDir);
62 Assert.assertTrue(testFile.exists());
66 Assert.assertEquals(expectedName, testFile.getName());
81 File testFile = TarUtil.unGzip(logTarGzFile, mWorkDir);
82 Assert.assertTrue(testFile.exists());
83 List<File> untaredList = TarUtil.unTar(testFile, mWorkDir);
  /external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/io/
UnixFileTest.java 42 private File testFile;
108 assertFalse(testFile.canExecute());
109 assertTrue(testFile.setExecutable(true, false));
110 assertTrue(testFile.canExecute());
111 assertTrue(testFile.setExecutable(true, true));
112 assertTrue(testFile.canExecute());
114 assertTrue(testFile.setExecutable(false, false));
115 assertFalse(testFile.canExecute());
116 assertTrue(testFile.setExecutable(false, true));
117 assertFalse(testFile.canExecute())
    [all...]
  /external/clang/utils/analyzer/
update_plist_test.pl 7 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/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/
CompilationUnitTest.java 49 Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "Z.java"));
51 CompilationUnit cu = parse(testFile);
59 Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "A.java"));
61 CompilationUnit cu = parse(testFile);
68 Path testFile = sourceRoot.resolve(Paths.get("B.java"));
70 CompilationUnit cu = parse(testFile);
78 Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "PrimaryType.java"));
79 CompilationUnit cu = JavaParser.parse(testFile);
93 Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "PrimaryType.java"));
94 CompilationUnit cu = JavaParser.parse(testFile);
    [all...]
  /frameworks/rs/rsov/compiler/
Builtin_test.cpp 29 const std::string testFile("greyscale.spv");
32 const std::string &fullPath = getAbsolutePath(testDataPath + testFile);
  /tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
InstallApkSetupTest.java 48 private File testFile = null;
60 testFile = FileUtil.createTempFile("File", ".apk", testDir);
74 testCollectionFiles.add(testFile);
75 testCollectionFiles.add(testFile);
89 testCollectionFiles.add(testFile);
90 FileUtil.recursiveDelete(testFile);
97 String refMessage = String.format("%s does not exist null", testFile.getAbsolutePath());
110 testCollectionFiles.add(testFile);
115 testFile.getAbsolutePath())).times(1);
127 testCollectionFiles.add(testFile);
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/src/com/android/cts/readexternalstorageapp/
ReadMultiViewTest.java 51 final File testFile = new File(ourTestDir, "test.probe");
53 assertFileReadWriteAccess(testFile);
56 assertEquals(Os.getuid(), Os.stat(testFile.getAbsolutePath()).st_uid);
67 final File testFile = new File(otherTestDir, "test.probe");
69 assertFileReadOnlyAccess(testFile);
70 assertNotEqual(Os.getuid(), Os.stat(testFile.getAbsolutePath()).st_uid);
  /cts/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/
SimpleIOActivity.java 31 File testFile = new File(getFilesDir(), "StoragedTest_Temp_FG");
34 FileWriter w = new FileWriter(testFile);
  /libcore/luni/src/test/java/libcore/java/io/
OldAndroidFileTest.java 27 public void testFile() throws Exception {
  /cts/tests/tests/os/src/android/os/cts/
FileObserverTest.java 37 File testFile = new File(dir, TEST_FILE);
38 testFile.createNewFile();
54 File testFile = new File(dir, TEST_FILE);
58 if (testFile.exists()) {
59 testFile.delete();
108 File testFile = new File(dir, TEST_FILE);
113 fileObserver = new MockFileObserver(testFile.getParent());
116 out = new FileOutputStream(testFile);
132 testFile.delete(); // delete
150 testFile = new File(testDir, TEST_FILE)
    [all...]
  /external/icu/icu4c/source/test/intltest/
ucaconf.cpp 29 testFile(NULL),
55 if (testFile) {
56 fclose(testFile);
112 if(testFile) {
113 fclose(testFile);
128 testFile = fopen(buffer, "rb");
130 if(testFile == 0) {
133 testFile = fopen(buffer, "rb");
135 if(testFile == 0) {
138 testFile = fopen(buffer, "rb")
    [all...]
ucaconf.h 47 FILE *testFile;
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/parser/
test_parser.py 33 def testFile(fileName):
44 map(testFile, args)
  /external/python/cpython2/Demo/parser/
test_parser.py 33 def testFile(fileName):
44 map(testFile, args)
  /cts/tests/backup/app/src/android/backup/app/
KeyValueBackupAgent.java 48 File testFile = new File(getFilesDir(), MainActivity.FILE_NAME);
49 Log.d(MainActivity.TAG, "Writing " + testFile.length());
51 data.writeEntityHeader(MainActivity.FILE_NAME, (int) testFile.length());
53 try (FileInputStream input = new FileInputStream(testFile)) {
  /platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/monitor/
LayersTraceMonitorTest.java 71 File testFile = mLayersTraceMonitor.saveTraceFile("captureLayersTrace", 0).toFile();
72 assertThat(testFile.exists()).isTrue();
73 byte[] trace = Files.toByteArray(testFile);
WindowManagerTraceMonitorTest.java 71 File testFile = mWindowManagerTraceMonitor.saveTraceFile("captureWindowTrace", 0).toFile();
72 assertThat(testFile.exists()).isTrue();
73 byte[] trace = Files.toByteArray(testFile);
  /cts/tests/tests/content/src/android/content/cts/
ReadableUriExtraToClipDataTest.java 63 File testFile = new File(getContext().getFilesDir() + File.separator + fileName);
64 writeTestInputToFile(testFile);
65 mTestFiles.add(testFile);
66 mTestFileUris.add(Uri.fromFile(testFile));
72 for (File testFile : mTestFiles) {
73 if (testFile.exists()) {
74 assertTrue(testFile.delete());
  /external/libcxx/test/std/experimental/filesystem/class.directory_iterator/directory_iterator.members/
ctor.pass.cpp 92 path const testFile = testDir / "testFile";
94 env.create_file(testFile, 42);
127 path const testFile = env.make_env_path("file1");
128 env.create_file(testFile, 42);
131 permissions(testFile, perms::none);
137 directory_iterator it(testFile, ec);
145 directory_iterator it(testFile, directory_options::skip_permission_denied, ec);
193 const path testFile = StaticEnv::File;
197 directory_iterator it(testFile, ec)
    [all...]
  /external/libcxx/test/std/experimental/filesystem/class.rec.dir.itr/rec.dir.itr.members/
ctor.pass.cpp 93 path const testFile = testDir / "testFile";
95 env.create_file(testFile, 42);
129 path const testFile = env.make_env_path("file1");
130 env.create_file(testFile, 42);
133 permissions(testFile, perms::none);
139 RDI it(testFile, ec);
147 RDI it(testFile, directory_options::skip_permission_denied, ec);
195 const path testFile = StaticEnv::File;
199 RDI it(testFile, ec)
    [all...]
  /external/smali/smalidea/src/test/java/org/jf/smalidea/findUsages/
FindUsagesTest.java 62 private class TestFile {
67 public TestFile(@NotNull String fileName, @NotNull String fileText) throws Exception {
95 private List<TestFile> testFiles;
104 testFiles.add(new TestFile(fileName, fileText));
112 for (TestFile testFile: testFiles) {
113 int refIndex = testFile.getRefIndex();
115 PsiElement element = testFile.psiFile.findElementAt(refIndex);
128 reference = testFile.psiFile.findReferenceAt(refIndex);
133 testFile.psiFile.findElementAt(refIndex), 0)
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/class.directory_iterator/directory_iterator.members/
ctor.pass.cpp 85 path const testFile = testDir / "testFile";
87 env.create_file(testFile, 42);
120 path const testFile = env.make_env_path("file1");
121 env.create_file(testFile, 42);
124 permissions(testFile, perms::none);
130 directory_iterator it(testFile, ec);
138 directory_iterator it(testFile, directory_options::skip_permission_denied, ec);
186 const path testFile = StaticEnv::File;
190 directory_iterator it(testFile, ec)
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/class.rec.dir.itr/rec.dir.itr.members/
ctor.pass.cpp 89 path const testFile = testDir / "testFile";
91 env.create_file(testFile, 42);
125 path const testFile = env.make_env_path("file1");
126 env.create_file(testFile, 42);
129 permissions(testFile, perms::none);
135 RDI it(testFile, ec);
143 RDI it(testFile, directory_options::skip_permission_denied, ec);
191 const path testFile = StaticEnv::File;
195 RDI it(testFile, ec)
    [all...]

Completed in 1112 milliseconds

1 2 3 4 5 6