Second.java :  » Testing » testng » test » classgroup » Java Open Source

Java Open Source » Testing » testng 
testng » test » classgroup » Second.java
package test.classgroup;



/**
 * @testng.test dependsOnGroups="first"
 */
public class Second {

  /**
   * @tesng.test
   */
  public void verify() {
    assert First.allRun() : "Methods for class First should have been invoked first.";
  }
  
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.