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

FillInWrapTest

public class FillInWrapTest extends android.test.ActivityInstrumentationTestCase

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

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

        super.setUp();

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

        assertTrue("the child's height should be less than the parent's",
                mChild.getMeasuredHeight() < mContainer.getMeasuredHeight());
    
public voidtestPreconditions()

        assertNotNull(mChild);
        assertNotNull(mContainer);