public final class ParallelComputerUtilTest extends Object
ParallelComputerUtil
which configures
allocated thread resources in ParallelComputer by given JUnitCoreParameters
.ParallelComputerUtil
Modifier and Type | Class and Description |
---|---|
static class |
ParallelComputerUtilTest.TestClass |
Modifier and Type | Field and Description |
---|---|
static int |
CPU_1 |
static int |
CPU_4 |
org.junit.rules.ExpectedException |
exception |
Constructor and Description |
---|
ParallelComputerUtilTest() |
public static final int CPU_1
public static final int CPU_4
public final org.junit.rules.ExpectedException exception
public static void beforeClass()
public static void afterClass()
public void beforeTest() throws InterruptedException
InterruptedException
public void unknownParallel() throws TestSetFailedException
TestSetFailedException
public void unknownThreadCountSuites() throws TestSetFailedException
TestSetFailedException
public void unknownThreadCountClasses() throws TestSetFailedException
TestSetFailedException
public void unknownThreadCountMethods() throws TestSetFailedException
TestSetFailedException
public void unknownThreadCountBoth() throws TestSetFailedException
TestSetFailedException
public void unknownThreadCountAll() throws TestSetFailedException
TestSetFailedException
public void unknownThreadCountSuitesAndClasses() throws TestSetFailedException
TestSetFailedException
public void unknownThreadCountSuitesAndMethods() throws TestSetFailedException
TestSetFailedException
public void unknownThreadCountClassesAndMethods() throws TestSetFailedException
TestSetFailedException
public void useUnlimitedThreadsSuites(int cpu) throws TestSetFailedException
TestSetFailedException
public void useUnlimitedThreadsClasses(int cpu) throws TestSetFailedException
TestSetFailedException
public void unlimitedThreadsMethods(int cpu) throws TestSetFailedException
TestSetFailedException
public void unlimitedThreadsSuitesAndClasses(int cpu) throws TestSetFailedException
TestSetFailedException
public void unlimitedThreadsSuitesAndMethods(int cpu) throws TestSetFailedException
TestSetFailedException
public void unlimitedThreadsClassesAndMethods(int cpu) throws TestSetFailedException
TestSetFailedException
public void unlimitedThreadsAll(int cpu) throws TestSetFailedException
TestSetFailedException
public void threadCountSuites(int cpu) throws TestSetFailedException
TestSetFailedException
public void threadCountClasses(int cpu) throws TestSetFailedException
TestSetFailedException
public void threadCountMethods(int cpu) throws TestSetFailedException
TestSetFailedException
public void threadCountBoth(int cpu) throws TestSetFailedException
TestSetFailedException
public void threadCountClassesAndMethods(int cpu) throws TestSetFailedException
TestSetFailedException
public void threadCountSuitesAndMethods(int cpu) throws TestSetFailedException
TestSetFailedException
public void threadCountSuitesAndClasses(int cpu) throws TestSetFailedException
TestSetFailedException
public void threadCountAll(int cpu) throws TestSetFailedException
TestSetFailedException
public void everyThreadCountSuitesAndClasses(int cpu) throws TestSetFailedException
TestSetFailedException
public void everyThreadCountSuitesAndMethods(int cpu) throws TestSetFailedException
TestSetFailedException
public void everyThreadCountClassesAndMethods(int cpu) throws TestSetFailedException
TestSetFailedException
public void everyThreadCountAll(int cpu) throws TestSetFailedException
TestSetFailedException
public void reusableThreadCountSuitesAndClasses(int cpu) throws TestSetFailedException
TestSetFailedException
public void reusableThreadCountSuitesAndMethods(int cpu) throws TestSetFailedException
TestSetFailedException
public void reusableThreadCountClassesAndMethods(int cpu) throws TestSetFailedException
TestSetFailedException
public void reusableThreadCountAll(int cpu) throws TestSetFailedException
TestSetFailedException
public void suites(int cpu) throws TestSetFailedException
TestSetFailedException
public void classes(int cpu) throws TestSetFailedException
TestSetFailedException
public void methods(int cpu) throws TestSetFailedException
TestSetFailedException
public void suitesAndClasses(int cpu) throws TestSetFailedException
TestSetFailedException
public void suitesAndMethods(int cpu) throws TestSetFailedException
TestSetFailedException
public void classesAndMethods(int cpu) throws TestSetFailedException
TestSetFailedException
public void all(int cpu) throws TestSetFailedException
TestSetFailedException
public void withoutShutdown()
public void shutdown() throws TestSetFailedException
TestSetFailedException
public void forcedShutdown() throws TestSetFailedException
TestSetFailedException
public void timeoutAndForcedShutdown() throws TestSetFailedException
TestSetFailedException
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.