Package com.google.java.contract

Examples of com.google.java.contract.ContractEnvironment


  private static class G implements I {
  }

  @Override
  protected void setUp() {
    ContractEnvironment env = Cofoja.contractEnv;

    env.disablePreconditions("com.google.java.contract.tests.SelectiveContractsTest$A");
    env.disablePostconditions("com.google.java.contract.tests.SelectiveContractsTest$B");
    env.disableInvariants("com.google.java.contract.tests.SelectiveContractsTest$C");
    env.disablePreconditions("com.google.java.contract.tests.SelectiveContractsTest$D");
    env.disableInvariants("com.google.java.contract.tests.SelectiveContractsTest$E");

    env.ignore("com.google.java.contract.tests.SelectiveContractsTest$F");
    env.ignore("com.google.java.contract.tests.SelectiveContractsTest$G");

    env.disableInvariants("com.google.java.contract.tests.selective.a.*");
    env.disableInvariants("com.google.java.contract.tests.selective.b.*");
    env.enableInvariants("com.google.java.contract.tests.selective.b.y.*");
    env.enableInvariants("com.google.java.contract.tests.selective.a.x.X1");
  }
View Full Code Here

TOP

Related Classes of com.google.java.contract.ContractEnvironment

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.