Package ai.test.TestProject

Examples of ai.test.TestProject.ProjectFile


    performTest(pf.getCFG("MethodInvocation", "booleanMethodInvocationSuper03"));   
  }

  @Test
  public void testOperatorPrecedence() throws CoreException {
    ProjectFile pf = project.openFile("domain.booleans.expressions", "OperatorPrecedence.java");
    performTest(pf.getCFG("OperatorPrecedence", "notBeforeAnd01"));
    performTest(pf.getCFG("OperatorPrecedence", "notBeforeOr01"));
  }
View Full Code Here


    performTest(pf.getCFG("OperatorPrecedence", "notBeforeOr01"));
  }

  @Test
  public void testPrefixNot() throws CoreException {
    ProjectFile pf = project.openFile("domain.booleans.expressions", "PrefixExpressions.java");
    performTest(pf.getCFG("PrefixExpressions", "prefixNot01"));
    performTest(pf.getCFG("PrefixExpressions", "prefixNot02"));
    performTest(pf.getCFG("PrefixExpressions", "prefixNot03"));
  }
View Full Code Here

    performTest(pf.getCFG("PrefixExpressions", "prefixNot03"));
  }

  @Test
  public void testAssignAnd() throws CoreException {
    ProjectFile pf = project.openFile("domain.booleans.expressions", "AssignWithModify.java");
    performTest(pf.getCFG("AssignWithModify", "assignAnd01"));
    performTest(pf.getCFG("AssignWithModify", "assignAnd02"));
    performTest(pf.getCFG("AssignWithModify", "assignAnd03"));
    performTest(pf.getCFG("AssignWithModify", "assignAnd04"));
  }
View Full Code Here

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

  @Test
  public void testAssignOr() throws CoreException {
    ProjectFile pf = project.openFile("domain.booleans.expressions", "AssignWithModify.java");
    performTest(pf.getCFG("AssignWithModify", "assignOr01"));
    performTest(pf.getCFG("AssignWithModify", "assignOr02"));
    performTest(pf.getCFG("AssignWithModify", "assignOr03"));
    performTest(pf.getCFG("AssignWithModify", "assignOr04"));
  }
View Full Code Here

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

  @Test
  public void testAssignXor() throws CoreException {
    ProjectFile pf = project.openFile("domain.booleans.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

@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

    testIntervals(cfg);
  }

  @Test
  public void testVariableDeclaration() throws CoreException {
    ProjectFile pf = project.openFile("domain.intervals", "Boxing.java");
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration01"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration02"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration03"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration04"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration05"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration06"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration07"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration08"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration09"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration10"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration11"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration12"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration13"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration14"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration15"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration16"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration17"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration18"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration19"));
    performTest(pf.getCFG("Boxing", "unboxingVariableDeclaration20"));
  }
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

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.