congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
TestSuite.getBaseURL
Code IndexAdd Tabnine to your IDE (free)

How to use
getBaseURL
method
in
net.bpelunit.framework.model.test.TestSuite

Best Java code snippets using net.bpelunit.framework.model.test.TestSuite.getBaseURL (Showing top 2 results out of 315)

origin: net.bpelunit/framework

public LocalHTTPServer getLocalServer() {
  // We use lazy initialization so the user can change programmatically
  // the base URL (and thus the port BPELUnit listens on) after creating
  // the TestSuite but before calling #setUp.
  if (fLocalServer == null) {
    fLocalServer = new LocalHTTPServer(
        getBaseURL().getPort(), getBaseURL().getPath());
  }
  return fLocalServer;
}
origin: net.bpelunit/framework

/**
 * Creates a new VelocityContext with information about this test suite.
 * If necessary, it will initialize Velocity.
 *
 * NOTE: to keep test cases and activities isolated, this context should
 * not be wrapped, but rather be cloned and then extended.
 */
public Context createVelocityContext()  {
  try {
    Velocity.init();
  } catch(Exception e) {
    // XXX DL: This is stupid but it seems that the logger
    // cannot be initialized on the first try when running
    // under Eclipse and ATM I don't know a better solution
    Velocity.init();
  }
  Context ctx = toolManager.createContext();
  ctx.put("baseURL", getBaseURL().toString());
  ctx.put("collections", java.util.Collections.class);
  ctx.put("putName", fProcessUnderTest.getName());
  ctx.put("testSuiteName", this.getRawName());
  ctx.put("testCaseCount", this.getTestCaseCount());
  if (fSetUpVelocityScript != null) {
    StringWriter sW = new StringWriter();
    Velocity.evaluate(ctx, sW, "setUpTestSuite", fSetUpVelocityScript);
  }
  return ctx;
}
net.bpelunit.framework.model.testTestSuitegetBaseURL

Popular methods of TestSuite

  • addResultListener
  • removeResultListener
  • run
  • setFilter
    Filters this test suite to only run the test cases with the names specified in the list (in that ord
  • setUp
  • shutDown
  • <init>
  • addTestCase
  • addTestCaseToFilter
  • createVelocityContext
    Creates a new VelocityContext with information about this test suite. If necessary, it will initiali
  • endTestCase
  • getChildren
  • endTestCase,
  • getChildren,
  • getLocalServer,
  • getName,
  • getProcessUnderTest,
  • getRawName,
  • getTestCaseCount,
  • hasTestCase,
  • isRunning

Popular in Java

  • Making http post requests using okhttp
  • getContentResolver (Context)
  • requestLocationUpdates (LocationManager)
  • setContentView (Activity)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • ImageIO (javax.imageio)
  • 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