Examples of addResult()


Examples of com.omniti.jezebel.Resmon.addResult()

      JezebelCheck check = null;
      try { check = (JezebelCheck) clazz.newInstance(); }
      catch (InstantiationException e) { robustE(e, response); return; }
      catch (IllegalAccessException e) { robustE(e, response); return; }
      Resmon r = new Resmon();
      ResmonResult rr = r.addResult(info.get("module"), info.get("name"));
      check.perform(info, config, rr);
      r.write(response);
    }
    private Hashtable<String,String> constructCheckConfig(Document d)
        throws JezebelInputSyntax {
View Full Code Here

Examples of com.opengamma.engine.test.MockFunction.addResult()

      node.setFunction(new ParameterizedFunction(msdf, msdf.getDefaultParameters()));
    } else {
      final MockFunction mock = new MockFunction(target);
      output = new ValueSpecification(name, target.toSpecification(), ValueProperties.with(ValuePropertyNames.FUNCTION, mock.getUniqueId()).get());
      node.setFunction(mock);
      mock.addResult(new ComputedValue(output, null));
    }
    node.addOutputValue(output);
    node.addInputNodes(inputNodes);
    return node;
  }
View Full Code Here

Examples of edu.brown.hstore.txns.DependencyTracker.addResult()

                    if (trace.val)
                        LOG.trace(String.format("%s - Storing DependencyId #%d [numRows=%d]\n%s",
                                  ts, outputDepIds[i], result.dependencies[i].getRowCount(),
                                  result.dependencies[i]));
                    try {
                        otherTracker.addResult(local_ts, this.partitionId, outputDepIds[i], result.dependencies[i]);
                    } catch (Throwable ex) {
//                        ex.printStackTrace();
                        String msg = String.format("Failed to stored Dependency #%d for %s [idx=%d, fragmentId=%d]",
                                                   outputDepIds[i], ts, i, fragmentIds[i]);
                        LOG.error(String.format("%s - WorkFragment:%d\nExpectedIds:%s\nOutputDepIds: %s\nResultDepIds: %s\n%s",
View Full Code Here

Examples of eu.planets_project.tb.gui.backing.exp.MeasurementPropertyResultsBean.addResult()

                }
                for(MeasurementImpl mr : mRecords){
                  if(mr.getIdentifier().equals(propertyID)){
                    //log.info("adding "+inputDigoRef+ " "+runDate.getTimeInMillis()+" "+execStageRec.getStage()+" "+mr.getIdentifier() +" "+ mr.getValue());
                    //found the measurementRecord for this property in this run
                    resBean.addResult(runDate, mr);
                  }
                }
              }
            }
          }
View Full Code Here

Examples of fitnesse.reporting.history.TestExecutionReport.addResult()

  private TestExecutionReport makeDummyTestResponse() {
    TestExecutionReport testResponse = new TestExecutionReport(fitNesseVersion, "rootPath");
    testResponse.getFinalCounts().add(new TestSummary(1, 2, 3, 4));
    TestExecutionReport.TestResult result = new TestExecutionReport.TestResult();
    testResponse.addResult(result);
    result.right = "11";
    result.wrong = "22";
    result.ignores = "33";
    result.exceptions = "44";
    result.relativePageName = "relativePageName";
View Full Code Here

Examples of gov.nysenate.openleg.model.SenateResponse.addResult()

                HashMap<String,String> fields = new HashMap<String,String>();
                for(IndexableField field : doc.getFields()) {
                    fields.put(field.name(), doc.get(field.name()));
                }

                response.addResult(new Result(
                        doc.get("otype"),
                        doc.get("odata"),
                        doc.get("oid"),
                        Long.parseLong(lastModified),
                        Boolean.parseBoolean(doc.get("active")),
View Full Code Here

Examples of net.sf.sahi.report.Report.addResult()

        Session session = request.session();
        ScriptRunner scriptRunner = session.getScriptRunner();
        if (scriptRunner == null) return;
    Report report = scriptRunner.getReport();
        if (report != null) {
            report.addResult(SahiScript.stripSahiFromFunctionNames(request.getParameter("msg")), request.getParameter("type"), request.getParameter("debugInfo"), request.getParameter("failureMsg"));
        }
    }
}
View Full Code Here

Examples of nexj.core.rpc.Response.addResult()

      TransferObject tobj = new TransferObject("User");

      tobj.setValue("e", new Double(2.71828183));
      tobj.setValue("privilegeSet", new Integer(42));
      tobj.setValue("name", "Name");
      response.addResult(tobj);

      writer.getBuffer().setLength(0);
      XMLChangeRequest request = (XMLChangeRequest)unmarshaller.deserialize(
         new StringReader("<Change-Request xmlns=\"" + XML.NS_URI_TNS
         + "\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><objects xsi:type=\"User\"><"
View Full Code Here

Examples of org.apache.hadoop.hbase.client.MultiPutResponse.addResult()

    MultiPutResponse resp = new MultiPutResponse();

    // do each region as it's own.
    for( Map.Entry<byte[], List<Put>> e: puts.puts.entrySet()) {
      int result = put(e.getKey(), e.getValue());
      resp.addResult(e.getKey(), result);

      e.getValue().clear(); // clear some RAM
    }

    return resp;
View Full Code Here

Examples of org.apache.hadoop.hbase.client.MultiPutResponse.addResult()

    MultiPutResponse resp = new MultiPutResponse();

    // do each region as it's own.
    for (Map.Entry<byte[], List<Put>> e : puts.puts.entrySet()) {
      int result = put(e.getKey(), e.getValue());
      resp.addResult(e.getKey(), result);

      e.getValue().clear(); // clear some RAM
    }

    return resp;
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.