Tabnine Logo
LocalContainer.setOutput
Code IndexAdd Tabnine to your IDE (free)

How to use
setOutput
method
in
org.codehaus.cargo.container.LocalContainer

Best Java code snippets using org.codehaus.cargo.container.LocalContainer.setOutput (Showing top 4 results out of 315)

origin: org.codehaus.cargo/cargo-ant

/**
 * Set up an output file containing container's console output if defined.
 */
protected void setupOutput()
{
  if (getOutput() != null)
  {
    ((LocalContainer) getContainer()).setOutput(getOutput());
    ((LocalContainer) getContainer()).setAppend(isAppend());
  }
}
origin: codehaus-cargo/cargo

/**
 * Set up an output file containing container's console output if defined.
 */
protected void setupOutput()
{
  if (getOutput() != null)
  {
    ((LocalContainer) getContainer()).setOutput(getOutput());
    ((LocalContainer) getContainer()).setAppend(isAppend());
  }
}
origin: codehaus-cargo/cargo

/**
 * Setup local settings.
 * @param configuration Container configuration.
 * @param container Local container.
 */
private void setUpLocalSettings(Configuration configuration, LocalContainer container)
{
  if (container.getType() == ContainerType.EMBEDDED)
  {
    ((EmbeddedLocalContainer) container).setClassLoader(this.classLoader);
  }
  else if (container.getType() == ContainerType.INSTALLED)
  {
    setUpHome((InstalledLocalContainer) container);
    setUpClover((InstalledLocalContainer) container);
  }
  File logFile = new File(new File(getTestData().targetDir).getParentFile(), "output.log");
  // delete the previous run's output, if it exists.
  logFile.delete();
  container.setOutput(logFile.getPath());
  container.setTimeout(getTestData().containerTimeout);
}
origin: codehaus-cargo/cargo

/**
 * {@inheritDoc}
 */
@Override
protected void setUp() throws Exception
{
  super.setUp();
  Configuration configuration = createConfiguration(ConfigurationType.STANDALONE);
  configuration.setProperty(GeneralPropertySet.SPAWN_PROCESS, "true");
  Container container = createContainer(configuration);
  setContainer(container);
  // Disable container output to activate spawn.
  getLocalContainer().setOutput(null);
}
org.codehaus.cargo.containerLocalContainersetOutput

Popular methods of LocalContainer

  • getConfiguration
  • getId
  • getState
  • getName
  • stop
  • restart
  • setTimeout
  • start
  • getCapability
  • getFileHandler
  • isAppend
  • getLogger
  • isAppend,
  • getLogger,
  • getOutput,
  • getTimeout,
  • getType,
  • setAppend,
  • setConfiguration

Popular in Java

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • onCreateOptionsMenu (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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