FileDocCategorySizeDatePackage
WeightTest.javaAPI DocAndroid 1.5 API1673Wed May 06 22:42:02 BST 2009com.android.frameworktest.layout.linear

WeightTest

public class WeightTest extends android.test.ActivityInstrumentationTestCase

Fields Summary
private android.view.View
mChild
private android.view.View
mContainer
Constructors Summary
public WeightTest()

        super("com.android.frameworktest", Weight.class);
    
Methods Summary
protected voidsetUp()

        super.setUp();

        final Activity activity = getActivity();
        mChild = activity.findViewById(R.id.child4);
        mContainer = activity.findViewById(R.id.layout);
    
public voidtestLayout()

        ViewAsserts.assertRightAligned(mChild, mContainer);
    
public voidtestPreconditions()

        assertNotNull(mChild);
        assertNotNull(mContainer);