org.apache.maven.scm.provider.accurev.cli
Class AccuRevCommandLineTest.AccuRevCommandLineTester

java.lang.Object
  extended by org.apache.maven.scm.provider.accurev.cli.AccuRevCommandLine
      extended by org.apache.maven.scm.provider.accurev.cli.AccuRevCommandLineTest.AccuRevCommandLineTester
All Implemented Interfaces:
AccuRev
Enclosing class:
AccuRevCommandLineTest

public class AccuRevCommandLineTest.AccuRevCommandLineTester
extends AccuRevCommandLine


Field Summary
 
Fields inherited from interface org.apache.maven.scm.provider.accurev.AccuRev
ACCUREV_TIME_FORMAT_STRING, ACCUREV_TIME_SPEC, DEFAULT_ACCUREV_EXECUTABLE, DEFAULT_ADD_MESSAGE, DEFAULT_PORT, DEFAULT_PROMOTE_MESSAGE, DEFAULT_REMOVE_MESSAGE
 
Constructor Summary
AccuRevCommandLineTest.AccuRevCommandLineTester()
           
AccuRevCommandLineTest.AccuRevCommandLineTester(String host, int port)
           
 
Method Summary
protected  int executeCommandLine(org.codehaus.plexus.util.cli.Commandline cl, InputStream stdin, CommandOutputConsumer stdout, org.codehaus.plexus.util.cli.StreamConsumer stderr)
           
 BufferedReader getStdinReader()
           
 void setResponse(String response)
           
 
Methods inherited from class org.apache.maven.scm.provider.accurev.cli.AccuRevCommandLine
add, annotate, chws, defunct, diff, getClientVersion, getCommandline, getCommandLines, getErrorOutput, getExecutable, getLogger, history, info, login, logout, mkdepot, mksnap, mkstream, mkws, pop, popExternal, promote, promoteAll, promoteStream, reactivate, reset, rmws, setExecutable, setLogger, setServer, showRefTrees, showStream, showWorkSpaces, stat, stat, statBackingStream, statTag, syncReplica, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccuRevCommandLineTest.AccuRevCommandLineTester

public AccuRevCommandLineTest.AccuRevCommandLineTester()
                                                throws Exception
Throws:
Exception

AccuRevCommandLineTest.AccuRevCommandLineTester

public AccuRevCommandLineTest.AccuRevCommandLineTester(String host,
                                                       int port)
                                                throws Exception
Throws:
Exception
Method Detail

getStdinReader

public BufferedReader getStdinReader()

executeCommandLine

protected int executeCommandLine(org.codehaus.plexus.util.cli.Commandline cl,
                                 InputStream stdin,
                                 CommandOutputConsumer stdout,
                                 org.codehaus.plexus.util.cli.StreamConsumer stderr)
                          throws org.codehaus.plexus.util.cli.CommandLineException
Overrides:
executeCommandLine in class AccuRevCommandLine
Throws:
org.codehaus.plexus.util.cli.CommandLineException

setResponse

public void setResponse(String response)


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.