org.jruby.util
Class RawArgParserTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jruby.util.RawArgParserTest
All Implemented Interfaces:
junit.framework.Test

public class RawArgParserTest
extends junit.framework.TestCase


Constructor Summary
RawArgParserTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testShouldEliminateQuotes()
           
 void testShouldKeepQuotedQuotesAndSpaces()
           
 void testShouldParseEmptyArgs()
           
 void testShouldParseRealCommand()
           
 void testShouldParseSingleArg()
           
 void testShouldSkipSpaces()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RawArgParserTest

public RawArgParserTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testShouldParseEmptyArgs

public void testShouldParseEmptyArgs()

testShouldParseSingleArg

public void testShouldParseSingleArg()

testShouldSkipSpaces

public void testShouldSkipSpaces()

testShouldEliminateQuotes

public void testShouldEliminateQuotes()

testShouldKeepQuotedQuotesAndSpaces

public void testShouldKeepQuotedQuotesAndSpaces()

testShouldParseRealCommand

public void testShouldParseRealCommand()


Copyright © 2002-2007 JRuby Team. All Rights Reserved.