()
| 3092 | } |
| 3093 | |
| 3094 | @Test |
| 3095 | public void testIsModuleOpen() |
| 3096 | { |
| 3097 | String csrfChallengeTwo = new String("94cd2de560d89ef59fc450ecc647ff4d4a55c15d"); //CSRF Challenge 2 (Should have CSRF Counter of 0 for new user |
| 3098 | //Open all Modules First so that the Module Can Be Opened |
| 3099 | if(Setter.openAllModules(applicationRoot)) |
| 3100 | { |
| 3101 | if(!Getter.isModuleOpen(applicationRoot, csrfChallengeTwo)) |
| 3102 | fail("isModuleOpen returned False when the module should have been open"); |
| 3103 | Setter.closeAllModules(applicationRoot); |
| 3104 | if(Getter.isModuleOpen(applicationRoot, csrfChallengeTwo)) |
| 3105 | fail("isModuleOpen returned True when the module should have been closed"); |
| 3106 | } |
| 3107 | else |
| 3108 | { |
| 3109 | fail("Could not mark All Modules as Opened"); |
| 3110 | } |
| 3111 | } |
| 3112 | |
| 3113 | |
| 3114 | @Test |
nothing calls this directly
no test coverage detected