org.apache.maven.shared.utils.cli
Class CommandLineUtilsTest

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

public class CommandLineUtilsTest
extends junit.framework.TestCase


Constructor Summary
CommandLineUtilsTest()
           
 
Method Summary
 void testEnsureCaseSensitivity()
           
 void testGetSystemEnvVarsCaseInsensitive()
          Tests that case-insensitive environment variables are normalized to upper case.
 void testGetSystemEnvVarsWindows()
          Tests that environment variables on Windows are normalized to upper case.
 void testTranslateCommandline()
          Tests the splitting of a command line into distinct arguments.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandLineUtilsTest

public CommandLineUtilsTest()
Method Detail

testGetSystemEnvVarsCaseInsensitive

public void testGetSystemEnvVarsCaseInsensitive()
Tests that case-insensitive environment variables are normalized to upper case.


testEnsureCaseSensitivity

public void testEnsureCaseSensitivity()
                               throws Exception
Throws:
Exception

testGetSystemEnvVarsWindows

public void testGetSystemEnvVarsWindows()
                                 throws Exception
Tests that environment variables on Windows are normalized to upper case. Does nothing on Unix platforms.

Throws:
Exception

testTranslateCommandline

public void testTranslateCommandline()
                              throws Exception
Tests the splitting of a command line into distinct arguments.

Throws:
Exception


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