author | Jaroslav Tulach <jtulach@netbeans.org> |
Sat, 14 Jun 2008 18:51:38 +0200 | |
changeset 263 | 7e8e995065c5 |
parent 210 | acf2c31e22d4 |
permissions | -rw-r--r-- |
1 package org.apidesign.deadlock.logs;
3 import java.util.logging.Level;
4 import org.netbeans.junit.NbTestCase;
5 import static org.junit.Assert.*;
7 // BEGIN: test.parallel.test
8 public class ParallelTest extends NbTestCase {
9 public ParallelTest(String testName) {
10 super(testName);
11 }
13 @Override
14 protected Level logLevel() {
15 return Level.WARNING;
16 }
18 public void testMain() throws Exception {
19 Parallel.main(null);
20 if (Boolean.getBoolean("no.failures")) return;
21 fail("Ok, just print logged messages");
22 }
23 }
24 // END: test.parallel.test