FileDocCategorySizeDatePackage
FuncTestCase.javaAPI DocAndroid 1.5 API1528Wed May 06 22:41:10 BST 2009com.android.ide.eclipse.tests

FuncTestCase

public class FuncTestCase extends TestCase
Generic superclass for Eclipse Android functional test cases, that provides common facilities

Fields Summary
private String
mOsSdkLocation
Constructors Summary
protected FuncTestCase()
Constructor

throws
IllegalArgumentException if environment variable "sdk_home" is not set

        mOsSdkLocation = System.getProperty("sdk_home");
        if (mOsSdkLocation == null || mOsSdkLocation.length() < 1) {
            throw new IllegalArgumentException(
                    "Environment variable sdk_home is not set");
        }
    
Methods Summary
protected java.lang.StringgetOsSdkLocation()
Returns the absolute file system path of the Android SDK location to use for this test

        return mOsSdkLocation;