Methods Summary |
---|
protected void | setUp()
super.setUp();
final VerticalGravity activity = getActivity();
mReference1 = activity.findViewById(R.id.reference1);
mReference2 = activity.findViewById(R.id.reference2);
mReference3 = activity.findViewById(R.id.reference3);
mTop = activity.findViewById(R.id.cell_top);
mCenter = activity.findViewById(R.id.cell_center);
mBottom = activity.findViewById(R.id.cell_bottom);
|
public void | testBottomGravity()
ViewAsserts.assertBottomAligned(mReference3, mBottom);
|
public void | testCenterGravity()
ViewAsserts.assertVerticalCenterAligned(mReference2, mCenter);
|
public void | testSetUpConditions()
assertNotNull(mReference1);
assertNotNull(mReference2);
assertNotNull(mReference3);
assertNotNull(mTop);
assertNotNull(mCenter);
assertNotNull(mBottom);
|
public void | testTopGravity()
ViewAsserts.assertTopAligned(mReference1, mTop);
|