Package org.rascalmpl.interpreter.env

Examples of org.rascalmpl.interpreter.env.ModuleEnvironment


    this.eval = eval;
    this.testResultListener = testResultListener;
  }

  public void test(String moduleName) {
    ModuleEnvironment topModule = eval.getHeap().getModule(moduleName);

    if (topModule != null) {
      runTests(topModule, topModule.getTests());
    }
  }
View Full Code Here


      runTests(topModule, topModule.getTests());
    }
  }

  public void test() {
    ModuleEnvironment topModule = (ModuleEnvironment) eval.getCurrentEnvt().getRoot();

    runTests(topModule, topModule.getTests());

    for (String i : topModule.getImports()) {
      ModuleEnvironment mod = topModule.getImport(i);
     
      if (mod != null) {
        runTests(mod, mod.getTests());
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.rascalmpl.interpreter.env.ModuleEnvironment

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.