Examples of itest()


Examples of org.apache.etch.interoptester.Run.itest()

  /** @throws Exception */
  @Test
  public void parse4() throws Exception
  {
    Run r = Run.parse( itest, parseXml( "<run test=\"foo\"/>" ) );
    assertSame( itest, r.itest() );
    assertEquals( "foo", r.test() );
    assertEquals( 0, r.args().size() );
  }
 
  /** @throws Exception */
 
View Full Code Here

Examples of org.apache.etch.interoptester.Run.itest()

  /** @throws Exception */
  @Test
  public void parse5() throws Exception
  {
    Run r = Run.parse( itest, parseXml( "<run test=\"bar\"></run>" ) );
    assertSame( itest, r.itest() );
    assertEquals( "bar", r.test() );
    assertEquals( 0, r.args().size() );
  }
 
  /** @throws Exception */
 
View Full Code Here

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

  @org.junit.Test
  public void parse6() throws Exception
  {
    Test t = Test.parse( itest, parseXml(
      "<test name=\"foo\"><jig><prog name=\"bar\"/></jig></test>" ) );
    assertSame( itest, t.itest() );
    assertEquals( "foo", t.name() );
    assertEquals( 0, t.params().size() );
    assertEquals( 0, t.setup().size() );
    assertEquals( 0, t.support().size() );
    assertEquals( "bar", t.jig().name() );
View Full Code Here

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

  @org.junit.Test
  public void parse7() throws Exception
  {
    Test t = Test.parse( itest, parseXml(
      "<test name=\"bar\"><params><param name=\"param1\"/><param name=\"param2\"/></params><setup><prog name=\"setup1\"/><prog name=\"setup2\"/></setup><support><prog name=\"support1\"/><prog name=\"support2\"/></support><jig><prog name=\"jig1\"/></jig><cleanup><prog name=\"cleanup1\"/><prog name=\"cleanup2\"/></cleanup></test>" ) );
    assertSame( itest, t.itest() );
    assertEquals( "bar", t.name() );
    assertEquals( 2, t.params().size() );
    assertTrue( t.params().containsKey( "param1" ) );
    assertTrue( t.params().containsKey( "param2" ) );
    assertEquals( 2, t.setup().size() );
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.