FileDocCategorySizeDatePackage
FillInWrapTest.javaAPI DocAndroid 5.1 API1694Thu Mar 12 22:22:12 GMT 2015android.widget.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.frameworks.coretests", 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);