Examples of TestDescriptor


Examples of fitlibrary.batch.trinidad.TestDescriptor

   */
  private void runFitnesseWiki(final String name, WikiFile wikiFile) throws FileNotFoundException {
    String wiki = wikiFile.readWikiContent();
    wiki = decoratedWiki(wiki);
    String html = this.addCssFile(DbFitWikiPage.getHtml(wiki));
    TestDescriptor test = new InMemoryTestImpl(name, html);
    TestResult testResult = testRunner.runTest(test);
    // writeTestResult(testResult, fitDir, wikiFile);

    File htmlFile = wikiFile.mkTestedDir(fitDir);
    System.err.println(testResult.getName() + " right:" + testResult.getCounts().right + " wrong:"
View Full Code Here

Examples of org.gradle.api.tasks.testing.TestDescriptor

        }
    }

    private String getEventPath(TestDescriptor descriptor) {
        List<String> names = Lists.newArrayList();
        TestDescriptor current = descriptor;
        while (current != null) {
            if (isAtomicTestWhoseParentIsNotTheTestClass(current)) {
                // This deals with the fact that in TestNG, there are no class-level events,
                // but we nevertheless want to see the class name. We use "." rather than
                // " > " as a separator to make it clear that the class is not a separate
                // level. This matters when configuring granularity.
                names.add(current.getClassName() + "." + current.getName());
            } else {
                names.add(current.getName());
            }
            current = current.getParent();
        }

        int effectiveDisplayGranularity = displayGranularity == -1
                ? names.size() - 1 : Math.min(displayGranularity, names.size() - 1);
        List<String> displayedNames = Lists.reverse(names).subList(effectiveDisplayGranularity, names.size());
View Full Code Here

Examples of org.gradle.api.tasks.testing.TestDescriptor

        TestState state = executing.get(testId);
        if (state != null) {
            return state.test;
        }

        TestDescriptor d = currentParent;
        if (d != null) {
            return d;
        }

        //in theory this should not happen
View Full Code Here

Examples of org.moltools.apps.probemaker.modules.TestDescriptor

    tssTestModel = new TestListModel(new ArrayList<CandidateAnalysisModule>());
    stage1TestModel = new TestListModel(new ArrayList<CandidateAnalysisModule>());
    stage2TestModel = new TestListModel(new ArrayList<CandidateAnalysisModule>());

    try {
      TestBox protoTestBox = new TestBox(new TestDescriptor(
          "Prototype test Prototype test Prototype test ")); //$NON-NLS-1$
     
      String ttAvail = "<html>" + SwingUIMessages.getString("ModuleSelectionPanel.TOOL_TIP_VIEW_MODULE_DESCRIPTION_HTML") + "</html>"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
      String ttStage = "<html>" + SwingUIMessages.getString("ModuleSelectionPanel.TOOL_TIP_SET_MODULE_PARAMETERS_HTML") + "</html>"//$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$
      Object protoLabel = new AbstractProbeModule(null,null) {
View Full Code Here

Examples of org.moltools.apps.probemaker.modules.TestDescriptor

    public Component getListCellRendererComponent(JList list, Object value,
                                                  int index, boolean isSelected,
                                                  boolean cellHasFocus) {
      TestBox tb = (TestBox) value;
      TestDescriptor test1 = tb.getTest();
      if (test1 != null) {
        setText(test1.getBrief());
        setSelected(tb.isSelected());
      }
      setBackground(isSelected ? SystemColor.textHighlight : SystemColor.text);
      setForeground(isSelected ? SystemColor.textHighlightText :
                    SystemColor.textText);
View Full Code Here

Examples of org.moltools.apps.probemaker.modules.TestDescriptor

    "An error message is given if a matching sequence is found. A gap of one base is allowed between the two 5' and 3' sequences.</html>"; //$NON-NLS-1$
  }

  public GapFillPadlockLigationModule() {
    super(new TestDescriptor[] {
            new TestDescriptor("Gap-fill padlock probe self-ligation"), //$NON-NLS-1$
            new TestDescriptor("Template for other probe") //$NON-NLS-1$
          },
          new DataDescriptor[] {
        new IntegerDescriptor("Min. 5' match length", //$NON-NLS-1$
                             "Minimum number of matching bases on 5' end", //$NON-NLS-1$
                             PadlockLigationCalculator.
View Full Code Here

Examples of org.moltools.apps.probemaker.modules.TestDescriptor

    "a hybridization interference message is given.</html>"; //$NON-NLS-1$
  }

  public DefaultHybInterferenceModule() {
    super(new TestDescriptor[] {
        new TestDescriptor("5' hybridization interference"), //$NON-NLS-1$
        new TestDescriptor("3' hybridization interference") //$NON-NLS-1$
    },
    new DataDescriptor[0]);

    complementStructCalc = new SWStructureCalculator();
    ( (SWStructureCalculator) complementStructCalc).setLAC(new
View Full Code Here

Examples of org.moltools.apps.probemaker.modules.TestDescriptor

  protected int[] seqPositions;
  protected int[] compPositions;
 
  public DefaultTagOccurrenceModule() {
    super(new TestDescriptor[] {
        new TestDescriptor("Tag sequence within probe"), //$NON-NLS-1$
        new TestDescriptor("Tag complement within probe"), //$NON-NLS-1$
        new TestDescriptor("Tag sequence in other probe"), //$NON-NLS-1$
        new TestDescriptor("Tag complement in other probe") //$NON-NLS-1$
    },new DataDescriptor[1]);
    tsc = new SWTagSimilarityCalculator();
    dataDescriptors =
      new DataDescriptor[] {
        new IntegerDescriptor("Per cent of max score required for match", //$NON-NLS-1$
View Full Code Here

Examples of org.moltools.apps.probemaker.modules.TestDescriptor

    "<i>Nucleic Acids Res.</i>, <b>31</b>, 1796-1802.</html>"; //$NON-NLS-1$
  }

  public PadlockLigationModule() {
    super(new TestDescriptor[] {
        new TestDescriptor("Padlock probe self-ligation"), //$NON-NLS-1$
        new TestDescriptor("Template for other probe") //$NON-NLS-1$
    },new DataDescriptor[] {
        new IntegerDescriptor("Min. 5' match length", //$NON-NLS-1$
            "Minimum number of matching bases on 5' end", //$NON-NLS-1$
            PadlockLigationCalculator.
            PROPERTY_PROBE_5_MATCH_LENGTH, 1, 100),
View Full Code Here

Examples of org.moltools.apps.probemaker.modules.TestDescriptor

  public static final String KEY_ALLOWED_COMPLEMENTARITY_SCORE = "ALLOWED_COMPLEMENTARITY_SCORE"; //$NON-NLS-1$
  public static final String KEY_COMPLEMENTARITY_SCORE_LIMIT = "COMPLEMENTARITY_SCORE_LIMIT"; //$NON-NLS-1$
 
  public TmProbeDimerModule() {
    super(new TestDescriptor[] {
            new TestDescriptor("Probe-probe hetero-dimer formation"), //$NON-NLS-1$
            new TestDescriptor("Probe homo-dimer formation") //$NON-NLS-1$
           
          },
          new DataDescriptor[] {
              new DoubleDescriptor("Max Tm", //$NON-NLS-1$
                                  "Maximum Tm for " + //$NON-NLS-1$
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.