4445464748495051525354
} }; } }; mojo.execute(); } @Test public void test_execution_quiet() throws Exception { LicenseCheckMojo mojo = new LicenseCheckMojo() {
6465666768697071727374
} }; } }; mojo.execute(); } @Test public void test_execution_no_mapping() throws Exception { LicenseCheckMojo mojo = new LicenseCheckMojo() {
8384858687888990919293
} }; } }; mojo.execute(); } @Test(expectedExceptions = MojoExecutionException.class) public void test_execution_bad_header() throws Exception { LicenseCheckMojo mojo = new LicenseCheckMojo() {
101102103104105106107108109110111
} }; } }; mojo.execute(); } @Test(expectedExceptions = MojoFailureException.class) public void test_execution_url_file_system() throws Exception { LicenseCheckMojo mojo = new LicenseCheckMojo() {
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);