Package net.sf.parteg.base.testcasegraph.testgeneration

Examples of net.sf.parteg.base.testcasegraph.testgeneration.TestCaseGenerator


    } catch (CoreException e) {
      e.printStackTrace();
    }
   
    //create abstract test cases
    TestCaseGenerator oTCGGenerator = new TestCaseGenerator(
        oSmTCGHelper, project, amplModel, Configuration.getSolverName(), allVariables);
    oTCGGenerator.createTestCases();
   
    ArrayList<Witness> testSuite = oTCGGenerator.getGeneratedTestSuite();

    //TODO: generate JUnit test until all test goal satisfied or all finish test cases
    //Collections.sort(testSuite, Witness.Comparators.pathSize); 
   
    //create executable test suite
View Full Code Here


        }
        //
       
        if(Configuration.getUsedStrategy().compareTo("Abstract Interpretation Based Strategy") == 0){ //ParTeG
          // create test suite
          TestCaseGenerator oTCGGenerator = new TestCaseGenerator(
              oTCGHelper);
          oTCGGenerator.createTestCases();
         
          // print test suite according to the selected output format
          TestCaseExporter oTestCaseExporter = new TestCaseExporter(
              oTCGHelper);
          oTestCaseExporter.print(oTCGGenerator.getTestSuite());
 
          // print log file
          net.sf.parteg.core.output.Logger oLogger = oTCGHelper.getLogger();
          LoggerHelperClass.logTestGoalSatisfactionComplete(oLogger,
              oTCGHelper);
View Full Code Here

TOP

Related Classes of net.sf.parteg.base.testcasegraph.testgeneration.TestCaseGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.