@@ -11,20 +11,20 @@ public class HtmlBasicFileReporterConfigurationTest extends Base {
1111
1212 @ Test
1313 public void htmlReporterHasInitialConfig (Method method ) {
14- ExtentHtmlReporter html = new ExtentHtmlReporter (method .getName () + ".html" );
14+ ExtentSparkReporter html = new ExtentSparkReporter (method .getName () + ".html" );
1515 Assert .assertFalse (html .getConfigurationStore ().isEmpty ());
1616 }
1717
1818 @ Test
1919 public void testHtmlReporterUserConfigInitialCSSNull (Method method ) {
20- ExtentHtmlReporter html = new ExtentHtmlReporter (method .getName () + ".html" );
20+ ExtentSparkReporter html = new ExtentSparkReporter (method .getName () + ".html" );
2121 String v = (String ) html .getConfigurationStore ().getConfig ("css" );
2222 Assert .assertNull (v );
2323 }
2424
2525 @ Test
2626 public void testHtmlReporterUserConfigCSSHasValue (Method method ) {
27- ExtentHtmlReporter html = new ExtentHtmlReporter (method .getName () + ".html" );
27+ ExtentSparkReporter html = new ExtentSparkReporter (method .getName () + ".html" );
2828 String css = ".dark{background:black;}" ;
2929 html .config ().setCSS (css );
3030 String v = (String ) html .getConfigurationStore ().getConfig ("css" );
@@ -33,7 +33,7 @@ public void testHtmlReporterUserConfigCSSHasValue(Method method) {
3333
3434 @ Test
3535 public void testHtmlReporterUserConfigCSSValue (Method method ) {
36- ExtentHtmlReporter html = new ExtentHtmlReporter (method .getName () + ".html" );
36+ ExtentSparkReporter html = new ExtentSparkReporter (method .getName () + ".html" );
3737 String css = ".dark{background:black;}" ;
3838 html .config ().setCSS (css );
3939 String v = (String ) html .getConfigurationStore ().getConfig ("css" );
@@ -42,22 +42,22 @@ public void testHtmlReporterUserConfigCSSValue(Method method) {
4242
4343 @ Test
4444 public void testHtmlReporterUserConfigInitialJSNull (Method method ) {
45- ExtentHtmlReporter html = new ExtentHtmlReporter (method .getName () + ".html" );
45+ ExtentSparkReporter html = new ExtentSparkReporter (method .getName () + ".html" );
4646 String v = (String ) html .getConfigurationStore ().getConfig ("js" );
4747 Assert .assertNull (v );
4848 }
4949
5050 @ Test
5151 public void testHtmlReporterUserConfigJSHasValue (Method method ) {
52- ExtentHtmlReporter html = new ExtentHtmlReporter (method .getName () + ".html" );
52+ ExtentSparkReporter html = new ExtentSparkReporter (method .getName () + ".html" );
5353 html .config ().setJS ("alert('');" );
5454 String v = (String ) html .getConfigurationStore ().getConfig ("js" );
5555 Assert .assertFalse (v .isEmpty ());
5656 }
5757
5858 @ Test
5959 public void testHtmlReporterUserConfigJSValue (Method method ) {
60- ExtentHtmlReporter html = new ExtentHtmlReporter (method .getName () + ".html" );
60+ ExtentSparkReporter html = new ExtentSparkReporter (method .getName () + ".html" );
6161 String js = "alert('');" ;
6262 html .config ().setJS (js );
6363 String v = (String ) html .getConfigurationStore ().getConfig ("js" );
@@ -66,20 +66,20 @@ public void testHtmlReporterUserConfigJSValue(Method method) {
6666
6767 @ Test
6868 public void documentTitleInitialValueTest (Method method ) {
69- ExtentHtmlReporter html = new ExtentHtmlReporter (method .getName () + ".html" );
69+ ExtentSparkReporter html = new ExtentSparkReporter (method .getName () + ".html" );
7070 Assert .assertFalse (html .getConfigurationStore ().getConfig ("documentTitle" ).toString ().isEmpty ());
7171 }
7272
7373 @ Test
7474 public void documentTitleInitialUserValueTest (Method method ) {
75- ExtentHtmlReporter html = new ExtentHtmlReporter (method .getName () + ".html" );
75+ ExtentSparkReporter html = new ExtentSparkReporter (method .getName () + ".html" );
7676 String v = (String ) html .getConfigurationStore ().getConfig ("documentTitle" );
7777 Assert .assertNotNull (v );
7878 }
7979
8080 @ Test
8181 public void documentTitleUserValueTest (Method method ) {
82- ExtentHtmlReporter html = new ExtentHtmlReporter (method .getName () + ".html" );
82+ ExtentSparkReporter html = new ExtentSparkReporter (method .getName () + ".html" );
8383 String docTitle = "test" ;
8484 html .config ().setDocumentTitle (docTitle );
8585 String v = (String ) html .getConfigurationStore ().getConfig ("documentTitle" );
@@ -88,20 +88,20 @@ public void documentTitleUserValueTest(Method method) {
8888
8989 @ Test
9090 public void encodingInitialValueTest (Method method ) {
91- ExtentHtmlReporter html = new ExtentHtmlReporter (method .getName () + ".html" );
91+ ExtentSparkReporter html = new ExtentSparkReporter (method .getName () + ".html" );
9292 Assert .assertTrue (html .getConfigurationStore ().getConfig ("encoding" ).toString ().equalsIgnoreCase ("utf-8" ));
9393 }
9494
9595 @ Test
9696 public void encodingInitialUserValueTest (Method method ) {
97- ExtentHtmlReporter html = new ExtentHtmlReporter (method .getName () + ".html" );
97+ ExtentSparkReporter html = new ExtentSparkReporter (method .getName () + ".html" );
9898 String v = (String ) html .getConfigurationStore ().getConfig ("encoding" );
9999 Assert .assertNotNull (v );
100100 }
101101
102102 @ Test
103103 public void encodingUserValueTest (Method method ) {
104- ExtentHtmlReporter html = new ExtentHtmlReporter (method .getName () + ".html" );
104+ ExtentSparkReporter html = new ExtentSparkReporter (method .getName () + ".html" );
105105 String encoding = "utf-16" ;
106106 html .config ().setEncoding (encoding );
107107 String v = (String ) html .getConfigurationStore ().getConfig ("encoding" );
0 commit comments