org.jruby.test
Class TestCommandlineParser

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

public class TestCommandlineParser
extends junit.framework.TestCase


Constructor Summary
TestCommandlineParser()
           
 
Method Summary
 void setUp()
           
 void testCommandAllowedOnlyOnceAndRemainderAreScriptArgs()
           
 void testCommandTakesOneArgument()
           
 void testHelpDoesNotRunIntepreter()
           
 void testParsing()
           
 void testParsingWithDashDash()
           
 void testPrintVersionDoesNotRunInterpreter()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestCommandlineParser

public TestCommandlineParser()
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

testParsing

public void testParsing()

testParsingWithDashDash

public void testParsingWithDashDash()

testPrintVersionDoesNotRunInterpreter

public void testPrintVersionDoesNotRunInterpreter()

testHelpDoesNotRunIntepreter

public void testHelpDoesNotRunIntepreter()

testCommandTakesOneArgument

public void testCommandTakesOneArgument()

testCommandAllowedOnlyOnceAndRemainderAreScriptArgs

public void testCommandAllowedOnlyOnceAndRemainderAreScriptArgs()


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