()
| 583 | } |
| 584 | |
| 585 | @Test |
| 586 | public void testFindPlayerById() |
| 587 | { |
| 588 | String userName = new String("UserForPlayerIdSearch"); |
| 589 | try |
| 590 | { |
| 591 | if(verifyTestUser(applicationRoot, userName, userName)) |
| 592 | { |
| 593 | String userId = Getter.getUserIdFromName(applicationRoot, userName); |
| 594 | if(Getter.findPlayerById(applicationRoot, userId)) |
| 595 | { |
| 596 | log.debug("PASS: Found user"); |
| 597 | return; |
| 598 | } |
| 599 | else |
| 600 | { |
| 601 | fail("Could Not Find Player in Player Search"); |
| 602 | } |
| 603 | } |
| 604 | else |
| 605 | { |
| 606 | fail("Could not verify user (No Exception Failure)"); |
| 607 | } |
| 608 | } |
| 609 | catch(Exception e) |
| 610 | { |
| 611 | log.fatal("Could not Verify User: " + e.toString()); |
| 612 | fail("Could not Verify User " + userName); |
| 613 | } |
| 614 | } |
| 615 | |
| 616 | |
| 617 | @Test |
nothing calls this directly
no test coverage detected