update copyright
[fedora-idea.git] / plugins / testng / testData / configuration / beforeConfiguration.java
blob9abfa1a16862cee456a07359e892181c3217f8ed
1 /*
2 * Copyright 2000-2009 JetBrains s.r.o.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 import org.testng.annotations.Configuration;
17 public class Testt {
18 @<caret>Configuration(afterTestClass = true)
19 public void after1() {
22 @Configuration(afterTestMethod = true)
23 public void after2() {
26 @Configuration(afterSuite = true)
27 public void after3() {
30 @Configuration(afterGroups = {"group1"})
31 public void after4() {
34 @Configuration(afterTest = true)
35 public void after5() {
38 @Configuration(afterTestClass = false)
39 public void after21() {
42 @Configuration(afterTestMethod = false)
43 public void after22() {
46 @Configuration(afterSuite = false)
47 public void after23() {
50 @Configuration(afterTest = false)
51 public void after25() {
54 @Configuration(beforeTestClass = true)
55 public void before1() {
58 @Configuration(beforeTestMethod = true)
59 public void before2() {
62 @Configuration(beforeTest = true)
63 public void before3() {
66 @Configuration(beforeSuite = true)
67 public void before4() {
70 @Configuration(beforeGroups = {"group2"})
71 public void before5() {
74 @Configuration(beforeTestClass = false)
75 public void before21() {
78 @Configuration(beforeTestMethod = false)
79 public void before22() {
82 @Configuration(beforeTest = false)
83 public void before23() {
86 @Configuration(beforeSuite = false)
87 public void before24() {
90 @Configuration(beforeSuite = true, afterTest = true)
91 public void afterBefore(){