TestLoader

public class TestLoader
extends Object

java.lang.Object
   ↳ com.android.tradefed.util.TestLoader


A class for loading all JUnit3 tests in a jar file

Summary

Public constructors

TestLoader()

Public methods

Test loadTests(File testJarFile, Collection<File> dependentJars)

Creates a Test containing all the TestCase found in given jar

Public constructors

TestLoader

TestLoader ()

Public methods

loadTests

Test loadTests (File testJarFile, 
                Collection<File> dependentJars)

Creates a Test containing all the TestCase found in given jar

Parameters
testJarFile File: the jar file to load tests from

dependentJars Collection: the additional jar files which classes in testJarFile depend on

Returns
Test the Test containing all tests