01: /*
02: * Copyright 2006-2007, Unitils.org
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
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.
15: */
16: package org.unitils;
17:
18: import org.junit.runner.RunWith;
19:
20: /**
21: * Base test class that will Unitils-enable your test. This base class will make sure that the
22: * core unitils test listener methods are invoked in the expected order. See {@link org.unitils.core.TestListener} for
23: * more information on the listener invocation order.
24: * <p/>
25: * This actually is an empty test class that only instructs JUnit4 to use a custom test runner for the test.
26: * As an alternative to subclassing this class, you could also add the @RunWith(UnitilsJUnit4TestClassRunner.class) to
27: * your test base class.
28: *
29: * @author Tim Ducheyne
30: */
31: @RunWith(UnitilsJUnit4TestClassRunner.class)
32: public abstract class UnitilsJUnit4 {
33:
34: }
|