public final class OptimizedParallelComputerTest extends Object
ParallelComputerUtil
which configures
optimized thread resources in ParallelComputer by given JUnitCoreParameters
.ParallelComputerUtil
Modifier and Type | Field and Description |
---|---|
static int |
CPU_1 |
static int |
CPU_4 |
org.junit.rules.ExpectedException |
exception |
Stopwatch |
runtime |
Constructor and Description |
---|
OptimizedParallelComputerTest() |
Modifier and Type | Method and Description |
---|---|
static void |
afterClass() |
static void |
beforeClass() |
void |
reusableThreadCountAll(int cpu) |
void |
reusableThreadCountClassesAndMethods(int cpu) |
void |
reusableThreadCountSuitesAndClasses(int cpu) |
void |
reusableThreadCountSuitesAndMethods(int cpu) |
void |
threadCountAll(int cpu) |
void |
threadCountBoth(int cpu) |
void |
threadCountClasses(int cpu) |
void |
threadCountClassesAndMethods(int cpu) |
void |
threadCountMethods(int cpu) |
void |
threadCountSuites(int cpu) |
void |
threadCountSuitesAndClasses(int cpu) |
void |
threadCountSuitesAndMethods(int cpu) |
public static final int CPU_1
public static final int CPU_4
public final org.junit.rules.ExpectedException exception
public final Stopwatch runtime
public static void beforeClass()
public static void afterClass()
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 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
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.