Home
last modified time | relevance | path

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

12

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DAssetManagerTest.java43 String testPath; in assetsPathListing() local
45 testPath = ""; in assetsPathListing()
46 files = Arrays.asList(assetManager.list(testPath)); in assetsPathListing()
50 testPath = "docs"; in assetsPathListing()
51 files = Arrays.asList(assetManager.list(testPath)); in assetsPathListing()
54 testPath = "docs" + sp + "extra"; in assetsPathListing()
55 files = Arrays.asList(assetManager.list(testPath)); in assetsPathListing()
58 testPath = "docs" + sp + "extra" + sp + "testing"; in assetsPathListing()
59 files = Arrays.asList(assetManager.list(testPath)); in assetsPathListing()
62 testPath = "assetsHome.txt"; in assetsPathListing()
[all …]
/external/antlr/antlr-3.4/runtime/Python/
Dsetup.py101 for testPath in glob.glob(os.path.join(testDir, 'test*.py')):
102 testFiles.append(testPath)
105 for testPath in testFiles:
106 testID = os.path.basename(testPath)[:-3]
125 (os.path.basename(testPath), buf.getvalue())
226 for testPath in glob.glob(os.path.join(testDir, test_glob)):
227 if testPath.endswith('Lexer.py') or testPath.endswith('Parser.py'):
233 and not os.path.basename(testPath)[:-3].startswith(self.testcase)):
236 testFiles.append(testPath)
239 for testPath in testFiles:
[all …]
/external/llvm/utils/lit/lit/formats/
Dgoogletest.py68 testPath = path_in_suite + (basename, testname)
69 yield lit.Test.Test(testSuite, testPath, localConfig, file_path=execpath)
94 testPath,testName = os.path.split(test.getSourcePath())
95 while not os.path.exists(testPath):
98 testPath, namePrefix = os.path.split(testPath)
101 cmd = [testPath, '--gtest_filter=' + testName]
/external/icu/icu4c/source/test/cintltst/
Dudatatst.c134 const char* testPath=loadTestData(&status); in TestUDataOpen() local
142 log_verbose("Testing udata_open(%s)\n", testPath); in TestUDataOpen()
143 result=udata_open(testPath, type, name, &status); in TestUDataOpen()
145 …data_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", testPath, name, type, myEr… in TestUDataOpen()
292 result = udata_open( testPath, "typ", "nam", &status); in TestUDataOpen()
294 …log_data_err("FAIL: udata_open( \"%s\", \"typ\", \"nam\") returned status %s\n", testPath, u_error… in TestUDataOpen()
357 strcat(longTestPath, testPath); in TestUDataOpen()
648 const char* testPath="testdata"; in TestUDataOpenChoiceDemo1() local
681 result=udata_openChoice(testPath, type, name[2], isAcceptable1, NULL, &status); in TestUDataOpenChoiceDemo1()
684 result=udata_openChoice(testPath, type, name[2], isAcceptable3, NULL, &status); in TestUDataOpenChoiceDemo1()
[all …]
/external/chromium_org/third_party/icu/source/test/cintltst/
Dudatatst.c134 const char* testPath=loadTestData(&status); in TestUDataOpen() local
142 log_verbose("Testing udata_open(%s)\n", testPath); in TestUDataOpen()
143 result=udata_open(testPath, type, name, &status); in TestUDataOpen()
145 …data_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", testPath, name, type, myEr… in TestUDataOpen()
292 result = udata_open( testPath, "typ", "nam", &status); in TestUDataOpen()
294 …log_data_err("FAIL: udata_open( \"%s\", \"typ\", \"nam\") returned status %s\n", testPath, u_error… in TestUDataOpen()
357 strcat(longTestPath, testPath); in TestUDataOpen()
648 const char* testPath="testdata"; in TestUDataOpenChoiceDemo1() local
681 result=udata_openChoice(testPath, type, name[2], isAcceptable1, NULL, &status); in TestUDataOpenChoiceDemo1()
684 result=udata_openChoice(testPath, type, name[2], isAcceptable3, NULL, &status); in TestUDataOpenChoiceDemo1()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/download/
Ddownload_util_mac_unittest.mm38 base::FilePath testPath;
39 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &testPath));
41 testPath = testPath.Append(testFile);
44 download_util::AddFileToPasteboard(pasteboard(), testPath);
55 NSString* realPath = base::SysUTF8ToNSString(testPath.value());
/external/skia/tools/skpdiff/
DSkDiffContext.cpp68 void SkDiffContext::addDiff(const char* baselinePath, const char* testPath) { in addDiff() argument
76 if (!SkImageDecoder::DecodeFile(testPath, &testBitmap)) { in addDiff()
77 SkDebugf("Failed to load bitmap \"%s\"\n", testPath); in addDiff()
88 SkString testName = SkOSPath::SkBasename(testPath); in addDiff()
92 newRecord->fTestPath = testPath; in addDiff()
141 void setup(SkDiffContext* diffContext, const SkString& baselinePath, const SkString& testPath) { in setup() argument
144 fTestPath = testPath; in setup()
157 void SkDiffContext::diffDirectories(const char baselinePath[], const char testPath[]) { in diffDirectories() argument
174 SkString testFile = SkOSPath::SkPathJoin(testPath, baseFilename); in diffDirectories()
DSkDiffContext.h49 void diffDirectories(const char baselinePath[], const char testPath[]);
63 void addDiff(const char* baselinePath, const char* testPath);
Ddiff_viewer.js37 image.src = scope.record.testPath;
295 rebaselines.push($scope.records[recordIndex].testPath);
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/util/
DBookmarkUtils.java44 public static byte[] getIcon(String testPath) { in getIcon() argument
48 UrlUtils.getTestFileUrl(testPath))).getContent(); in getIcon()
52 Log.e(TAG, "Error trying to get the icon '" + testPath + "': " + e.getMessage()); in getIcon()
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DClientOnPageFinishedTest.java159 final String testPath = "/test.html"; in testOnPageFinishedNotCalledForValidSubresources() local
162 final String testUrl = webServer.setResponse(testPath, testHtml, null); in testOnPageFinishedNotCalledForValidSubresources()
202 final String testPath = "/test.html"; in testOnPageFinishedNotCalledForHistoryApi() local
206 final String testUrl = webServer.setResponse(testPath, testHtml, null); in testOnPageFinishedNotCalledForHistoryApi()
257 final String testPath = "/test.html"; in doTestOnPageFinishedCalledForHrefNavigations() local
258 final String testUrl = webServer.setResponse(testPath, testHtml, null); in doTestOnPageFinishedCalledForHrefNavigations()
/external/chromium_org/third_party/skia/tools/skpdiff/
DSkDiffContext.cpp98 void SkDiffContext::addDiff(const char* baselinePath, const char* testPath) { in addDiff() argument
106 if (!SkImageDecoder::DecodeFile(testPath, &testBitmap)) { in addDiff()
107 SkDebugf("Failed to load bitmap \"%s\"\n", testPath); in addDiff()
118 SkString testName = SkOSPath::Basename(testPath); in addDiff()
128 newRecord->fTestPath = testPath; in addDiff()
216 void setup(SkDiffContext* diffContext, const SkString& baselinePath, const SkString& testPath) { in setup() argument
219 fTestPath = testPath; in setup()
232 void SkDiffContext::diffDirectories(const char baselinePath[], const char testPath[]) { in diffDirectories() argument
249 SkString testFile = SkOSPath::Join(testPath, baseFilename); in diffDirectories()
DSkDiffContext.h86 void diffDirectories(const char baselinePath[], const char testPath[]);
100 void addDiff(const char* baselinePath, const char* testPath);
Ddiff_viewer.js37 image.src = scope.record.testPath;
295 rebaselines.push($scope.records[recordIndex].testPath);
/external/chromium_org/third_party/skia/experimental/Intersection/
DSimplifyAddIntersectingTs_Test.cpp86 static void testPath(const SkPath& path, const SkPoint* pts1, SkPath::Verb c1Type, in testPath() function
124 testPath(path2, pts1, c1Type, pts2, c2Type); in SimplifyAddIntersectingTs_Test()
132 testPath(path2, pts1, c1Type, pts2, c2Type); in SimplifyAddIntersectingTs_Test()
/external/skia/experimental/Intersection/
DSimplifyAddIntersectingTs_Test.cpp86 static void testPath(const SkPath& path, const SkPoint* pts1, SkPath::Verb c1Type, in testPath() function
124 testPath(path2, pts1, c1Type, pts2, c2Type); in SimplifyAddIntersectingTs_Test()
132 testPath(path2, pts1, c1Type, pts2, c2Type); in SimplifyAddIntersectingTs_Test()
/external/chromium_org/third_party/angle/tests/gles_conformance_tests/
Dgles_conformance_tests.cpp61 void RunConformanceTest(const std::string &testPath, const ConformanceConfig& config) in RunConformanceTest() argument
77 …rg = FormatArg("-run=%s/conformance_tests/%s", GetExecutableDirectory().c_str(), testPath.c_str()); in RunConformanceTest()
Dgles_conformance_tests.h24 void RunConformanceTest(const std::string &testPath, const ConformanceConfig& config);
/external/chromium_org/third_party/angle/tests/deqp_tests/
Ddeqp_tests.cpp110 void RunDEQPTest(const std::string &testPath, const DEQPConfig& config) in RunDEQPTest() argument
128 std::vector<char> testNameArg = FormatArg("--deqp-case=%s", testPath.c_str()); in RunDEQPTest()
Ddeqp_tests.h27 void RunDEQPTest(const std::string &testPath, const DEQPConfig& config);
/external/lldb/test/attic/
Dtester.py7 testPath = sys.path[0]
8 rem = re.match("(^.*/)test$", testPath)
/external/skia/tests/
DSurfaceTest.cpp218 SkPath testPath; in TestSurfaceCopyOnWrite() local
219 testPath.addRect(SkRect::MakeXYWH(SkIntToScalar(0), SkIntToScalar(0), in TestSurfaceCopyOnWrite()
276 EXPECT_COPY_ON_WRITE(drawPath(testPath, testPaint)) in TestSurfaceCopyOnWrite()
285 EXPECT_COPY_ON_WRITE(drawTextOnPath(testText.c_str(), testText.size(), testPath, NULL, \ in TestSurfaceCopyOnWrite()
/external/chromium_org/third_party/skia/tests/
DSurfaceTest.cpp239 SkPath testPath; in TestSurfaceCopyOnWrite() local
240 testPath.addRect(SkRect::MakeXYWH(SkIntToScalar(0), SkIntToScalar(0), in TestSurfaceCopyOnWrite()
297 EXPECT_COPY_ON_WRITE(drawPath(testPath, testPaint)) in TestSurfaceCopyOnWrite()
306 EXPECT_COPY_ON_WRITE(drawTextOnPath(testText.c_str(), testText.size(), testPath, NULL, \ in TestSurfaceCopyOnWrite()
/external/deqp/android/scripts/
DGenAndroidCTSXML.py108 testPath = line[len("TEST: "):-1]
109 addTestToHierarchy(rootGroup, testPath)
/external/chromium_org/third_party/icu/source/test/intltest/
Dintltest.cpp538 testPath = NULL; in IntlTest()
578 UBool result = testToBeCalled.runTest( testPath, par, testToBeCalled.basePath ); in callTest()
585 this->testPath = pathVal; in setPath()
663 testPath = pos+1; // store subpath for calling subtest in runTest()
666 testPath = NULL; in runTest()

12