Home
last modified time | relevance | path

Searched refs:jarName (Results 1 – 5 of 5) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DIsolatedHostTestTest.java260 private OptionSetter setUpSimpleMockJarTest(String jarName) throws Exception { in setUpSimpleMockJarTest() argument
262 File jar = getJarResource("/" + jarName, mMockTestDir, jarName); in setUpSimpleMockJarTest()
273 final String jarName = "SimpleFailingTest.jar"; in testSimpleFailingTestLifecycle() local
275 setUpSimpleMockJarTest(jarName); in testSimpleFailingTestLifecycle()
294 final String jarName = "SimplePassingTest.jar"; in testSimplePassingTestLifecycle() local
296 setUpSimpleMockJarTest(jarName); in testSimplePassingTestLifecycle()
314 final String jarName = "OnePassingOneFailingTest.jar"; in testIncludeFilterByMethodLifecycle() local
316 setUpSimpleMockJarTest(jarName); in testIncludeFilterByMethodLifecycle()
336 final String jarName = "OnePassingOneFailingTest.jar"; in testIncludeFilterByClassLifecycle() local
338 setUpSimpleMockJarTest(jarName); in testIncludeFilterByClassLifecycle()
[all …]
/tools/tradefederation/core/lite/com/android/tradefed/lite/
DHostUtils.java79 for (String jarName : jarAbsPaths) { in getJUnitClasses()
82 File file = new File(jarName); in getJUnitClasses()
110 .filter(className -> HostUtils.testLoadClass(className, cl, jarName)) in getJUnitClasses()
141 String.format("Something went wrong closing the jarfile: " + jarName)); in getJUnitClasses()
165 public static boolean testLoadClass(String className, URLClassLoader cl, String jarName) in testLoadClass() argument
182 className, jarName, ucve.toString())); in testLoadClass()
200 String.format("Tried to load %s from jar %s , but failed", className, jarName), in testLoadClass()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DIsolatedHostTest.java854 private File getJarFile(String jarName, IBuildInfo buildInfo) throws FileNotFoundException { in getJarFile() argument
857 File jarFile = searchJarFile(testDir, jarName); in getJarFile()
865 searchJarFile(new File(buildInfo.getBuildAttributes().get(ROOT_DIR)), jarName); in getJarFile()
870 throw new FileNotFoundException(String.format("Could not find jar: %s", jarName)); in getJarFile()
880 protected File getJarFile(String jarName, TestInformation testInfo) in getJarFile() argument
882 return testInfo.getDependencyFile(jarName, /* target first*/ false); in getJarFile()
886 private File searchJarFile(File baseSearchFile, String jarName) { in searchJarFile() argument
888 File jarFile = FileUtil.findFile(baseSearchFile, jarName); in searchJarFile()
DHostTest.java1013 for (String jarName : mJars) { in getClasses()
1016 File file = getJarFile(jarName, mTestInfo); in getClasses()
1056 className, jarName, StreamUtil.getStackTrace(ucve))); in getClasses()
1399 protected File getJarFile(String jarName, TestInformation testInfo) in getJarFile() argument
1401 return testInfo.getDependencyFile(jarName, /* target first*/ false); in getJarFile()
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DConfigurationFactoryTest.java122 String jarName = configAndJar.get(configName); in testLoadAllConfigs() local
124 if (JAR_TO_CHECK.contains(jarName)) { in testLoadAllConfigs()
136 configName, jarName, o.mClassName, contribJar)); in testLoadAllConfigs()