Package org.apache.etch.interoptester

Examples of org.apache.etch.interoptester.Test.cleanup()


    assertEquals( "foo", t.name() );
    assertEquals( 0, t.params().size() );
    assertEquals( 0, t.setup().size() );
    assertEquals( 0, t.support().size() );
    assertEquals( "bar", t.jig().name() );
    assertEquals( 0, t.cleanup().size() );
  }
 
  /** @throws Exception */
  @org.junit.Test
  public void parse7() throws Exception
View Full Code Here


    assertEquals( "setup2", t.setup().get( 1 ).name() );
    assertEquals( 2, t.support().size() );
    assertEquals( "support1", t.support().get( 0 ).name() );
    assertEquals( "support2", t.support().get( 1 ).name() );
    assertEquals( "jig1", t.jig().name() );
    assertEquals( 2, t.cleanup().size() );
    assertEquals( "cleanup1", t.cleanup().get( 0 ).name() );
    assertEquals( "cleanup2", t.cleanup().get( 1 ).name() );
  }
 
  private static class MyInteropTest implements InteropTestIntf
View Full Code Here

    assertEquals( 2, t.support().size() );
    assertEquals( "support1", t.support().get( 0 ).name() );
    assertEquals( "support2", t.support().get( 1 ).name() );
    assertEquals( "jig1", t.jig().name() );
    assertEquals( 2, t.cleanup().size() );
    assertEquals( "cleanup1", t.cleanup().get( 0 ).name() );
    assertEquals( "cleanup2", t.cleanup().get( 1 ).name() );
  }
 
  private static class MyInteropTest implements InteropTestIntf
  {
View Full Code Here

    assertEquals( "support1", t.support().get( 0 ).name() );
    assertEquals( "support2", t.support().get( 1 ).name() );
    assertEquals( "jig1", t.jig().name() );
    assertEquals( 2, t.cleanup().size() );
    assertEquals( "cleanup1", t.cleanup().get( 0 ).name() );
    assertEquals( "cleanup2", t.cleanup().get( 1 ).name() );
  }
 
  private static class MyInteropTest implements InteropTestIntf
  {
    public TestIntf getTest( String test )
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.