Last change
on this file was
323,
checked in by sherbold, 13 years ago
|
- added JUnit tests for de.ugoe.cs.util.console.defaultcommands.CMDexec and de.ugoe.cs.util.console.defaultcommands.CMDexit
|
-
Property svn:mime-type set to
text/plain
|
File size:
740 bytes
|
Rev | Line | |
---|
[255] | 1 | package de.ugoe.cs.util.console;
|
---|
| 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 | *
|
---|
[323] | 12 | * @author Steffen Herbold
|
---|
| 13 | * @version 1.0
|
---|
[255] | 14 | */
|
---|
| 15 | @RunWith(Suite.class)
|
---|
| 16 | @Suite.SuiteClasses({
|
---|
| 17 | CommandParserTest.class,
|
---|
| 18 | FileOutputListenerTest.class,
|
---|
| 19 | TextConsoleTest.class,
|
---|
[319] | 20 | ConsoleTest.class,
|
---|
[323] | 21 | CommandExecuterTest.class,
|
---|
| 22 | de.ugoe.cs.util.console.defaultcommands.TestAll.class
|
---|
[255] | 23 | })
|
---|
| 24 | public class TestAll {
|
---|
| 25 |
|
---|
| 26 | public static void main(String[] args) {
|
---|
| 27 | JUnitCore.runClasses(new Class[] { TestAll.class });
|
---|
| 28 | }
|
---|
| 29 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.