File tree Expand file tree Collapse file tree 2 files changed +7
-14
lines changed
main/java/net/itarray/automotion/internal Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 1010import com .webfirmframework .wffweb .tag .html .lists .Ol ;
1111import com .webfirmframework .wffweb .tag .html .metainfo .Head ;
1212import com .webfirmframework .wffweb .tag .htmlwff .NoTag ;
13- import org .apache .maven .plugin .AbstractMojo ;
14- import org .apache .maven .plugin .MojoExecutionException ;
15- import org .apache .maven .plugins .annotations .Mojo ;
1613
1714import java .io .BufferedOutputStream ;
1815import java .io .File ;
2421import static net .itarray .automotion .validation .Constants .TARGET_AUTOMOTION ;
2522import static net .itarray .automotion .validation .Constants .TARGET_AUTOMOTION_HTML ;
2623
27- @ Mojo (name = "automotion" )
28- public class FinalReportBuilder extends AbstractMojo {
24+ public class FinalReportBuilder {
2925
30- @ Override
31- public void execute () throws MojoExecutionException {
26+ public void execute () {
3227 File folder = new File (TARGET_AUTOMOTION_HTML );
3328 File [] listOfFiles = folder .listFiles ();
3429 List <String > files = new ArrayList <>();
Original file line number Diff line number Diff line change 1- import net .itarray .automotion .internal .FinalReportBuilder ;
21import net .itarray .automotion .tools .driver .WebDriverFactory ;
32import net .itarray .automotion .tools .helpers .EnvironmentHelper ;
43import net .itarray .automotion .validation .ResponsiveUIValidator ;
54import net .itarray .automotion .validation .UISnapshot ;
65import net .itarray .automotion .validation .properties .Padding ;
7- import org .apache .maven .plugin .MojoExecutionException ;
86import org .assertj .core .api .SoftAssertions ;
97import org .junit .After ;
108import org .junit .Ignore ;
@@ -151,11 +149,11 @@ public void testThatResponsiveValidatorWorks() {
151149 responsiveUIValidator .generateReport ("Home Page" );
152150 time ("-9-" );
153151
154- try {
155- new FinalReportBuilder ().execute ();
156- } catch (MojoExecutionException e ) {
157- e .printStackTrace ();
158- }
152+ // try {
153+ // new FinalReportBuilder().execute();
154+ // } catch (MojoExecutionException e) {
155+ // e.printStackTrace();
156+ // }
159157 softly .assertAll ();
160158 }
161159
You can’t perform that action at this time.
0 commit comments