org.apache.maven.shared.utils.cli.shell
Class BourneShellTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.shared.utils.cli.shell.BourneShellTest
All Implemented Interfaces:
junit.framework.Test

public class BourneShellTest
extends junit.framework.TestCase


Constructor Summary
BourneShellTest()
           
 
Method Summary
 void testAddSingleQuotesOnArgumentWithSpaces()
           
 void testArgumentsWithsemicolon()
           
 void testBourneShellQuotingCharacters()
           
 void testPreserveSingleQuotesOnArgument()
           
 void testQuoteWorkingDirectoryAndExecutable_WDPathWithSingleQuotes_BackslashFileSep()
           
 void testQuoteWorkingDirectoryAndExecutable_WDPathWithSingleQuotes()
           
 void testQuoteWorkingDirectoryAndExecutable()
           
 
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BourneShellTest

public BourneShellTest()
Method Detail

testQuoteWorkingDirectoryAndExecutable

public void testQuoteWorkingDirectoryAndExecutable()

testQuoteWorkingDirectoryAndExecutable_WDPathWithSingleQuotes

public void testQuoteWorkingDirectoryAndExecutable_WDPathWithSingleQuotes()

testQuoteWorkingDirectoryAndExecutable_WDPathWithSingleQuotes_BackslashFileSep

public void testQuoteWorkingDirectoryAndExecutable_WDPathWithSingleQuotes_BackslashFileSep()

testPreserveSingleQuotesOnArgument

public void testPreserveSingleQuotesOnArgument()

testAddSingleQuotesOnArgumentWithSpaces

public void testAddSingleQuotesOnArgumentWithSpaces()

testArgumentsWithsemicolon

public void testArgumentsWithsemicolon()

testBourneShellQuotingCharacters

public void testBourneShellQuotingCharacters()
                                      throws Exception
Throws:
Exception


Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.