Methods Summary |
---|
protected void | setUp()
super.setUp();
final HorizontalGravity activity = getActivity();
mReference = activity.findViewById(R.id.reference);
mCenter = activity.findViewById(R.id.center);
mBottomRight = activity.findViewById(R.id.bottomRight);
mLeft = activity.findViewById(R.id.left);
|
public void | testCenterGravity()
ViewAsserts.assertHorizontalCenterAligned(mReference, mCenter);
|
public void | testLeftGravity()
ViewAsserts.assertLeftAligned(mReference, mLeft);
|
public void | testRightGravity()
ViewAsserts.assertRightAligned(mReference, mBottomRight);
|
public void | testSetUpConditions()
assertNotNull(mReference);
assertNotNull(mCenter);
assertNotNull(mBottomRight);
assertNotNull(mLeft);
|