rt/aot-nb-test/src/test/java/org/apidesign/bck2brwsr/aot/junit/test/JUnitRunTest.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sat, 19 Mar 2016 12:51:03 +0100
changeset 1895 bfaf3300b7ba
parent 1787 rt/aot-nb-test/src/test/java/org/apidesign/bck2brwsr/aot/nb/test/LookupGetTest.java@ea12a3bb4b33
permissions -rw-r--r--
Making java.util.concurrent package compilable except ForkJoinPool
jaroslav@1728
     1
/**
jaroslav@1728
     2
 * Back 2 Browser Bytecode Translator
jaroslav@1787
     3
 * Copyright (C) 2012-2015 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
jaroslav@1728
     4
 *
jaroslav@1728
     5
 * This program is free software: you can redistribute it and/or modify
jaroslav@1728
     6
 * it under the terms of the GNU General Public License as published by
jaroslav@1728
     7
 * the Free Software Foundation, version 2 of the License.
jaroslav@1728
     8
 *
jaroslav@1728
     9
 * This program is distributed in the hope that it will be useful,
jaroslav@1728
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
jaroslav@1728
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
jaroslav@1728
    12
 * GNU General Public License for more details.
jaroslav@1728
    13
 *
jaroslav@1728
    14
 * You should have received a copy of the GNU General Public License
jaroslav@1728
    15
 * along with this program. Look for COPYING file in the top folder.
jaroslav@1728
    16
 * If not, see http://opensource.org/licenses/GPL-2.0.
jaroslav@1728
    17
 */
jaroslav@1895
    18
package org.apidesign.bck2brwsr.aot.junit.test;
jaroslav@1728
    19
jaroslav@1895
    20
import org.apidesign.bck2brwsr.aot.junit.RunTest;
jaroslav@1728
    21
import org.apidesign.bck2brwsr.vmtest.Compare;
jaroslav@1728
    22
import org.apidesign.bck2brwsr.vmtest.VMTest;
jaroslav@1728
    23
import org.testng.annotations.Factory;
jaroslav@1728
    24
jaroslav@1728
    25
/**
jaroslav@1728
    26
 *
jaroslav@1728
    27
 * @author Jaroslav Tulach
jaroslav@1728
    28
 */
jaroslav@1895
    29
public class JUnitRunTest {
jaroslav@1895
    30
    @Compare public String runTests() throws Exception {
jaroslav@1895
    31
        return RunTest.run();
jaroslav@1731
    32
    }
jaroslav@1731
    33
jaroslav@1728
    34
    @Factory public static Object[] create() {
jaroslav@1895
    35
        return VMTest.create(JUnitRunTest.class);
jaroslav@1731
    36
    }
jaroslav@1728
    37
}