Closed MartinoMensio closed 7 years ago
Setting the update time when a new NFFG is added on the service, makes the tests to fail:
[junit] Testcase: testGetNffgs(it.polito.dp2.NFFG.lab3.tests.NFFGTests_lab1): FAILED
[junit] Wrong update time
[junit] junit.framework.AssertionFailedError: Wrong update time
[junit] at it.polito.dp2.NFFG.lab3.tests.NFFGTests_lab1.compareTime(Unknown Source)
[junit] at it.polito.dp2.NFFG.lab3.tests.NFFGTests_lab1.compareNffgReader(Unknown Source)
[junit] at it.polito.dp2.NFFG.lab3.tests.NFFGTests_lab1.compareNffgSets(Unknown Source)
[junit] at it.polito.dp2.NFFG.lab3.tests.NFFGTests_lab1.testGetNffgs(Unknown Source)
[junit] Test it.polito.dp2.NFFG.lab3.tests.NFFGTests_lab1 FAILED
The failure of the test is due to the use of testcase=2
that should not be used in this assignment
From
Assignment3a.pdf
: