()
| 3112 | |
| 3113 | |
| 3114 | @Test |
| 3115 | public void testFindAdminById() |
| 3116 | { |
| 3117 | String userName = new String("UserForAdminIdSearch"); |
| 3118 | try |
| 3119 | { |
| 3120 | if(verifyTestAdmin(applicationRoot, userName, userName)) |
| 3121 | { |
| 3122 | String userId = Getter.getUserIdFromName(applicationRoot, userName); |
| 3123 | if(Getter.findAdminById(applicationRoot, userId)) |
| 3124 | { |
| 3125 | log.debug("PASS: Found admin user"); |
| 3126 | return; |
| 3127 | } |
| 3128 | else |
| 3129 | { |
| 3130 | fail("Could Not Find Admin in Admin Search"); |
| 3131 | } |
| 3132 | } |
| 3133 | else |
| 3134 | { |
| 3135 | fail("Could not verify admin user (No Exception Failure)"); |
| 3136 | } |
| 3137 | } |
| 3138 | catch(Exception e) |
| 3139 | { |
| 3140 | log.fatal("Could not Verify Admin User: " + e.toString()); |
| 3141 | fail("Could not Verify Admin User " + userName); |
| 3142 | } |
| 3143 | } |
| 3144 | |
| 3145 | @Test |
| 3146 | public void testGetAdmins() |
nothing calls this directly
no test coverage detected