Package com.intellij.javascript.testFramework.jasmine

Examples of com.intellij.javascript.testFramework.jasmine.JasmineSuiteStructure


      JasmineFileStructure jasmineFileStructure = builder.fetchCachedTestFileStructure(jsFile);
      Map<String, JasmineSuiteStructure> map = Maps.newHashMap();
      for (JasmineSuiteStructure suite : jasmineFileStructure.getSuites()) {
        visitSuite("", map, suite);
      }
      JasmineSuiteStructure suite = map.get(testCaseName);
      if (suite != null) {
        if (testMethodName == null) {
          return suite.getEnclosingCallExpression();
        }
        JasmineSpecStructure spec = suite.getInnerSpecByName(testMethodName);
        if (spec != null) {
          return spec.getEnclosingCallExpression();
        }
      }
    }
View Full Code Here

TOP

Related Classes of com.intellij.javascript.testFramework.jasmine.JasmineSuiteStructure

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.