Methods Summary |
---|
protected void | setUp()
super.setUp();
final FixedWidth activity = getActivity();
mFixedWidth = activity.findViewById(R.id.fixed_width);
mNonFixedWidth = activity.findViewById(R.id.non_fixed_width);
mFixedHeight = activity.findViewById(R.id.fixed_height);
|
public void | testFixedHeight()
assertEquals(48, mFixedHeight.getHeight());
|
public void | testFixedWidth()
assertEquals(150, mFixedWidth.getWidth());
assertEquals(mFixedWidth.getWidth(), mNonFixedWidth.getWidth());
|
public void | testSetUpConditions()
assertNotNull(mFixedWidth);
assertNotNull(mFixedHeight);
assertNotNull(mNonFixedWidth);
|