2010-11-12 12:13:56 +00:00
|
|
|
/* PokerTH automated tests.
|
|
|
|
|
Copyright (C) 2010 Lothar May
|
|
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU Affero General Public License as
|
|
|
|
|
published by the Free Software Foundation, either version 3 of the
|
|
|
|
|
License, or (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
package pokerth_test;
|
|
|
|
|
|
|
|
|
|
import org.junit.internal.TextListener;
|
|
|
|
|
import org.junit.runner.JUnitCore;
|
|
|
|
|
import org.junit.runner.RunWith;
|
|
|
|
|
import org.junit.runners.Suite;
|
|
|
|
|
|
|
|
|
|
@RunWith(Suite.class)
|
|
|
|
|
@Suite.SuiteClasses( {
|
2011-02-13 17:28:14 +00:00
|
|
|
AnnounceTest.class,
|
2011-02-13 18:48:46 +00:00
|
|
|
PlayerListTest.class,
|
2010-11-12 12:13:56 +00:00
|
|
|
GuestLoginTest.class,
|
|
|
|
|
AuthLoginTest.class,
|
2011-02-13 00:22:03 +00:00
|
|
|
PlayerInfoTest.class,
|
2010-11-12 22:43:17 +00:00
|
|
|
CreateGameTest.class,
|
2010-11-12 23:34:50 +00:00
|
|
|
CreateRankingGameTest.class,
|
2010-11-13 12:44:40 +00:00
|
|
|
StartNormalGameTest.class,
|
2010-11-14 12:52:53 +00:00
|
|
|
RunNormalGameTest.class,
|
|
|
|
|
RunRankingGameTest.class
|
2010-11-12 12:13:56 +00:00
|
|
|
})
|
|
|
|
|
public class AllTests {
|
|
|
|
|
public static void main(String[] args)
|
|
|
|
|
{
|
|
|
|
|
JUnitCore junit = new JUnitCore();
|
|
|
|
|
junit.addListener(new TextListener(System.out));
|
|
|
|
|
if (!junit.run(AllTests.class).wasSuccessful())
|
|
|
|
|
System.exit(1);
|
|
|
|
|
}
|
|
|
|
|
}
|