-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63d724b
commit 31d9690
Showing
1 changed file
with
4 additions
and
4 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 |
---|---|---|
|
@@ -23,17 +23,17 @@ | |
|
||
/** | ||
* Simple test using the WicketTester. | ||
* | ||
* | ||
* @author Erik Verheul <[email protected]> | ||
*/ | ||
public class HomePageTest { | ||
|
||
private static final Logger LOGGER = LoggerFactory.getLogger(HomePageTest.class); | ||
private final static ISPController CONTROLLER = getController(); | ||
private final static ISPController CONTROLLER = getController(); | ||
private final WicketApplication application = new WicketApplication(); | ||
private final WicketTester tester = new WicketTester(application); | ||
private final HomePage homePage = new HomePage(); | ||
|
||
/** | ||
* Setup each test with a new instance of the application and set of data consisting of 4 choices all together from which 3 are selected. | ||
*/ | ||
|
@@ -109,7 +109,7 @@ public void removeHost() { | |
CONTROLLER.getSelected().clear(); | ||
CONTROLLER.getSelected().add(newHost); | ||
System.out.println("These URL's will be removed " + CONTROLLER.getSelected()); | ||
if (!hosts.removeAll(CONTROLLER.getSelected())) { | ||
if (!hosts.removeAll(CONTROLLER.getSelected())) { | ||
System.out.println("The model could not be changed."); | ||
} | ||
//submit form using inner component 'button' as alternate button | ||
|