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

LinearLayoutEditTextsTest

public class LinearLayoutEditTextsTest extends android.test.ActivityInstrumentationTestCase

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

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

        super.setUp();

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

        final int childHeight = mChild.getHeight();
        final int containerHeight = mContainer.getHeight();

        assertEquals(containerHeight, childHeight);
    
public voidtestPreconditions()

        assertNotNull(mChild);
        assertNotNull(mContainer);