Package ai.test.TestProject

Examples of ai.test.TestProject.ProjectFile


    performTest(pf.getCFG("AssignWithModify", "assignOr04"));
  }

  @Test
  public void testAssignAndBitXor() throws CoreException {
    ProjectFile pf = project.openFile("domain.intervals.expressions", "AssignWithModify.java");
    performTest(pf.getCFG("AssignWithModify", "assignXor01"));
    performTest(pf.getCFG("AssignWithModify", "assignXor02"));
    performTest(pf.getCFG("AssignWithModify", "assignXor03"));
    performTest(pf.getCFG("AssignWithModify", "assignXor04"));
  }
View Full Code Here


    performTest(pf.getCFG("AssignWithModify", "assignXor04"));
  }

  @Test
  public void testAssignAndRemainder() throws CoreException {
    ProjectFile pf = project.openFile("domain.intervals.expressions", "AssignWithModify.java");
    performTest(pf.getCFG("AssignWithModify", "assignRemainder01"));
    performTest(pf.getCFG("AssignWithModify", "assignRemainder02"));
    performTest(pf.getCFG("AssignWithModify", "assignRemainder03"));
    performTest(pf.getCFG("AssignWithModify", "assignRemainder04"));
  }
View Full Code Here

    performTest(pf.getCFG("AssignWithModify", "assignRemainder04"));
  }

  @Test
  public void testAssignAndLeftShift() throws CoreException {
    ProjectFile pf = project.openFile("domain.intervals.expressions", "AssignWithModify.java");
    performTest(pf.getCFG("AssignWithModify", "assignLeftShift01"));
    performTest(pf.getCFG("AssignWithModify", "assignLeftShift02"));
    performTest(pf.getCFG("AssignWithModify", "assignLeftShift03"));
    performTest(pf.getCFG("AssignWithModify", "assignLeftShift04"));
  }
View Full Code Here

    performTest(pf.getCFG("AssignWithModify", "assignLeftShift04"));
  }

  @Test
  public void testAssignAndRightShiftSigned() throws CoreException {
    ProjectFile pf = project.openFile("domain.intervals.expressions", "AssignWithModify.java");
    performTest(pf.getCFG("AssignWithModify", "assignRightShiftSigned01"));
    performTest(pf.getCFG("AssignWithModify", "assignRightShiftSigned02"));
    performTest(pf.getCFG("AssignWithModify", "assignRightShiftSigned03"));
    performTest(pf.getCFG("AssignWithModify", "assignRightShiftSigned04"));
  }
View Full Code Here

    performTest(pf.getCFG("AssignWithModify", "assignRightShiftSigned04"));
  }

  @Test
  public void testAssignAndRightShiftUnsigned() throws CoreException {
    ProjectFile pf = project.openFile("domain.intervals.expressions", "AssignWithModify.java");
    performTest(pf.getCFG("AssignWithModify", "assignRightShiftUnsigned01"));
    performTest(pf.getCFG("AssignWithModify", "assignRightShiftUnsigned02"));
    performTest(pf.getCFG("AssignWithModify", "assignRightShiftUnsigned03"));
    performTest(pf.getCFG("AssignWithModify", "assignRightShiftUnsigned04"));
  }
View Full Code Here

@RunWith(JUnit4.class)
public class Various extends TestsBase  {

  @Test
  public void testConstructor() throws CoreException {
    ProjectFile pf = project.openFile("domain.commons", "Various.java");   
    performTest(pf.getCFG("Various", "Various"));
  }
View Full Code Here

    performTest(pf.getCFG("Various", "Various"));
  }
 
  @Test
  public void testArguments() throws CoreException {
    ProjectFile pf = project.openFile("domain.commons", "Various.java");   
    performTest(pf.getCFG("Various", "arguments01"));
    performTest(pf.getCFG("Various", "arguments02"));
    performTest(pf.getCFG("Various", "arguments03"));
    performTest(pf.getCFG("Various", "arguments04"));
  }
View Full Code Here

    performTest(pf.getCFG("Various", "arguments04"));
  }
 
  @Test
  public void testBlockVariables() throws CoreException {
    ProjectFile pf = project.openFile("domain.commons", "Various.java");   
    performTest(pf.getCFG("Various", "blockVariables01"));
    performTest(pf.getCFG("Various", "blockVariables02"));
    performTest(pf.getCFG("Various", "blockVariables03"));
    performTest(pf.getCFG("Various", "blockVariables04"));
    performTest(pf.getCFG("Various", "blockVariables05"));
    performTest(pf.getCFG("Various", "blockVariables06"));
    performTest(pf.getCFG("Various", "blockVariables07"));
    performTest(pf.getCFG("Various", "blockVariables08"));
  }
View Full Code Here

    performTest(pf.getCFG("Various", "blockVariables08"));
  }

  @Test
  public void testTryCatch() throws CoreException {
    ProjectFile pf = project.openFile("domain.commons", "Various.java");   
    performTest(pf.getCFG("Various", "tryCatchFinally01"));
    performTest(pf.getCFG("Various", "tryCatchFinally02"));
    performTest(pf.getCFG("Various", "tryCatchFinally03"));
    performTest(pf.getCFG("Various", "tryCatchFinally04"));
    performTest(pf.getCFG("Various", "tryCatchFinally05"));
    performTest(pf.getCFG("Various", "tryCatchFinally06"));
  }
View Full Code Here

    performTest(pf.getCFG("Various", "tryCatchFinally06"));
  }

  @Test
  public void testSwitch() throws CoreException {
    ProjectFile pf = project.openFile("domain.commons", "BooleanSwitch.java");
   
    performTest(pf.getCFG("BooleanSwitch", "switchVariableDef01"));
   
    performTest(pf.getCFG("BooleanSwitch", "switchEnumExprExecuteOnce01"));
    performTest(pf.getCFG("BooleanSwitch", "switchEnumExprExecuteOnce02"));
    performTest(pf.getCFG("BooleanSwitch", "switchEnumExprExecuteOnce03"));
    performTest(pf.getCFG("BooleanSwitch", "switchEnumExprExecuteOnce04"));
   
    performTest(pf.getCFG("BooleanSwitch", "switchIntExprExecuteOnce01"));
    performTest(pf.getCFG("BooleanSwitch", "switchIntExprExecuteOnce02"));
    performTest(pf.getCFG("BooleanSwitch", "switchIntExprExecuteOnce03"));
    performTest(pf.getCFG("BooleanSwitch", "switchIntExprExecuteOnce04"));

    pf = project.openFile("domain.commons", "IntegerSwitch.java");
    performTest(pf.getCFG("IntegerSwitch", "switchEnumExprExecuteOnce01"));
    performTest(pf.getCFG("IntegerSwitch", "switchEnumExprExecuteOnce02"));
    performTest(pf.getCFG("IntegerSwitch", "switchEnumExprExecuteOnce03"));
    performTest(pf.getCFG("IntegerSwitch", "switchEnumExprExecuteOnce04"));
   
    performTest(pf.getCFG("IntegerSwitch", "switchIntExprExecuteOnce01"));
    performTest(pf.getCFG("IntegerSwitch", "switchIntExprExecuteOnce02"));
    performTest(pf.getCFG("IntegerSwitch", "switchIntExprExecuteOnce03"));
    performTest(pf.getCFG("IntegerSwitch", "switchIntExprExecuteOnce04"));

    performTest(pf.getCFG("IntegerSwitch", "simpleSwitch01"));
    performTest(pf.getCFG("IntegerSwitch", "simpleSwitch02"));
    performTest(pf.getCFG("IntegerSwitch", "simpleSwitch03"));
   
    performTest(pf.getCFG("IntegerSwitch", "switchWithChar01"));
  }
View Full Code Here

TOP

Related Classes of ai.test.TestProject.ProjectFile

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.