An error occurred while fetching the assigned milestone of the selected merge_request.
Routing v4: Rescue Mode
2 open threads
2 open threads
Based on !119 (merged), merge that first.
Edited by Ghost User
Merge request reports
Activity
SonarQube analysis reported 1 issue
-
🔽 1 minor
-
SonarQube analysis reported 2 issues
-
🔽 1 minor -
ℹ 1 info
-
SonarQube analysis reported 1 issue
-
🔽 1 minor
-
SonarQube analysis reported 1 issue
-
🔽 1 minor
-
SonarQube analysis reported 1 issue
-
🔽 1 minor
-
SonarQube analysis reported 1 issue
-
🔽 1 minor
-
SonarQube analysis reported 1 issue
-
🔽 1 minor
-
SonarQube analysis reported 1 issue
-
🔽 1 minor
-
added 28 commits
-
c36eae51...5e5fdd76 - 27 commits from branch
master
- 0ec883a5 - Merge remote-tracking branch 'remotes/origin/master' into feature-#445-implement-rescue-mode
-
c36eae51...5e5fdd76 - 27 commits from branch
added Needs Review and removed Blocked labels
assigned to @nilsweid
- Resolved by Nils Weidmann
559 this.clock.setTime(TIME_IN_DISTANT_FUTURE); 560 this.hostAttachedToApp.setLocation(new Coord(1, 1)); 561 DisasterData[] usefulData = new DisasterData[ITEMS_PER_MESSAGE]; 562 DisasterData[] uselessData = new DisasterData[ITEMS_PER_MESSAGE]; 563 for (int i = 0; i < ITEMS_PER_MESSAGE; i++) { 564 usefulData[i] = 565 DatabaseApplicationTest.createUsefulData(DisasterData.DataType.SKILL, this.hostAttachedToApp); 566 uselessData[i] = new DisasterData(DisasterData.DataType.RESOURCE, 0, SimClock.getTime(), new Coord(0, 0)); 567 DisasterDataNotifier.dataCreated(this.hostAttachedToApp, usefulData[i]); 568 DisasterDataNotifier.dataCreated(this.hostAttachedToApp, uselessData[i]); 569 } 570 571 // Create messages. 572 List<DataMessage> messages = floodingApp.wrapRecentUsefulDataIntoMessages(this.hostAttachedToApp, 1); 573 TestCase.assertEquals(UNEXPECTED_NUMBER_DATA_MESSAGES, TWO_DATA_MESSAGES, messages.size()); 574 TestCase.assertTrue("Expected all useful data in one message.", - Resolved by Nils Weidmann
125 } 126 127 public void testConstructorThrowsForPowerThresholdAbove1() { 128 try { 129 this.ts.setNameSpace(DisasterRouter.DISASTER_ROUTER_NS); 130 this.ts.putSetting(DisasterRouter.POWER_THRESHOLD, Double.toString(VALUE_ABOVE_ONE)); 131 this.ts.restoreNameSpace(); 132 133 new DisasterRouter(this.ts); 134 fail(); 135 } catch (SettingsError e) { 136 Assert.assertEquals("Expected different error.", 137 "Power threshold should be in [0, 1], but is " + VALUE_ABOVE_ONE + "!", e.getMessage()); 138 } 139 } 140 - Resolved by Nils Weidmann
added Needs Changes Needs information from dev and removed Needs Review labels
added 2 commits
added Needs Review and removed Needs Changes Needs information from dev labels
mentioned in commit cdab6cf2
Please register or sign in to reply