A C D E G L M O P R S T _ 

A

assertEquals(Object[], Object[], boolean) - Static method in class org.apache.commons.exec.TestUtil
 

C

CommandLineTest - Class in org.apache.commons.exec
 
CommandLineTest() - Constructor for class org.apache.commons.exec.CommandLineTest
 

D

DefaultExecutorTest - Class in org.apache.commons.exec
 
DefaultExecutorTest() - Constructor for class org.apache.commons.exec.DefaultExecutorTest
 

E

EnvironmentUtilTest - Class in org.apache.commons.exec.environment
 
EnvironmentUtilTest() - Constructor for class org.apache.commons.exec.environment.EnvironmentUtilTest
 

G

getTestScriptCodesForOS() - Static method in class org.apache.commons.exec.TestUtil
Get success and fail return codes used by the test scripts

L

LogOutputStreamTest - Class in org.apache.commons.exec
Test the LogOutputStream.
LogOutputStreamTest() - Constructor for class org.apache.commons.exec.LogOutputStreamTest
 

M

main(String[]) - Static method in class org.apache.commons.exec.TestRunner
 
MapUtilTest - Class in org.apache.commons.exec.util
 
MapUtilTest() - Constructor for class org.apache.commons.exec.util.MapUtilTest
 

O

org.apache.commons.exec - package org.apache.commons.exec
 
org.apache.commons.exec.environment - package org.apache.commons.exec.environment
 
org.apache.commons.exec.util - package org.apache.commons.exec.util
 

P

print(File, long, boolean) - Method in class org.apache.commons.exec.TutorialTest
Simulate printing a PDF document.

R

resolveScriptForOS(String) - Static method in class org.apache.commons.exec.TestUtil
 

S

setUp() - Method in class org.apache.commons.exec.DefaultExecutorTest
 
setUp() - Method in class org.apache.commons.exec.LogOutputStreamTest
 
StandAloneTest - Class in org.apache.commons.exec
Placeholder for mailing list question - provided a minimal test case to answer the question as sel-contained regression test.
StandAloneTest() - Constructor for class org.apache.commons.exec.StandAloneTest
 
StringUtilTest - Class in org.apache.commons.exec.util
 
StringUtilTest() - Constructor for class org.apache.commons.exec.util.StringUtilTest
 
suite() - Static method in class org.apache.commons.exec.TestRunner
 

T

tearDown() - Method in class org.apache.commons.exec.DefaultExecutorTest
 
tearDown() - Method in class org.apache.commons.exec.LogOutputStreamTest
 
testAddArgument() - Method in class org.apache.commons.exec.CommandLineTest
 
testAddArguments() - Method in class org.apache.commons.exec.CommandLineTest
 
testAddArgumentsArray() - Method in class org.apache.commons.exec.CommandLineTest
 
testAddArgumentsArrayNull() - Method in class org.apache.commons.exec.CommandLineTest
 
testAddArgumentsWithQuotes() - Method in class org.apache.commons.exec.CommandLineTest
 
testAddArgumentsWithQuotesAndSpaces() - Method in class org.apache.commons.exec.CommandLineTest
 
testAddArgumentWithBothQuotes() - Method in class org.apache.commons.exec.CommandLineTest
 
testAddArgumentWithQuote() - Method in class org.apache.commons.exec.CommandLineTest
 
testAddArgumentWithQuotesAround() - Method in class org.apache.commons.exec.CommandLineTest
 
testAddArgumentWithSingleQuote() - Method in class org.apache.commons.exec.CommandLineTest
 
testAddArgumentWithSpace() - Method in class org.apache.commons.exec.CommandLineTest
 
testAddEnvironmentVariableEmbeddedQuote() - Method in class org.apache.commons.exec.DefaultExecutorTest
 
testAddEnvironmentVariables() - Method in class org.apache.commons.exec.DefaultExecutorTest
Call a script to dump the environment variables of the subprocess after adding a custom environment variable.
testAddNullArgument() - Method in class org.apache.commons.exec.CommandLineTest
 
testAddTwoArguments() - Method in class org.apache.commons.exec.CommandLineTest
A little example how to add two command line arguments in one line, e.g.
testAssertArrayEquals() - Method in class org.apache.commons.exec.TestUtilTest
 
testAssertArrayEqualsActualNull() - Method in class org.apache.commons.exec.TestUtilTest
 
testAssertArrayEqualsExpectedNull() - Method in class org.apache.commons.exec.TestUtilTest
 
testAssertArrayEqualsNullNull() - Method in class org.apache.commons.exec.TestUtilTest
 
testAssertArrayEqualsOrderNotSignificant() - Method in class org.apache.commons.exec.TestUtilTest
 
testAssertArrayNotEquals() - Method in class org.apache.commons.exec.TestUtilTest
 
testAssertArrayNotOrderEquals() - Method in class org.apache.commons.exec.TestUtilTest
 
testCaseInsensitiveVariableLookup() - Method in class org.apache.commons.exec.environment.EnvironmentUtilTest
Accessing environment variables is case-sensitive or not depending on the operating system but the values of the environment variable are always case-sensitive.
testCommandLineParsingWithExpansion1() - Method in class org.apache.commons.exec.CommandLineTest
Test expanding the command line based on a user-supplied map.
testCommandLineParsingWithExpansion2() - Method in class org.apache.commons.exec.CommandLineTest
Test expanding the command line based on a user-supplied map.
testCommandLineParsingWithExpansion3() - Method in class org.apache.commons.exec.CommandLineTest
 
testComplexAddArgument() - Method in class org.apache.commons.exec.CommandLineTest
Create a command line with pre-quoted strings to test SANDBOX-192, e.g.
testComplexAddArguments1() - Method in class org.apache.commons.exec.CommandLineTest
Create a command line with pre-quoted strings to test SANDBOX-192, e.g.
testComplexAddArguments2() - Method in class org.apache.commons.exec.CommandLineTest
Create a command line with pre-quoted strings to test SANDBOX-192, e.g.
testCopyConstructor() - Method in class org.apache.commons.exec.CommandLineTest
 
testCopyMap() - Method in class org.apache.commons.exec.util.MapUtilTest
Test copying of map
testDefaultStringSubstitution() - Method in class org.apache.commons.exec.util.StringUtilTest
Test a default string substitution, e.g.
testEnvironmentVariables() - Method in class org.apache.commons.exec.DefaultExecutorTest
Call a script to dump the environment variables of the subprocess.
testErroneousTemplate() - Method in class org.apache.commons.exec.util.StringUtilTest
Test a erroneous template.
testExec33() - Method in class org.apache.commons.exec.DefaultExecutorTest
Test the patch for EXEC-33 (https://issues.apache.org/jira/browse/EXEC-33) PumpStreamHandler hangs if System.in is redirect to process input stream .
testExec34_1() - Method in class org.apache.commons.exec.DefaultExecutorTest
EXEC-34 https://issues.apache.org/jira/browse/EXEC-34 Race condition prevent watchdog working using ExecuteStreamHandler.
testExec34_2() - Method in class org.apache.commons.exec.DefaultExecutorTest
EXEC-34 https://issues.apache.org/jira/browse/EXEC-34 Some user waited for an asynchronous process using watchdog.isWatching() which is now properly implemented using DefaultExecuteResultHandler.
testExec36_1() - Method in class org.apache.commons.exec.DefaultExecutorTest
Test EXEC-36 see https://issues.apache.org/jira/browse/EXEC-36 Original example from Kai Hu which only can be tested on Unix
testExec36_2() - Method in class org.apache.commons.exec.DefaultExecutorTest
Test EXEC-36 see https://issues.apache.org/jira/browse/EXEC-36 Test a complex real example found at http://blogs.msdn.com/b/astebner/archive/2005/12/13/503471.aspx The command line is so weird that it even falls apart under Windows
testExec41WithoutStreams() - Method in class org.apache.commons.exec.DefaultExecutorTest
Test EXEC-41 with a disabled PumpStreamHandler to check if we could return immediately after killing the process (no streams implies no blocking stream pumper threads).
testExec41WithStreams() - Method in class org.apache.commons.exec.DefaultExecutorTest
Test the patch for EXEC-41 (https://issues.apache.org/jira/browse/EXEC-41).
testExec44() - Method in class org.apache.commons.exec.DefaultExecutorTest
Test EXEC-44 (https://issues.apache.org/jira/browse/EXEC-44).
testExec49_1() - Method in class org.apache.commons.exec.DefaultExecutorTest
Test EXEC-49 (https://issues.apache.org/jira/browse/EXEC-49).
testExec49_2() - Method in class org.apache.commons.exec.DefaultExecutorTest
Test EXEC-49 (https://issues.apache.org/jira/browse/EXEC-49).
testExec_57() - Method in class org.apache.commons.exec.DefaultExecutorTest
Test EXEC-57 (https://issues.apache.org/jira/browse/EXEC-57).
testExec_60() - Method in class org.apache.commons.exec.DefaultExecutorTest
Test EXEC-60 (https://issues.apache.org/jira/browse/EXEC-60).
testExecutable() - Method in class org.apache.commons.exec.CommandLineTest
 
testExecutableWhitespaceString() - Method in class org.apache.commons.exec.CommandLineTest
 
testExecutableZeroLengthString() - Method in class org.apache.commons.exec.CommandLineTest
 
testExecute() - Method in class org.apache.commons.exec.DefaultExecutorTest
The simplest possible test - start a script and check that the output was pumped into our ByteArrayOutputStream.
testExecuteAsync() - Method in class org.apache.commons.exec.DefaultExecutorTest
Start a asynchronous process which returns an success exit value.
testExecuteAsyncWithError() - Method in class org.apache.commons.exec.DefaultExecutorTest
Start a asynchronous process which returns an error exit value.
testExecuteAsyncWithNonExistingApplication() - Method in class org.apache.commons.exec.DefaultExecutorTest
Try to start an non-existing application asynchronously which should result in an exception.
testExecuteAsyncWithProcessDestroyer() - Method in class org.apache.commons.exec.DefaultExecutorTest
Test the proper handling of ProcessDestroyer for an asynchronous process.
testExecuteAsyncWithTimelyUserTermination() - Method in class org.apache.commons.exec.DefaultExecutorTest
Start a asynchronous process and terminate it manually before the watchdog timeout occurs.
testExecuteAsyncWithTooLateUserTermination() - Method in class org.apache.commons.exec.DefaultExecutorTest
Start a asynchronous process and try to terminate it manually but the process was already terminated by the watchdog.
testExecuteNonExistingApplication() - Method in class org.apache.commons.exec.DefaultExecutorTest
Try to start an non-existing application which should result in an exception.
testExecuteWatchdogAsync() - Method in class org.apache.commons.exec.DefaultExecutorTest
Start a script looping forever (asynchronously) and check if the ExecuteWatchdog kicks in killing the run away process.
testExecuteWatchdogSync() - Method in class org.apache.commons.exec.DefaultExecutorTest
Start a script looping forever (synchronously) and check if the ExecuteWatchdog kicks in killing the run away process.
testExecuteWatchdogVeryLongTimeout() - Method in class org.apache.commons.exec.DefaultExecutorTest
[EXEC-68] Synchronously starts a short script with a Watchdog attached with an extremely large timeout.
testExecuteWithArg() - Method in class org.apache.commons.exec.DefaultExecutorTest
 
testExecuteWithComplexArguments() - Method in class org.apache.commons.exec.DefaultExecutorTest
A generic test case to print the command line arguments to 'printargs' script to solve even more command line puzzles.
testExecuteWithCustomExitValue1() - Method in class org.apache.commons.exec.DefaultExecutorTest
Invoke the error script but define that the ERROR_STATUS is a good exit value and therefore no exception should be thrown.
testExecuteWithCustomExitValue2() - Method in class org.apache.commons.exec.DefaultExecutorTest
Invoke the error script but define that SUCCESS_STATUS is a bad exit value and therefore an exception should be thrown.
testExecuteWithError() - Method in class org.apache.commons.exec.DefaultExecutorTest
 
testExecuteWithFancyArg() - Method in class org.apache.commons.exec.DefaultExecutorTest
Invoke the test using some fancy arguments.
testExecuteWithInvalidWorkingDirectory() - Method in class org.apache.commons.exec.DefaultExecutorTest
 
testExecuteWithNullOutErr() - Method in class org.apache.commons.exec.DefaultExecutorTest
Start a process and connect it to no stream.
testExecuteWithProcessDestroyer() - Method in class org.apache.commons.exec.DefaultExecutorTest
Test the proper handling of ProcessDestroyer for an synchronous process.
testExecuteWithRedirectedStreams() - Method in class org.apache.commons.exec.DefaultExecutorTest
Start a process with redirected streams - stdin of the newly created process is connected to a FileInputStream whereas the "redirect" script reads all lines from stdin and prints them on stdout.
testExecuteWithRedirectOutErr() - Method in class org.apache.commons.exec.DefaultExecutorTest
Start a process and connect out and err to a file.
testExecuteWithSingleEnvironmentVariable() - Method in class org.apache.commons.exec.DefaultExecutorTest
Execute the test script and pass a environment containing 'TEST_ENV_VAR'.
testExecuteWithStdOutErr() - Method in class org.apache.commons.exec.DefaultExecutorTest
Start a process and connect stdout and stderr.
testExecuteWithWorkingDirectory() - Method in class org.apache.commons.exec.DefaultExecutorTest
 
testGetProcEnvironment() - Method in class org.apache.commons.exec.environment.EnvironmentUtilTest
Test to access the environment variables of the current process.
testGetProcEnvironmentCaseInsensitiveLookup() - Method in class org.apache.commons.exec.environment.EnvironmentUtilTest
On Windows platforms test that accessing environment variables can be done in a case-insensitive way, e.g.
testIncompleteSubstitution() - Method in class org.apache.commons.exec.util.StringUtilTest
Test an incomplete string substitution where not all placeholders are expanded.
testMe() - Method in class org.apache.commons.exec.StandAloneTest
 
testMergeMap() - Method in class org.apache.commons.exec.util.MapUtilTest
Test merging of maps
testNoStringSubstitution() - Method in class org.apache.commons.exec.util.StringUtilTest
Test no string substitution
testNullExecutable() - Method in class org.apache.commons.exec.CommandLineTest
 
testParseCommandLine() - Method in class org.apache.commons.exec.CommandLineTest
 
testParseCommandLineWithNull() - Method in class org.apache.commons.exec.CommandLineTest
 
testParseCommandLineWithOnlyWhitespace() - Method in class org.apache.commons.exec.CommandLineTest
 
testParseCommandLineWithQuotes() - Method in class org.apache.commons.exec.CommandLineTest
 
testParseCommandLineWithUnevenQuotes() - Method in class org.apache.commons.exec.CommandLineTest
 
testParseComplexCommandLine1() - Method in class org.apache.commons.exec.CommandLineTest
A command line parsing puzzle from Tino Schoellhorn - ImageMagix expects a "500x>" parameter (including quotes) and it is simply not possible to do that without adding a space, e.g.
testParseComplexCommandLine2() - Method in class org.apache.commons.exec.CommandLineTest
Another command line parsing puzzle from Kai Hu - as far as I understand it there is no way to express that in a one-line command string.
testParseRealLifeCommandLine_1() - Method in class org.apache.commons.exec.CommandLineTest
Test the following command line cmd.exe /C c:\was51\Web Sphere\AppServer\bin\versionInfo.bat
testPrefixMap() - Method in class org.apache.commons.exec.util.MapUtilTest
Test prefixing of map
TestRunner - Class in org.apache.commons.exec
A stand-alone JUnit invocation to allow running JUnit tests without having ANT or M2 installed.
TestRunner() - Constructor for class org.apache.commons.exec.TestRunner
 
testStdInHandling() - Method in class org.apache.commons.exec.DefaultExecutorTest
The test script reads an argument from stdin and prints the result to stdout.
testStdout() - Method in class org.apache.commons.exec.LogOutputStreamTest
 
testToString() - Method in class org.apache.commons.exec.CommandLineTest
Test the toString() method.
testToStrings() - Method in class org.apache.commons.exec.environment.EnvironmentUtilTest
Tests the behaviour of the EnvironmentUtils.toStrings() when using a null environment.
testToStringTroubleshooting() - Method in class org.apache.commons.exec.CommandLineTest
Test that toString() produces output that is useful for troubleshooting.
testTutorialExample() - Method in class org.apache.commons.exec.TutorialTest
 
TestUtil - Class in org.apache.commons.exec
 
TestUtilTest - Class in org.apache.commons.exec
 
TestUtilTest() - Constructor for class org.apache.commons.exec.TestUtilTest
 
TutorialTest - Class in org.apache.commons.exec
An example based on the tutorial where the user can can safely play with blocking or non-blocking print jobs with print job timeouts to trigger the ExecuteWatchdog with the exitValue returned from the print script
TutorialTest() - Constructor for class org.apache.commons.exec.TutorialTest
 

_

_testExec36_1() - Method in class org.apache.commons.exec.CommandLineTest
Some complex real-life command line from http://blogs.msdn.com/b/astebner/archive/2005/12/13/503471.aspx
_testExec36_2() - Method in class org.apache.commons.exec.CommandLineTest
Some complex real-life command line from http://blogs.msdn.com/b/astebner/archive/2005/12/13/503471.aspx
_testExec36_3() - Method in class org.apache.commons.exec.CommandLineTest
Test the following command line C:\CVS_DB\WeightsEngine /f WeightsEngine.mak CFG="WeightsEngine - Win32Release"
_testExecuteStability() - Method in class org.apache.commons.exec.DefaultExecutorTest
Start any processes in a loop to make sure that we do not leave any handles/resources open.
A C D E G L M O P R S T _ 

Copyright © 2013 The Apache Software Foundation. All Rights Reserved.