public class BaseTestSuite
extends junit.framework.TestSuite
junit.framework.TestSuite
. This version, when
provided with a Class
argument in a constructor or method,
constructs a TestSuite
with a lexicographically sorted set of
fixtures (i.e. test cases) to avoid random fixture ordering (after Java
6). Its usage is similar to the original JUnit TestSuite
class.Modifier and Type | Field and Description |
---|---|
private static java.util.Comparator<junit.framework.TestCase> |
TEST_ORDERER
A comparator that orders
TestCase s lexicographically by
their names. |
Constructor and Description |
---|
BaseTestSuite() |
BaseTestSuite(java.lang.Class cls) |
BaseTestSuite(java.lang.Class cls,
java.lang.String name) |
BaseTestSuite(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addTestSuite(java.lang.Class cls) |
private void |
orderedSuite(java.lang.Class<?> cls) |
private static final java.util.Comparator<junit.framework.TestCase> TEST_ORDERER
TestCase
s lexicographically by
their names.Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.