119120121122123124125126127128129
} }; } }; mojo.execute(); } @Test(expectedExceptions = MojoFailureException.class) public void test_execution_url_classpath() throws Exception { LicenseCheckMojo mojo = new LicenseCheckMojo() {
137138139140141142143144145146147
} }; } }; mojo.execute(); } @Test public void test_selection() throws Exception { Selection sel = Selection.newSelection(new File("."), null, null, true);
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
put("toto", "xml"); } }; } }; mojo.execute(); } }