~ubuntu-branches/ubuntu/utopic/testng/utopic

« back to all changes in this revision

Viewing changes to test/v4/src/test/configuration/BeforeTestOrdering1Test.java

  • Committer: Bazaar Package Importer
  • Author(s): Marcus Better
  • Date: 2009-05-04 10:47:43 UTC
  • Revision ID: james.westby@ubuntu.com-20090504104743-1gbwsis9q1fh3aaj
Tags: upstream-5.9+dfsg
ImportĀ upstreamĀ versionĀ 5.9+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package test.configuration;
 
2
 
 
3
import org.testng.annotations.Configuration;
 
4
import org.testng.annotations.Test;
 
5
 
 
6
public class BeforeTestOrdering1Test extends BaseBeforeTestOrdering {
 
7
  
 
8
  @Configuration(beforeTest = true)
 
9
  public void bt1() {
 
10
    log("bt1");
 
11
  }
 
12
  
 
13
  @Configuration(afterTest = true)
 
14
  public void at1() {
 
15
    log("at1");
 
16
  }
 
17
  
 
18
  @Test
 
19
  public void f1() {
 
20
    log("f1");
 
21
  }
 
22
 
 
23
  private static void ppp(String s) {
 
24
    System.out.println("[BeforeTestOrdering1Test] " + s);
 
25
  }
 
26
 
 
27
}