public class

TestLoader

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

Class Overview

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
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TestLoader ()

Public Methods

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

Creates a Test containing all the TestCase found in given jar

Parameters
testJarFile the jar file to load tests from
dependentJars the additional jar files which classes in testJarFile depend on
Returns
  • the Test containing all tests