Last change
on this file since 291 was
273,
checked in by sherbold, 13 years ago
|
- removed invalid "," from TestAll? test scripts
|
-
Property svn:mime-type set to
text/plain
|
File size:
654 bytes
|
Line | |
---|
1 | package de.ugoe.cs.util;
|
---|
2 |
|
---|
3 | import org.junit.runner.JUnitCore;
|
---|
4 | import org.junit.runner.RunWith;
|
---|
5 | import org.junit.runners.Suite;
|
---|
6 |
|
---|
7 | /**
|
---|
8 | * The class <code>TestAll</code> builds a suite that can be used to run all
|
---|
9 | * of the tests within its package as well as within any subpackages of its
|
---|
10 | * package.
|
---|
11 | *
|
---|
12 | * @author Steffen Herbold
|
---|
13 | * @version 1.0
|
---|
14 | */
|
---|
15 | @RunWith(Suite.class)
|
---|
16 | @Suite.SuiteClasses({
|
---|
17 | StringToolsTest.class,
|
---|
18 | FileToolsTest.class,
|
---|
19 | ArrayToolsTest.class,
|
---|
20 | de.ugoe.cs.util.console.TestAll.class
|
---|
21 | })
|
---|
22 | public class TestAll {
|
---|
23 |
|
---|
24 | public static void main(String[] args) {
|
---|
25 | JUnitCore.runClasses(new Class[] { TestAll.class });
|
---|
26 | }
|
---|
27 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.