FileDocCategorySizeDatePackage
AndroidJUnitLaunchInfo.javaAPI DocAndroid 1.5 API3433Wed May 06 22:41:10 BST 2009com.android.ide.eclipse.adt.launch.junit.runtime

AndroidJUnitLaunchInfo

public class AndroidJUnitLaunchInfo extends Object
Contains info about Android JUnit launch

Fields Summary
private final org.eclipse.core.resources.IProject
mProject
private final String
mAppPackage
private final String
mRunner
private boolean
mDebugMode
private com.android.ddmlib.IDevice
mDevice
private String
mTestPackage
private String
mTestClass
private String
mTestMethod
private org.eclipse.debug.core.ILaunch
mLaunch
Constructors Summary
public AndroidJUnitLaunchInfo(org.eclipse.core.resources.IProject project, String appPackage, String runner)


           
        mProject = project;
        mAppPackage = appPackage;
        mRunner = runner;
    
Methods Summary
public java.lang.StringgetAppPackage()

        return mAppPackage;
    
public com.android.ddmlib.IDevicegetDevice()

        return mDevice;
    
public org.eclipse.debug.core.ILaunchgetLaunch()

        return mLaunch;
    
public org.eclipse.core.resources.IProjectgetProject()

        return mProject;
    
public java.lang.StringgetRunner()

        return mRunner;
    
public java.lang.StringgetTestClass()
Returns the test class to run.

return
fully qualfied test class to run. null if not specified.

        return mTestClass;
    
public java.lang.StringgetTestMethod()
Returns the test method to run.

return
test method to run. null if not specified.

        return mTestMethod;
    
public java.lang.StringgetTestPackage()
Return the package of tests to run.

return
fully qualified java package. null if not specified.

        return mTestPackage;       
    
public booleanisDebugMode()

        return mDebugMode;
    
public voidsetDebugMode(boolean debugMode)

        mDebugMode = debugMode;
    
public voidsetDevice(com.android.ddmlib.IDevice device)

        mDevice = device;
    
public voidsetLaunch(org.eclipse.debug.core.ILaunch launch)

        mLaunch = launch;
    
public voidsetTestClass(java.lang.String testClass)
Sets the test class to run.

param
testClass fully qualfied test class to run Expected format: x.y.x.testclass

        mTestClass = testClass;
    
public voidsetTestMethod(java.lang.String testMethod)
Sets the test method to run. testClass must also be set.

param
testMethod test method to run

        mTestMethod = testMethod;
    
public voidsetTestPackage(java.lang.String testPackage)
Specify to run all tests within given package.

param
testPackage fully qualified java package

        mTestPackage = testPackage;