Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aghaisas committed Sep 16, 2024
1 parent 4055676 commit e8ba956
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
public class RT_18933Test {
@Test
public void testDefaultListProperty() throws IOException {
assertThrows(LoadException.class, () -> { FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("rt_18933.fxml"));
assertThrows(LoadException.class, () -> {
FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("rt_18933.fxml"));
fxmlLoader.load();
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
public class RT_19008Test {
@Test
public void testMissingResource() throws IOException {
assertThrows(NullPointerException.class, () -> {FXMLLoader.load(getClass().getResource("rt_19008.fxml"));
assertThrows(NullPointerException.class, () -> {
FXMLLoader.load(getClass().getResource("rt_19008.fxml"));
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
public class RT_19329Test {
@Test
public void testIncludeException() throws IOException {
assertThrows(IOException.class, () -> { FXMLLoader.load(getClass().getResource("rt_19329.fxml")); });
assertThrows(IOException.class, () -> {
FXMLLoader.load(getClass().getResource("rt_19329.fxml"));
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,22 @@ public class RT_25494_Cycle_DetectionTest {

@Test
public void test_dummy_cycle() throws Exception {
assertThrows(IOException.class, () -> {FXMLLoader.load(RT_25494_Cycle_DetectionTest.class.getResource("dummy-cycle.fxml")); });
assertThrows(IOException.class, () -> {
FXMLLoader.load(RT_25494_Cycle_DetectionTest.class.getResource("dummy-cycle.fxml"));
});
}

@Test
public void test_one_2_one_cycle() throws Exception {
assertThrows(IOException.class, () -> {FXMLLoader.load(RT_25494_Cycle_DetectionTest.class.getResource("one-2-one-cycle.fxml")); });
assertThrows(IOException.class, () -> {
FXMLLoader.load(RT_25494_Cycle_DetectionTest.class.getResource("one-2-one-cycle.fxml"));
});
}

@Test
public void test_cycle() throws Exception {
assertThrows(IOException.class, () -> {FXMLLoader.load(RT_25494_Cycle_DetectionTest.class.getResource("cycle.fxml")); });
assertThrows(IOException.class, () -> {
FXMLLoader.load(RT_25494_Cycle_DetectionTest.class.getResource("cycle.fxml"));
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
public class RT_26449Test {
@Test
public void testRootNotSet() throws IOException {
assertThrows(LoadException.class, () -> {FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("rt_26449.fxml"));
fxmlLoader.load(); });
assertThrows(LoadException.class, () -> {
FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("rt_26449.fxml"));
fxmlLoader.load();
});
}
}

0 comments on commit e8ba956

Please sign in to comment.