Tabnine Logo
TestContext.logAfter
Code IndexAdd Tabnine to your IDE (free)

How to use
logAfter
method
in
com.vmware.xenon.common.test.TestContext

Best Java code snippets using com.vmware.xenon.common.test.TestContext.logAfter (Showing top 20 results out of 315)

origin: com.vmware.xenon/xenon-common

  double v = testContextDirect.logAfter();
  this.testResults.getReport().all(TestResults.KEY_THROUGHPUT, v);
  return;
testContext.logAfter();
origin: vmware/xenon

  double v = testContextDirect.logAfter();
  this.testResults.getReport().all(TestResults.KEY_THROUGHPUT, v);
  return;
testContext.logAfter();
origin: com.vmware.xenon/xenon-common

testContext.logAfter();
this.replicationTargetLinksOriginal = new HashMap<>(this.replicationTargetLinks);
origin: vmware/xenon

testContext.logAfter();
this.replicationTargetLinksOriginal = new HashMap<>(this.replicationTargetLinks);
origin: com.vmware.xenon/xenon-common

    elapsedTimePerAction);
testContext.logAfter();
origin: vmware/xenon

    elapsedTimePerAction);
testContext.logAfter();
origin: com.vmware.xenon/xenon-common

testContext.logAfter();
origin: vmware/xenon

testContext.logAfter();
origin: vmware/xenon

patchAndDeleteCtx.logAfter();
origin: com.vmware.xenon/xenon-common

ctx.logAfter();
origin: com.vmware.xenon/xenon-common

patchAndDeleteCtx.logAfter();
origin: vmware/xenon

ctx.logAfter();
origin: com.vmware.xenon/xenon-common

ctx.logAfter();
origin: vmware/xenon

ctx.logAfter();
origin: com.vmware.xenon/xenon-common

ctx.logAfter();
host.log("Queue limit failures: %d", limitFailures.get());
assertTrue(limitFailures.get() > 0);
origin: vmware/xenon

double tput = ctx.logAfter();
this.testResults.getReport().lastValue(TestResults.KEY_THROUGHPUT, tput);
origin: vmware/xenon

ctx.logAfter();
host.log("Queue limit failures: %d", limitFailures.get());
assertTrue(limitFailures.get() > 0);
origin: com.vmware.xenon/xenon-common

double tput = ctx.logAfter();
this.testResults.getReport().lastValue(TestResults.KEY_THROUGHPUT, tput);
origin: vmware/xenon

private void doUpdates(URI factoryUri, Integer updateCount) {
  factoryUri = UriUtils.extendUriWithQuery(factoryUri,
      UriUtils.URI_PARAM_ODATA_TOP,
      this.serviceCount * 10 + "");
  ServiceDocumentQueryResult res = this.host.getFactoryState(factoryUri);
  assertEquals(this.serviceCount, (long) res.documentCount);
  TestContext ctx = this.host.testCreate(this.serviceCount * updateCount);
  ctx.setTestName("PATCH").logBefore();
  for (String link : res.documentLinks) {
    for (int i = 0; i < updateCount; i++) {
      ExampleServiceState st = new ExampleServiceState();
      st.name = i + "";
      Operation patch = Operation.createPatch(this.host, link).setBody(st)
          .setCompletion(ctx.getCompletion());
      this.host.send(patch);
    }
  }
  this.host.testWait(ctx);
  ctx.logAfter();
}
origin: com.vmware.xenon/xenon-common

private void doUpdates(URI factoryUri, Integer updateCount) {
  factoryUri = UriUtils.extendUriWithQuery(factoryUri,
      UriUtils.URI_PARAM_ODATA_TOP,
      this.serviceCount * 10 + "");
  ServiceDocumentQueryResult res = this.host.getFactoryState(factoryUri);
  assertEquals(this.serviceCount, (long) res.documentCount);
  TestContext ctx = this.host.testCreate(this.serviceCount * updateCount);
  ctx.setTestName("PATCH").logBefore();
  for (String link : res.documentLinks) {
    for (int i = 0; i < updateCount; i++) {
      ExampleServiceState st = new ExampleServiceState();
      st.name = i + "";
      Operation patch = Operation.createPatch(this.host, link).setBody(st)
          .setCompletion(ctx.getCompletion());
      this.host.send(patch);
    }
  }
  this.host.testWait(ctx);
  ctx.logAfter();
}
com.vmware.xenon.common.testTestContextlogAfter

Popular methods of TestContext

  • await
  • fail
  • completeIteration
    Consider using #complete(). This method exists for backward compatibility, and may be deprecated/del
  • failIteration
    Consider using #fail(Throwable). This method exists for backward compatibility, and may be deprecate
  • <init>
  • complete
  • getCompletion
  • create
    Consider using #TestContext(int,Duration)This method exists for backward compatibility, and may be d
  • getExpectedFailureCompletion
  • getCompletionDeferred
  • logBefore
  • setCheckInterval
  • logBefore,
  • setCheckInterval,
  • setTestName,
  • waitFor

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (Timer)
  • getSharedPreferences (Context)
  • getContentResolver (Context)
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • BoxLayout (javax.swing)
  • JLabel (javax.swing)
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now