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