public class TestLargeLongArray
extends TestCase
Constructor and Description |
---|
TestLargeLongArray(java.lang.String testName)
Constructor for the test unit.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
The main for the program
|
static Test |
suite()
Creates the test suite.
|
void |
testAppend() |
void |
testAppendAndSet() |
void |
testAppendAndSetInvalid() |
void |
testAppendAndSort() |
void |
testAppendAndSort2() |
void |
testAppendAndSort3() |
void |
testAppendAndSort5() |
void |
testAppendGet() |
void |
testAppendHasPadding() |
void |
testAppendSorted() |
void |
testCapacityMin() |
void |
testDetectInvalid()
Detect a zero value.
|
void |
testDoNotCopyIfNotShared()
No need to copy if not shared.
|
void |
testNonMutable()
The original array should NOT be changed.
|
void |
testNonMutableOutputNotShared()
The original array should NOT be changed.
|
void |
testOutputNotSharedNoCopy()
If the output is NOT shared then we don't need to copy the arrays.
|
void |
testOutputNotSharedSorted2()
If already sorted then don't copy on sort.
|
void |
testOutputNotSharedSorted3()
If already sorted then don't copy on sort.
|
void |
testOutputSharedSorted()
If already sorted we STILL need to copy.
|
void |
testOutputSharedSorted1()
Output of the sort method should be a new object.
|
void |
testRemove() |
void |
testRemove2() |
void |
testRemove3() |
void |
testRemoveReAllocate() |
void |
testRemoveZero() |
void |
testRemoveZero2() |
void |
testRemoveZero3() |
void |
testRepackIntoSegments()
Detect a zero value.
|
void |
testRepackRemoveEmpties()
Detect a zero value.
|
void |
testReplace() |
void |
testReplaceValidate() |
void |
testSetToUnsorted()
Don't allow a value to be set if it will make the array unsorted.
|
void |
testSizeCache() |
void |
testSortLarge() |
void |
testSortSegment() |
void |
testValidateZeroAndExpectedCapacity() |
public TestLargeLongArray(java.lang.String testName)
testName
- The name of the test unitpublic static void main(java.lang.String[] args)
args
- The command line argumentspublic static Test suite()
public void testValidateZeroAndExpectedCapacity()
public void testReplaceValidate()
public void testReplace()
public void testRemoveReAllocate()
public void testCapacityMin()
public void testAppendAndSort5()
public void testAppendAndSet()
public void testAppendAndSetInvalid()
public void testAppendAndSort()
public void testAppendAndSort2()
public void testAppendAndSort3()
public void testAppendGet()
public void testAppendHasPadding()
public void testOutputSharedSorted()
public void testOutputSharedSorted1()
public void testOutputNotSharedSorted2()
public void testOutputNotSharedSorted3()
public void testOutputNotSharedNoCopy()
public void testNonMutableOutputNotShared()
public void testNonMutable()
public void testDoNotCopyIfNotShared()
public void testSetToUnsorted()
public void testRemoveZero()
public void testRemoveZero2()
public void testRemoveZero3()
public void testSizeCache()
public void testRemove()
public void testAppendSorted()
public void testRemove3()
public void testRemove2()
public void testAppend()
public void testSortSegment()
public void testSortLarge()
public void testRepackRemoveEmpties() throws java.lang.Exception
java.lang.Exception
- a serious problempublic void testRepackIntoSegments() throws java.lang.Exception
java.lang.Exception
- a serious problempublic void testDetectInvalid() throws java.lang.Exception
java.lang.Exception
- a serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.