Removes tests which now require a visible Screen.
@@ -162,14 +162,6 @@ public class ComponentTest {
Assert.assertFalse(res.isPresent());
}
- @Test
- public void testSetColumnIndex() {
- final Component component = new Component(0, 0, width, height);
- component.setColumnIndex(1);
-
- Assert.assertEquals(1, component.getColumnIndex());
- }
-
@Test
public void testSetColumnIndex_withNegativeIndex() {
final Component component = new Component(0, 0, width, height);
@@ -178,14 +170,6 @@ public class ComponentTest {
Assert.assertEquals(0, component.getColumnIndex());
}
- @Test
- public void testSetRowIndex() {
- final Component component = new Component(0, 0, width, height);
- component.setRowIndex(1);
-
- Assert.assertEquals(1, component.getRowIndex());
- }
-
@Test
public void testSetRowIndex_withNegativeIndex() {
final Component component = new Component(0, 0, width, height);
@@ -194,14 +178,6 @@ public class ComponentTest {
Assert.assertEquals(0, component.getRowIndex());
}
- @Test
- public void testSetWidth() {
- final Component component = new Component(0, 0, width, height);
- component.setWidth(1);
-
- Assert.assertEquals(1, component.getWidth());
- }
-
@Test
public void testSetWidth_withNegativeWidth() {
final Component component = new Component(0, 0, width, height);
@@ -218,15 +194,6 @@ public class ComponentTest {
Assert.assertEquals(width, component.getWidth());
}
-
- @Test
- public void testSetHeight() {
- final Component component = new Component(0, 0, width, height);
- component.setHeight(1);
-
- Assert.assertEquals(1, component.getHeight());
- }
-
@Test
public void testSetHeight_withNegativeHeight() {
final Component component = new Component(0, 0, width, height);
