org.jruby.util
Class ShellLauncherTest

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

public class ShellLauncherTest
extends junit.framework.TestCase


Constructor Summary
ShellLauncherTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testCanLaunchShellsFromInternallForkedRubyProcess()
           
 void testMultipleArgsAreNotSentToShellAsSingleString()
           
 void testScriptThreadProcessPuts()
           
 void testScriptVerboseOutput()
           
 void testSingleArgumentCommandOnWindowsIsOnlyRunByShellIfCommandContainsSpaces()
           
 
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

ShellLauncherTest

public ShellLauncherTest()
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

testScriptThreadProcessPuts

public void testScriptThreadProcessPuts()

testScriptVerboseOutput

public void testScriptVerboseOutput()

testCanLaunchShellsFromInternallForkedRubyProcess

public void testCanLaunchShellsFromInternallForkedRubyProcess()

testSingleArgumentCommandOnWindowsIsOnlyRunByShellIfCommandContainsSpaces

public void testSingleArgumentCommandOnWindowsIsOnlyRunByShellIfCommandContainsSpaces()

testMultipleArgsAreNotSentToShellAsSingleString

public void testMultipleArgsAreNotSentToShellAsSingleString()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception


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