Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing wrong tests for module life cycle - TRUNK-4134
- Loading branch information
Showing
1 changed file
with
0 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,20 +51,6 @@ public void shouldNotCallStoppedOnStartup() throws Exception { | |
assertTrue(moduleTestData.getStoppedCallCount(MODULE3_ID) == 0); | ||
} | ||
|
||
@Test | ||
public void shouldNotCallWillRefreshContextOnStartup() throws Exception { | ||
assertTrue(moduleTestData.getWillRefreshContextCallCount(MODULE1_ID) == 0); | ||
assertTrue(moduleTestData.getWillRefreshContextCallCount(MODULE2_ID) == 0); | ||
assertTrue(moduleTestData.getWillRefreshContextCallCount(MODULE3_ID) == 0); | ||
} | ||
|
||
@Test | ||
public void shouldNotCallContextRefreshedOnStartup() throws Exception { | ||
assertTrue(moduleTestData.getContextRefreshedCallCount(MODULE1_ID) == 0); | ||
assertTrue(moduleTestData.getContextRefreshedCallCount(MODULE2_ID) == 0); | ||
assertTrue(moduleTestData.getContextRefreshedCallCount(MODULE3_ID) == 0); | ||
} | ||
|
||
@Test | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
dkayiwa
Author
Member
|
||
public void shouldStartModulesInOrder() throws Exception { | ||
//module2 depends on module1 while module3 depends on module2 | ||
|
I was suggesting that you change them to do the opposite, i.e check that these methods are called on startup too for started modules