Package ai.test.TestProject

Examples of ai.test.TestProject.ProjectFile


    performTest(pf.getCFG("InfixExpressions", "sum05"));
  }

  @Test
  public void testInfixMultiply() throws CoreException {
    ProjectFile pf = project.openFile("domain.intervals.expressions", "InfixExpressions.java");
    performTest(pf.getCFG("InfixExpressions", "multiply01"));
    performTest(pf.getCFG("InfixExpressions", "multiply02"));
    performTest(pf.getCFG("InfixExpressions", "multiply03"));
    performTest(pf.getCFG("InfixExpressions", "multiply04"));
    performTest(pf.getCFG("InfixExpressions", "multiply05"));
  }
View Full Code Here


    performTest(pf.getCFG("InfixExpressions", "multiply05"));
  }

  @Test
  public void testInfixMinus() throws CoreException {
    ProjectFile pf = project.openFile("domain.intervals.expressions", "InfixExpressions.java");
    performTest(pf.getCFG("InfixExpressions", "minus01"));
    performTest(pf.getCFG("InfixExpressions", "minus02"));
    performTest(pf.getCFG("InfixExpressions", "minus03"));
    performTest(pf.getCFG("InfixExpressions", "minus04"));
    performTest(pf.getCFG("InfixExpressions", "minus05"));
  }
View Full Code Here

    performTest(pf.getCFG("InfixExpressions", "minus05"));
  }

  @Test
  public void testInfixDivide() throws CoreException {
    ProjectFile pf = project.openFile("domain.intervals.expressions", "InfixExpressions.java");
    performTest(pf.getCFG("InfixExpressions", "divide01"));
    performTest(pf.getCFG("InfixExpressions", "divide02"));
    performTest(pf.getCFG("InfixExpressions", "divide03"));
    performTest(pf.getCFG("InfixExpressions", "divide04"));
    performTest(pf.getCFG("InfixExpressions", "divide05"));
  }
View Full Code Here

    performTest(pf.getCFG("InfixExpressions", "divide05"));
  }

  @Test
  public void testInfixRemainder() throws CoreException {
    ProjectFile pf = project.openFile("domain.intervals.expressions", "InfixExpressions.java");
    performTest(pf.getCFG("InfixExpressions", "remainder01"));
  }
View Full Code Here

    performTest(pf.getCFG("InfixExpressions", "remainder01"));
  }

  @Test
  public void testInfixLeftShift() throws CoreException {
    ProjectFile pf = project.openFile("domain.intervals.expressions", "InfixExpressions.java");
    performTest(pf.getCFG("InfixExpressions", "lhs01"));
    performTest(pf.getCFG("InfixExpressions", "lhs02"));
  }
View Full Code Here

    performTest(pf.getCFG("InfixExpressions", "lhs02"));
  }

  @Test
  public void testInfixRightShift() throws CoreException {
    ProjectFile pf = project.openFile("domain.intervals.expressions", "InfixExpressions.java");
    performTest(pf.getCFG("InfixExpressions", "rhs01"));
    performTest(pf.getCFG("InfixExpressions", "rhs02"));
  }
View Full Code Here

    performTest(pf.getCFG("InfixExpressions", "rhs02"));
  }

  @Test
  public void testInfixRightShiftUnsigned() throws CoreException {
    ProjectFile pf = project.openFile("domain.intervals.expressions", "InfixExpressions.java");
    performTest(pf.getCFG("InfixExpressions", "rhsu01"));
    performTest(pf.getCFG("InfixExpressions", "rhsu02"));
  }
View Full Code Here

    performTest(pf.getCFG("InfixExpressions", "rhsu02"));
  }

  @Test
  public void testPrefixPostfixUpdates() throws CoreException {
    ProjectFile pf = project.openFile("domain.intervals.expressions", "PrefixPostfixUpdates.java");
    performTest(pf.getCFG("PrefixPostfixUpdates", "arithmeticOperations01"));
    performTest(pf.getCFG("PrefixPostfixUpdates", "arithmeticOperations02"));
    performTest(pf.getCFG("PrefixPostfixUpdates", "arithmeticOperations03"));
    performTest(pf.getCFG("PrefixPostfixUpdates", "arithmeticOperations04"));
    performTest(pf.getCFG("PrefixPostfixUpdates", "arithmeticOperations05"));
    performTest(pf.getCFG("PrefixPostfixUpdates", "arithmeticOperations06"));
    performTest(pf.getCFG("PrefixPostfixUpdates", "arithmeticOperations07"));
    performTest(pf.getCFG("PrefixPostfixUpdates", "arithmeticOperations08"));
    performTest(pf.getCFG("PrefixPostfixUpdates", "arithmeticOperations09"));
    performTest(pf.getCFG("PrefixPostfixUpdates", "arithmeticOperations10"));
  }
View Full Code Here

    performTest(pf.getCFG("PrefixPostfixUpdates", "arithmeticOperations10"));
  }

  @Test
  public void testOperatorPrecedence() throws CoreException {
    ProjectFile pf = project.openFile("domain.intervals.expressions", "OperatorPrecedence.java");
    performTest(pf.getCFG("OperatorPrecedence", "mulBeforeSum01"));
    performTest(pf.getCFG("OperatorPrecedence", "mulBeforeSum02"));
    performTest(pf.getCFG("OperatorPrecedence", "mulBeforeSum03"));
    performTest(pf.getCFG("OperatorPrecedence", "mulBeforeMinus01"));
    performTest(pf.getCFG("OperatorPrecedence", "mulBeforeMinus02"));
    performTest(pf.getCFG("OperatorPrecedence", "mulBeforeMinus03"));
    performTest(pf.getCFG("OperatorPrecedence", "plusMinus01"));
    performTest(pf.getCFG("OperatorPrecedence", "plusMinus02"));
  }
View Full Code Here

    performTest(pf.getCFG("OperatorPrecedence", "plusMinus02"));
  }
 
  @Test
  public void testAssignments() throws CoreException {
    ProjectFile pf = project.openFile("domain.expressions", "Assignments.java");
    performTest(pf.getCFG("Assignments", "assignment01"));
    performTest(pf.getCFG("Assignments", "assignment02"));
    performTest(pf.getCFG("Assignments", "assignment03"));
    performTest(pf.getCFG("Assignments", "assignment04"));
    performTest(pf.getCFG("Assignments", "assignment05"));
    performTest(pf.getCFG("Assignments", "assignment06"));
  }
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.