Debian Codegraph @

sourceTest/java/ch/systemsx/cisd/base/AllTests.java

raw
1 /*
2 * Copyright 2007 - 2018 ETH Zuerich, CISD and SIS.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 package ch.systemsx.cisd.base;
18
19 import ch.systemsx.cisd.base.convert.NativeDataTests;
20 import ch.systemsx.cisd.base.convert.NativeTaggedArrayTests;
21 import ch.systemsx.cisd.base.exceptions.IOExceptionUncheckedTests;
22 import ch.systemsx.cisd.base.io.ByteBufferRandomAccessFileTests;
23 import ch.systemsx.cisd.base.io.RandomAccessFileImplTests;
24 import ch.systemsx.cisd.base.mdarray.MDArrayTests;
25 import ch.systemsx.cisd.base.namedthread.NamingThreadPoolExecutorTest;
26 import ch.systemsx.cisd.base.unix.Unix;
27 import ch.systemsx.cisd.base.unix.UnixRootTests;
28 import ch.systemsx.cisd.base.unix.UnixTests;
29
30 /**
31 * Run all unit tests.
32 *
33 * @author Bernd Rinn
34 */
35 public class AllTests
36 {
37
38 public static void main(String[] args) throws Throwable
39 {
40 NativeDataTests.main(args);
41 System.out.println();
42 NativeTaggedArrayTests.main(args);
43 System.out.println();
44 IOExceptionUncheckedTests.main(args);
45 System.out.println();
46 ByteBufferRandomAccessFileTests.main(args);
47 System.out.println();
48 RandomAccessFileImplTests.main(args);
49 System.out.println();
50 MDArrayTests.main(args);
51 System.out.println();
52 NamingThreadPoolExecutorTest.main(args);
53 System.out.println();
54 if (Unix.isOperational())
55 {
56 UnixTests.main(args);
57 UnixRootTests.main(args);
58 } else
59 {
60 System.err.println("No unix library found.");
61 }
62 }
63
64 }