
package org.onebeartoe.modeling.openscad.test.suite.utils;

//import org.testng.annotations.BeforeMethod;
import java.io.IOException;
import org.onebeartoe.modeling.openscad.test.suite.model.GeneratePngBaselineResults;
import org.onebeartoe.modeling.openscad.test.suite.model.RunProfile;
import org.testng.Assert;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;

/**
 * This class test the specification for the OpenScadTestSuiteService specification.
 */
public class OpenScadTestSuiteServiceSpecification
{
    private OpenScadTestSuiteService implementation;

    @BeforeMethod
    public void initializeTest()
    {
        implementation = new OpenScadTestSuiteService();
    }

    
    @Test
    public void generateProposedBaselines() throws IOException, InterruptedException
    {
        RunProfile runProfile = new RunProfile();
        
        GeneratePngBaselineResults results = implementation.generateProposedBaselines(runProfile);
        
        Assert.assertNotNull(results);
    }
}

@@ -58,80 +58,62 @@
 s;%0A%0A
-//
 import 
-org.testng.annotations.BeforeMethod;%0Aimport java.io.IOException
+java.io.IOException;%0Aimport java.util.ArrayList
 ;%0Aim
@@ -326,22 +326,21 @@
 s.Before
-Method
+Class
 ;%0Aimport
@@ -585,14 +585,13 @@
 fore
-Method
+Class
 %0A   
@@ -690,21 +690,16 @@
 %0A    %7D%0A%0A
-    %0A
     @Tes
@@ -842,32 +842,93 @@
 ile();%0A        %0A
+        runProfile.openscadPaths = new ArrayList();%0A        %0A
         Generate

address null pointer exception