samples/deadlock/test/org/apidesign/deadlock/logs/ParallelTest.java
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 09:54:32 +0200
changeset 108 a420a1124988
child 203 0e46110eebc1
permissions -rw-r--r--
Enough of logging, Jesse will anyway advice to delete this part
     1 package org.apidesign.deadlock.logs;
     2 
     3 import java.util.logging.Level;
     4 import org.junit.After;
     5 import org.junit.AfterClass;
     6 import org.junit.Before;
     7 import org.junit.BeforeClass;
     8 import org.junit.Test;
     9 import org.netbeans.junit.NbTestCase;
    10 import static org.junit.Assert.*;
    11 
    12 // BEGIN: test.parallel.test
    13 public class ParallelTest extends NbTestCase {
    14     public ParallelTest(String testName) {
    15         super(testName);
    16     }
    17 
    18     @Override
    19     protected Level logLevel() {
    20         return Level.WARNING;
    21     }
    22 
    23     public void testMain() throws Exception {
    24         Parael.main(null);
    25         fail("Ok, just print logged messages");
    26     }
    27 }
    28 // END: test.parallel.test