Examples of project()


Examples of org.sonar.wsclient.issue.ActionPlan.project()

    assertThat(actionPlans).hasSize(1);
    ActionPlan actionPlan = actionPlans.get(0);
    assertThat(actionPlan.key()).isEqualTo("382f6f2e-ad9d-424a-b973-9b065e04348a");
    assertThat(actionPlan.name()).isEqualTo("Long term");
    assertThat(actionPlan.description()).isEqualTo("Long term acton plan");
    assertThat(actionPlan.project()).isEqualTo("com.sonarsource.it.samples:simple-sample");
    assertThat(actionPlan.status()).isEqualTo("CLOSED");
    assertThat(actionPlan.userLogin()).isEqualTo("admin");
    assertThat(actionPlan.deadLine()).isNotNull();
    assertThat(actionPlan.totalIssues()).isEqualTo(3);
    assertThat(actionPlan.unresolvedIssues()).isEqualTo(2);
View Full Code Here

Examples of tool.model.grammar.ForteAST.project()

      } else {
        tree = (CommonTree) result.getTree();
        CommonTreeNodeStream nodes = new CommonTreeNodeStream(tree);
        nodes.setTokenStream(tokens);
        ForteAST walker = new ForteAST(file, nodes);
        ToolPlan plan = walker.project();
        plan.document = document;
        if (forteLibrariesSet.contains(plan.getToolName())){
          plan.setLibrary(true);
       
        }
View Full Code Here

Examples of tool.model.grammar.FortePRXTree.project()

      } else {
        tree = (CommonTree) result.getTree();
        CommonTreeNodeStream nodes = new CommonTreeNodeStream(tree);
        nodes.setTokenStream(tokens);
        FortePRXTree walker = new FortePRXTree(this, nodes);
        walker.project();
      }
    } catch (RecognitionException e) {
      ToolPlugin.showError("Cannot parse project "  + getFile().getName(), e);
    }
View Full Code Here

Examples of tool.model.grammar.FortePRXTree.project()

  private int createPRXTree(CommonTree tree, TokenStream tokens, File cdf) throws RecognitionException{
    CommonTreeNodeStream nodes = new CommonTreeNodeStream(tree);
    nodes.setTokenStream(tokens);
    FortePRXTree walker = new FortePRXTree(nodes);
    walker.project();
   
    return walker.getNumberOfSyntaxErrors();

  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.