FileDocCategorySizeDatePackage
TestOptions.javaAPI DocApache Axis 1.41172Sat Apr 22 18:57:28 BST 2006test.utils

TestOptions

public class TestOptions extends TestCase

Fields Summary
Constructors Summary
public TestOptions(String name)

        super(name);
    
Methods Summary
protected voidsetup()

    
public static junit.framework.Testsuite()

        return new TestSuite(TestOptions.class);
    
public voidtestIsFlagSet()

        String[] fake_args = { "-w tiger" };
        Options ops = new Options(fake_args); 
        String result = ops.isValueSet('w");
        assertEquals("Result was: " + result + ", not tiger", "tiger", result);
    
public voidtestOptionsConstructor()

        String[] fake_args = { "-h 127.0.0.1","-p 8081","-u scott","-w tiger" };
        Options ops = new Options(fake_args);