Package au.edu.mq.comp.junitGrading

Examples of au.edu.mq.comp.junitGrading.CollectionOfAssignments.preprocessingSingleFileAssignment()


        {
            //prepare the assignemnt to be graded
            CollectionOfAssignments ca = new CollectionOfAssignments(config.pathToAssignments(), config.outputDirectoryPath());

            if(true == config.isSingleFileAssignment)
                ca.preprocessingSingleFileAssignment(config.targetClassNameToTest);
           
            Log.message("fileNamePattern -->" + config.fileNamePattern());
            ca.setIdentificationTokenizer(new MQiLearnIdentificationTokenizer(config.fileNamePattern()));
           
            // prepare header for CSVFormatter
View Full Code Here


    try
    {
      // construct our data source
      CollectionOfAssignments ca = new CollectionOfAssignments("comp125Classroom.zip", "");
      //preprocessing comp125Classroom.zip into correct directory structure
      ca.preprocessingSingleFileAssignment("comp125.Classroom");
      // this will be used by JavaGrader when construct TestResult
      ca.setIdentificationTokenizer(new MQiLearnIdentificationTokenizer());
      // construct our data processor
      JavaGrader grader = new JavaGrader("comp125.ClassroomTest");
      // add the zip of test source with package structure specified as comp125.ClassroomTest
View Full Code Here

    try
    {
      // construct our data source
      CollectionOfAssignments ca = new CollectionOfAssignments("comp125Classroom.zip", "");
      //preprocessing comp125Classroom.zip into correct directory structure
      ca.preprocessingSingleFileAssignment("comp125.Classroom");
      // this will be used by JavaGrader when construct TestResult
      ca.setIdentificationTokenizer(new MQiLearnIdentificationTokenizer());
      // construct our data processor
      JavaGrader grader = new JavaGrader("comp125.ClassroomTest");
      // add the zip of test source with package structure specified as comp125.ClassroomTest
View Full Code Here

        {
            //prepare the assignemnt to be graded
            CollectionOfAssignments ca = new CollectionOfAssignments(config.pathToAssignments(), config.outputDirectoryPath());

            if(true == config.isSingleFileAssignment)
                ca.preprocessingSingleFileAssignment(config.targetClassNameToTest);
           
            Log.message("fileNamePattern -->" + config.fileNamePattern());
            ca.setIdentificationTokenizer(new MQiLearnIdentificationTokenizer(config.fileNamePattern()));
           
            // prepare header for CSVFormatter
View Full Code Here

        if(true == config.checkAllFiles())
        {
            CollectionOfAssignments ca = new CollectionOfAssignments(config.pathToAssignments(), config.outputDirectoryPath());

            if(true == config.isSingleFileAssignment)
                ca.preprocessingSingleFileAssignment(config.targetClassNameToTest);
           
            ca.setIdentificationTokenizer(new MQiLearnIdentificationTokenizer());
           
            WorkGroup<Assignment, TestResult> workGroup = new WorkGroup<Assignment, TestResult>();
        for(int i = 0; i < config.numberOfWorkers(); i++)
View Full Code Here

        {
            //prepare the assignemnt to be graded
            CollectionOfAssignments ca = new CollectionOfAssignments(config.pathToAssignments(), config.outputDirectoryPath());

            if(true == config.isSingleFileAssignment)
                ca.preprocessingSingleFileAssignment(config.targetClassNameToTest);
           
            System.out.println("fileNamePattern -->" + config.fileNamePattern());
            ca.setIdentificationTokenizer(new MQiLearnIdentificationTokenizer(config.fileNamePattern()));
           
            // prepare header for CSVFormatter
View Full Code Here

        {
            //prepare the assignemnt to be graded
            CollectionOfAssignments ca = new CollectionOfAssignments(config.pathToAssignments(), config.outputDirectoryPath());

            if(true == config.isSingleFileAssignment)
                ca.preprocessingSingleFileAssignment(config.targetClassNameToTest);
           
            System.out.println("fileNamePattern -->" + config.fileNamePattern());
            ca.setIdentificationTokenizer(new MQiLearnIdentificationTokenizer(config.fileNamePattern()));
           
            // prepare header for CSVFormatter
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.