107108109110111112113114115116117
{ super.basedir = new File("."); super.header = "header.txt"; // locate in test/resources } }; mojo.execute(); } @Test public void test_selection() throws Exception {
919293949596979899100101
put("toto", "xml"); } }; } }; mojo.execute(); } @Test(dependsOnMethods = "check_before_add") public void add_header() throws Exception {
147148149150151152153154155156157
put("toto", "xml"); } }; } }; mojo.execute(); } @Test(dependsOnMethods = "check_after_add") public void remove_header() throws Exception {
203204205206207208209210211
put("toto", "xml"); } }; } }; mojo.execute(); } }
6162636465666768697071
put("toto", "xml"); } }; } }; mojo.execute(); } @Test(dependsOnMethods = "test_check_before") public void test_add() throws Exception {
117118119120121122123124125126127
put("toto", "xml"); } }; } }; mojo.execute(); } @Test(dependsOnMethods = "test_check_after", expectedExceptions = MojoFailureException.class) public void test_check_before_update() throws Exception {
145146147148149150151152153154155
put("toto", "xml"); } }; } }; mojo.execute(); } @Test(dependsOnMethods = "test_check_before_update") public void test_update() throws Exception {
201202203204205206207208
5556575859606162636465
} }; } }; mojo.execute(); } @Test(dependsOnMethods = "test_check_before") public void test_add() throws Exception {
99100101102103104105106107108109
} }; } }; mojo.execute(); } @Test(dependsOnMethods = "test_check_after", expectedExceptions = MojoFailureException.class) public void test_check_before_update() throws Exception {