Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
1049 0 0 3 99.7% 4.056 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
- 797 0 0 2 99.7% 3.221 s
org.soliscode.test.numeric 10 0 0 0 100% 0.187 s
org.soliscode.test.interfaces 14 0 0 0 100% 0.013 s
org.soliscode.test.contract 1 0 0 1 0% 0 s
org.soliscode.test.breakable 108 0 0 0 100% 0.198 s
org.soliscode.test.object 13 0 0 0 100% 0.025 s
org.soliscode.test.assertions 26 0 0 0 100% 0.188 s
org.soliscode.test.collection 80 0 0 0 100% 0.224 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

- Class Tests Errors Failures Skipped Success Rate Time
Tests for thhe ObjectContrct test 0 0 0 0 0% 0.043 s
Test the TestList interface using an ArrayList Test the TestList interface using an ArrayList that does not accept nulls 106 0 0 0 100% 0.275 s
Tests for the IterableOnly class 35 0 0 0 100% 0.089 s
Tests for AssertIsEmpty class 3 0 0 0 100% 0.028 s
Test the TestList interface using an ArrayList Test the TestList interface using an ArrayList that is unmodifiable 106 0 0 0 100% 0.258 s
Tests for BreakableIterator 9 0 0 0 100% 0.031 s
Tests for BreakableIterable 51 0 0 0 100% 0.213 s
Tests for assertContains 4 0 0 0 100% 0.025 s
Test the TestList interface using an ArrayList 106 0 0 0 100% 1.059 s
Tests for CollectionContract class WorkingCollectionTest 80 0 0 0 100% 0.240 s
Tests for CollectionContract class 36 0 0 2 94.4% 0.385 s
Tests for thhe ObjectContrct test Test ObjectContract with String class 13 0 0 0 100% 0.033 s
Tests for BreakableSpliterator 16 0 0 0 100% 0.016 s
Tests for the CollectionOnly class 81 0 0 0 100% 0.145 s
Tests for the IterableOnly class 40 0 0 0 100% 0.126 s
Test the TestList interface using an ArrayList Test the TestList interface using an ArrayList that does not permit incompatible types 106 0 0 0 100% 0.232 s
Tests for AssertIsSame class 5 0 0 0 100% 0.023 s

org.soliscode.test.numeric

- Class Tests Errors Failures Skipped Success Rate Time
IntegerTest 4 0 0 0 100% 0.133 s
UncachedIntegerTest 6 0 0 0 100% 0.054 s

org.soliscode.test.interfaces

- Class Tests Errors Failures Skipped Success Rate Time
ObjectOnlyTest 14 0 0 0 100% 0.013 s

org.soliscode.test.contract

- Class Tests Errors Failures Skipped Success Rate Time
IterableContractTest 1 0 0 1 0% 0 s

org.soliscode.test.breakable

- Class Tests Errors Failures Skipped Success Rate Time
BreakableCollectionTest 108 0 0 0 100% 0.198 s

org.soliscode.test.object

- Class Tests Errors Failures Skipped Success Rate Time
StringTest 13 0 0 0 100% 0.025 s

org.soliscode.test.assertions

- Class Tests Errors Failures Skipped Success Rate Time
AssertContainsAllTest 5 0 0 0 100% 0.064 s
AssertContainsNoneTest 5 0 0 0 100% 0.024 s
AssertContainsAllByIdentityTest 6 0 0 0 100% 0.039 s
AssertContainsSameTest 5 0 0 0 100% 0.026 s
AssertContainsSameByIdentityTest 5 0 0 0 100% 0.035 s

org.soliscode.test.collection

- Class Tests Errors Failures Skipped Success Rate Time
HashSetTest 80 0 0 0 100% 0.224 s

Test Cases

[Summary] [Package List] [Test Cases]

Test the TestList interface using an ArrayList Test the TestList interface using an ArrayList that does not accept nulls

The toArray method works on an empty container. 0.003 s
Test isEmpty returns false for a collection with elements 0.001 s
The estimateSize method can be called on an empty container 0 s
The toArray method works on an empty container. 0.001 s
testForEachRemainingOverEntireCollection 0.001 s
testAddAllToContainer 0.001 s
The removeAll method throws on a null collection 0.001 s
The removeIf method can be called on an empty container 0.001 s
Test that the getFirst method works 0.001 s
The retainAll method works with incompatible types 0.002 s
The toArray method works on a container with elements 0.001 s
Test that the addLast method adds elements to the end of the collection 0.002 s
testIteratorOverEmptyCollection 0.001 s
Test clear works for an empty collection 0.002 s
The Spliterator.tryAdvance method can be called on an empty container 0.001 s
Test that the add method appends to the end of the list 0.002 s
Test that the get method works 0.001 s
Test that the set method works 0.002 s
The parallelStream method can be called on a collection with elements 0.002 s
testIteratorRemove 0.002 s
The removeAll method can be called on an empty container 0.001 s
The removeIf method works on a container with elements 0.002 s
Test clear works for a collection with elements 0.001 s
ForEach throws a NullPointerException when called with a null action 0.001 s
Test that the set method works with a null element 0.002 s
The Spliterator.forEachRemaining method can be called on an empty container 0.001 s
Test that the indexOf method works with a null value 0.001 s
Test that the set method works on an empty list 0.001 s
The retainAll method throws on a null collection 0.001 s
testSizeOnEmptyCollection 0.001 s
hashCode() returns integer that have a uniform distribution. 0.006 s
the equals() method is consistent 0.001 s
ForEach does not call the action for an iterable with no elements 0.001 s
The remove method works on a container with elements 0.001 s
Test that the removeLast method throws for an empty collection 0 s
Test that the removeFirst method works 0 s
The remove method works with null elements 0.001 s
The remove method works with incompatible types 0.001 s
testContainsOnCollectionWithNulls 0 s
The parallelStream method can be called on an empty collection 0.001 s
The getExactSizeIfKnown method can be called on a container with elements 0 s
Test that the addFirst method works with duplicate element values 0.001 s
hashCode() returns the same integer for equals values 0.001 s
testToStringIsConsistent 0.001 s
The stream method can be called on an empty collection 0.001 s
The retainAll method can be called on an empty container 0.001 s
The removeAll method works with null elements 0.001 s
The addFirst method works 0.001 s
The Spliterator.forEachRemaining method can be called on a container with elements 0.001 s
testIteratorRemoveThrowsOnIllegalState 0.001 s
Test that the getLast method works 0 s
testContainsAllOnEmptyCollection 0.001 s
testAddAllWithNullValue 0.001 s
The hasCharacteristics method works 0.001 s
Test that the add method works with duplicate element values 0.001 s
The Spliterator.trySplit method can be called on an empty container 0 s
testContainsOnEmptyCollection 0.001 s
Test isEmpty returns true for an empty collection 0.001 s
testAddAllWithDuplicateValue 0.001 s
testToStringForEqualValues 0.004 s
The removeAll method works with incompatible types 0.001 s
Test that the getLast method throws for an empty collection 0.001 s
The retainAll method works on a container with elements 0.001 s
testContainsOnCollectionWithElements 0.001 s
The removeIf method throws on a null filter 0 s
Test that the getFirst method throws for an empty collection 0.001 s
testForEachRemainingOverPartialCollection 0.001 s
testIteratorOverCollectionWithElements 0.001 s
testContainsAllOnCollectionWithElements 0 s
ForEach calls the action each element in an iterable 0.001 s
the equals() method is reflexive 0.002 s
Test that the removeLast method works 0.007 s
the reverse methods returns a reversed view of the collection. 0.001 s
The toArray(T[]) method throws on a null array. 0.001 s
The Spliterator.estimateSize method can be called on a container with elements 0.001 s
Test that the set method throws for invalid index 0 s
testToStringOverridden 0.001 s
Test that the add method works with null element values 0.001 s
The Spliterator.tryAdvance method can be called on a container with elements 0 s
the equals() method is symmetric 0.001 s
The Spliterator.trySplit method can be called on a container with elements 0.001 s
The addFirst method works with null element values 0.001 s
hashCode() returns the same integer for multiple invocations. 0.001 s
testSizeOnCollectionWithElements 0.001 s
Test that the addFirst method works with null element values 0.001 s
Test that the removeFirst method throws for an empty collection 0.001 s
Test that the indexOf method works with an incompatible type 0.001 s
testContainsWithIncompatibleType 0 s
testContainsAllOnCollectionWithNulls 0 s
The getExactSizeIfKnown method can be called on an empty container 0.001 s
Test that the get method throws for invalid index 0.001 s
hashCode() returns different integer for values that are not equal. 0.014 s
The toArray method returns a safe array 0.005 s
testContainsAllWithIncompatibleType 0.001 s
testToStringForDifferentValues 0.001 s
Test that the indexOf method works 0 s
Test that the indexOf method works on an empty list 0.001 s
Test that the get method works on an empty list 0 s
The stream method can be called on a collection with elements 0.001 s
testForEachRemainingForNullAction 0.001 s
The remove method can be called on an empty container 0.001 s
The addFirst method works with duplicate element values 0.001 s
The toArray method works on a container with elements 0 s
the equals() method is transitive 0.001 s
The removeAll method works on a container with elements 0.001 s
testEqualsForNullValue 0.001 s

IntegerTest

The floatValue() function works for various values. 0.045 s
The longValue() function works for various values. 0.002 s
The intValue() function works for various values. 0.003 s
The doubleValue() function works for various values. 0.002 s

AssertContainsAllTest

testAssertContainsAllOnNullCollection 0.024 s
testAssertContainsAllWithMessageSupplier 0.009 s
testAssertContainsAllWithMessage 0.002 s
testAssertContainsAllOnEmptyCollection 0.007 s
testAssertContainsAllOnCollectionWithElements 0.001 s

AssertContainsNoneTest

testAssertContainsNoneOnEmptyCollection 0.007 s
testAssertContainsNoneWithMessageSupplier 0.003 s
testAssertContainsNoneWithMessage 0.001 s
testAssertContainsNoneOnNullCollection 0.001 s
testAssertContainsNoneOnCollectionWithElements 0.002 s

UncachedIntegerTest

The floatValue() function works for various values. 0.005 s
The longValue() function works for various values. 0.010 s
The intValue() function works for various values. 0.007 s
The doubleValue() function works for various values. 0.003 s
The valueOf() method works. 0.006 s
The valueOf() method does not cache values 0.003 s

Tests for the IterableOnly class

The estimateSize method can be called on an empty container 0.011 s
testForEachRemainingOverEntireCollection 0.002 s
testIteratorOverEmptyCollection 0.008 s
The Spliterator.tryAdvance method can be called on an empty container 0 s
testIteratorRemove 0.001 s
ForEach throws a NullPointerException when called with a null action 0.001 s
The Spliterator.forEachRemaining method can be called on an empty container 0 s
hashCode() returns integer that have a uniform distribution. 0.004 s
the equals() method is consistent 0.008 s
ForEach does not call the action for an iterable with no elements 0 s
The getExactSizeIfKnown method can be called on a container with elements 0 s
hashCode() returns the same integer for equals values 0.001 s
testToStringIsConsistent 0.001 s
The Spliterator.forEachRemaining method can be called on a container with elements 0.007 s
testIteratorRemoveThrowsOnIllegalState 0.001 s
The hasCharacteristics method works 0 s
The Spliterator.trySplit method can be called on an empty container 0 s
testToStringForEqualValues 0 s
testForEachRemainingOverPartialCollection 0 s
testIteratorOverCollectionWithElements 0 s
ForEach calls the action each element in an iterable 0 s
the equals() method is reflexive 0 s
The Spliterator.estimateSize method can be called on a container with elements 0 s
testToStringOverridden 0.001 s
The Spliterator.tryAdvance method can be called on a container with elements 0.001 s
the equals() method is symmetric 0 s
The Spliterator.trySplit method can be called on a container with elements 0 s
hashCode() returns the same integer for multiple invocations. 0 s
The getExactSizeIfKnown method can be called on an empty container 0 s
hashCode() returns different integer for values that are not equal. 0 s
testToStringForDifferentValues 0 s
testForEachRemainingForNullAction 0 s
the equals() method is transitive 0 s
testEqualsForNullValue 0.001 s
IterableOnly only implements the Iterable interface. 0.002 s

Tests for AssertIsEmpty class

testAssertIsEmptyOnIterable 0.007 s
testAssertIsEmptyOnCollection 0.008 s
testAssertSameSizeWithMessageSupplier 0.008 s

Test the TestList interface using an ArrayList Test the TestList interface using an ArrayList that is unmodifiable

The toArray method works on an empty container. 0.002 s
Test isEmpty returns false for a collection with elements 0.001 s
The estimateSize method can be called on an empty container 0.001 s
The toArray method works on an empty container. 0 s
testForEachRemainingOverEntireCollection 0.001 s
testAddAllToContainer 0.002 s
The removeAll method throws on a null collection 0.001 s
The removeIf method can be called on an empty container 0.001 s
Test that the getFirst method works 0.001 s
The retainAll method works with incompatible types 0.001 s
The toArray method works on a container with elements 0.001 s
Test that the addLast method adds elements to the end of the collection 0.001 s
testIteratorOverEmptyCollection 0.001 s
Test clear works for an empty collection 0 s
The Spliterator.tryAdvance method can be called on an empty container 0.001 s
Test that the add method appends to the end of the list 0.001 s
Test that the get method works 0.001 s
Test that the set method works 0.001 s
The parallelStream method can be called on a collection with elements 0.001 s
testIteratorRemove 0.001 s
The removeAll method can be called on an empty container 0.001 s
The removeIf method works on a container with elements 0.001 s
Test clear works for a collection with elements 0 s
ForEach throws a NullPointerException when called with a null action 0.001 s
Test that the set method works with a null element 0.001 s
The Spliterator.forEachRemaining method can be called on an empty container 0.001 s
Test that the indexOf method works with a null value 0 s
Test that the set method works on an empty list 0 s
The retainAll method throws on a null collection 0 s
testSizeOnEmptyCollection 0.001 s
hashCode() returns integer that have a uniform distribution. 0.003 s
the equals() method is consistent 0.001 s
ForEach does not call the action for an iterable with no elements 0.001 s
The remove method works on a container with elements 0.002 s
Test that the removeLast method throws for an empty collection 0.001 s
Test that the removeFirst method works 0.001 s
The remove method works with null elements 0 s
The remove method works with incompatible types 0.007 s
testContainsOnCollectionWithNulls 0 s
The parallelStream method can be called on an empty collection 0 s
The getExactSizeIfKnown method can be called on a container with elements 0.001 s
Test that the addFirst method works with duplicate element values 0.001 s
hashCode() returns the same integer for equals values 0.001 s
testToStringIsConsistent 0.001 s
The stream method can be called on an empty collection 0.001 s
The retainAll method can be called on an empty container 0.001 s
The removeAll method works with null elements 0.001 s
The addFirst method works 0.001 s
The Spliterator.forEachRemaining method can be called on a container with elements 0.001 s
testIteratorRemoveThrowsOnIllegalState 0.007 s
Test that the getLast method works 0.001 s
testContainsAllOnEmptyCollection 0 s
testAddAllWithNullValue 0.001 s
The hasCharacteristics method works 0.001 s
Test that the add method works with duplicate element values 0.002 s
The Spliterator.trySplit method can be called on an empty container 0 s
testContainsOnEmptyCollection 0 s
Test isEmpty returns true for an empty collection 0.003 s
testAddAllWithDuplicateValue 0.001 s
testToStringForEqualValues 0 s
The removeAll method works with incompatible types 0.001 s
Test that the getLast method throws for an empty collection 0.001 s
The retainAll method works on a container with elements 0 s
testContainsOnCollectionWithElements 0.001 s
The removeIf method throws on a null filter 0.001 s
Test that the getFirst method throws for an empty collection 0.006 s
testForEachRemainingOverPartialCollection 0.001 s
testIteratorOverCollectionWithElements 0 s
testContainsAllOnCollectionWithElements 0 s
ForEach calls the action each element in an iterable 0.010 s
the equals() method is reflexive 0 s
Test that the removeLast method works 0.001 s
the reverse methods returns a reversed view of the collection. 0.001 s
The toArray(T[]) method throws on a null array. 0.001 s
The Spliterator.estimateSize method can be called on a container with elements 0.001 s
Test that the set method throws for invalid index 0 s
testToStringOverridden 0.001 s
Test that the add method works with null element values 0.001 s
The Spliterator.tryAdvance method can be called on a container with elements 0.001 s
the equals() method is symmetric 0.001 s
The Spliterator.trySplit method can be called on a container with elements 0.001 s
The addFirst method works with null element values 0.001 s
hashCode() returns the same integer for multiple invocations. 0 s
testSizeOnCollectionWithElements 0 s
Test that the addFirst method works with null element values 0 s
Test that the removeFirst method throws for an empty collection 0.001 s
Test that the indexOf method works with an incompatible type 0.001 s
testContainsWithIncompatibleType 0.001 s
testContainsAllOnCollectionWithNulls 0.001 s
The getExactSizeIfKnown method can be called on an empty container 0.001 s
Test that the get method throws for invalid index 0.008 s
hashCode() returns different integer for values that are not equal. 0 s
The toArray method returns a safe array 0 s
testContainsAllWithIncompatibleType 0 s
testToStringForDifferentValues 0.007 s
Test that the indexOf method works 0.001 s
Test that the indexOf method works on an empty list 0.001 s
Test that the get method works on an empty list 0 s
The stream method can be called on a collection with elements 0.006 s
testForEachRemainingForNullAction 0.001 s
The remove method can be called on an empty container 0.008 s
The addFirst method works with duplicate element values 0.001 s
The toArray method works on a container with elements 0 s
the equals() method is transitive 0.001 s
The removeAll method works on a container with elements 0.001 s
testEqualsForNullValue 0.001 s

Tests for BreakableIterator

Test the `remove` method with the ITERATOR_REMOVE_DOES_NOT_REMOVE_ELEMENT break 0.001 s
Test the `forEachRemaining` method with the ITERATOR_FOR_EACH_REMAINING_DOES_NOT_CALL_ACTION break 0 s
Test the `hasNext` method with the ITERATOR_HAS_NEXT_RETURNS_OPPOSITE_VALUE break 0 s
Test the `next` method with the ITERATOR_NEXT_ALWAYS_RETURNS_NULL break 0 s
Test the `hasNext` method with the ITERATOR_HAS_NEXT_ALWAYS_RETURNS_FALSE break 0.004 s
Test the `hasNext` method with the ITERATOR_HAS_NEXT_ALWAYS_RETURNS_TRUE break 0.005 s
Test the `next` method with the ITERATOR_NEXT_THROWS_WRONG_EXCEPTION break 0.005 s
Test the iterator with the ITERATOR_IS_ALWAYS_EMPTY break 0.002 s
Test the iterator with the ITERATOR_SKIPS_FIRST_ELEMENT break 0.003 s

AssertContainsAllByIdentityTest

testAssertSameSizeOnCollectionWithElements 0.014 s
testAssertSameSizeOnEmptyCollection 0.006 s
testAssertSameSizeWithMessage 0.001 s
testAssertSameSizeWithMessageSupplier 0.001 s
testAssertSameSizeOnCollectionWithEqualElements 0.012 s
testAssertSameSizeOnNullCollection 0.002 s

Tests for BreakableIterable

The estimateSize method can be called on an empty container 0.001 s
testForEachRemainingOverEntireCollection 0 s
testIteratorOverEmptyCollection 0 s
The Spliterator.tryAdvance method can be called on an empty container 0 s
testIteratorRemove 0 s
ForEach throws a NullPointerException when called with a null action 0 s
The Spliterator.forEachRemaining method can be called on an empty container 0 s
hashCode() returns integer that have a uniform distribution. 0.004 s
the equals() method is consistent 0 s
ForEach does not call the action for an iterable with no elements 0.001 s
The getExactSizeIfKnown method can be called on a container with elements 0 s
hashCode() returns the same integer for equals values 0.001 s
testToStringIsConsistent 0 s
The Spliterator.forEachRemaining method can be called on a container with elements 0.001 s
testIteratorRemoveThrowsOnIllegalState 0.001 s
The hasCharacteristics method works 0 s
The Spliterator.trySplit method can be called on an empty container 0.001 s
testToStringForEqualValues 0 s
testForEachRemainingOverPartialCollection 0.001 s
testIteratorOverCollectionWithElements 0 s
ForEach calls the action each element in an iterable 0.001 s
the equals() method is reflexive 0 s
The Spliterator.estimateSize method can be called on a container with elements 0 s
testToStringOverridden 0 s
The Spliterator.tryAdvance method can be called on a container with elements 0 s
the equals() method is symmetric 0 s
The Spliterator.trySplit method can be called on a container with elements 0 s
hashCode() returns the same integer for multiple invocations. 0.009 s
The getExactSizeIfKnown method can be called on an empty container 0 s
hashCode() returns different integer for values that are not equal. 0 s
testToStringForDifferentValues 0.001 s
testForEachRemainingForNullAction 0 s
the equals() method is transitive 0 s
testEqualsForNullValue 0 s
Test the `forEach` method with the FOR_EACH_DOES_NOT_CALL_ACTION break 0.001 s
The copy constructor creates a correct copy. 0.006 s
Test the `forEach` method with the FOR_EACH_THROWS_WRONG_EXCEPTION_FOR_NULL_ARGUMENT break 0.001 s
testBuilderSetCharacteristics(int)[1] 16 0.069 s
testBuilderSetCharacteristics(int)[2] 1 0.001 s
testBuilderSetCharacteristics(int)[3] 4 0 s
testBuilderSetCharacteristics(int)[4] 64 0.001 s
testBuilderSetCharacteristics(int)[5] 16384 0.001 s
testBuilderSetCharacteristics(int)[6] 256 0.001 s
testBuilderSetCharacteristics(int)[7] 1024 0.001 s
testBuilderSetCharacteristics(int)[8] 4096 0.001 s
testIteratorRemoveWithoutSupport 0.002 s
testBuilderAddElements 0.003 s
Test the `forEach` method with the FOR_EACH_SKIPS_FIRST_ELEMENT break 0.001 s
testIteratorForEachRemainingWithoutSupport 0.002 s
Test the `forEach` method with the FOR_EACH_SKIPS_LAST_ELEMENT break 0.002 s
testBuilderCopy 0 s

Tests for assertContains

Test assertContains with an iterable 0.003 s
Test assertContains with a null collection 0.002 s
Test assertContains with an empty collection 0.001 s
Test assertContains with a collection 0.002 s

Test the TestList interface using an ArrayList

The toArray method works on an empty container. 0.011 s
Test isEmpty returns false for a collection with elements 0.001 s
The estimateSize method can be called on an empty container 0.001 s
The toArray method works on an empty container. 0.001 s
testForEachRemainingOverEntireCollection 0.001 s
testAddAllToContainer 0.001 s
The removeAll method throws on a null collection 0.001 s
The removeIf method can be called on an empty container 0 s
Test that the getFirst method works 0.001 s
The retainAll method works with incompatible types 0 s
The toArray method works on a container with elements 0.002 s
Test that the addLast method adds elements to the end of the collection 0.001 s
testIteratorOverEmptyCollection 0 s
Test clear works for an empty collection 0.001 s
The Spliterator.tryAdvance method can be called on an empty container 0.001 s
Test that the add method appends to the end of the list 0.001 s
Test that the get method works 0 s
Test that the set method works 0.001 s
The parallelStream method can be called on a collection with elements 0.001 s
testIteratorRemove 0.001 s
The removeAll method can be called on an empty container 0 s
The removeIf method works on a container with elements 0.001 s
Test clear works for a collection with elements 0.001 s
ForEach throws a NullPointerException when called with a null action 0 s
Test that the set method works with a null element 0.001 s
The Spliterator.forEachRemaining method can be called on an empty container 0.001 s
Test that the indexOf method works with a null value 0 s
Test that the set method works on an empty list 0.001 s
The retainAll method throws on a null collection 0 s
testSizeOnEmptyCollection 0.001 s
hashCode() returns integer that have a uniform distribution. 0.004 s
the equals() method is consistent 0.001 s
ForEach does not call the action for an iterable with no elements 0 s
The remove method works on a container with elements 0 s
Test that the removeLast method throws for an empty collection 0.001 s
Test that the removeFirst method works 0.001 s
The remove method works with null elements 0.001 s
The remove method works with incompatible types 0.001 s
testContainsOnCollectionWithNulls 0 s
The parallelStream method can be called on an empty collection 0 s
The getExactSizeIfKnown method can be called on a container with elements 0.001 s
Test that the addFirst method works with duplicate element values 0.001 s
hashCode() returns the same integer for equals values 0.001 s
testToStringIsConsistent 0 s
The stream method can be called on an empty collection 0 s
The retainAll method can be called on an empty container 0.001 s
The removeAll method works with null elements 0.001 s
The addFirst method works 0.001 s
The Spliterator.forEachRemaining method can be called on a container with elements 0 s
testIteratorRemoveThrowsOnIllegalState 0.001 s
Test that the getLast method works 0.001 s
testContainsAllOnEmptyCollection 0 s
testAddAllWithNullValue 0.001 s
The hasCharacteristics method works 0.001 s
Test that the add method works with duplicate element values 0 s
The Spliterator.trySplit method can be called on an empty container 0.001 s
testContainsOnEmptyCollection 0.001 s
Test isEmpty returns true for an empty collection 0.001 s
testAddAllWithDuplicateValue 0.001 s
testToStringForEqualValues 0 s
The removeAll method works with incompatible types 0 s
Test that the getLast method throws for an empty collection 0.001 s
The retainAll method works on a container with elements 0.001 s
testContainsOnCollectionWithElements 0.001 s
The removeIf method throws on a null filter 0.001 s
Test that the getFirst method throws for an empty collection 0.001 s
testForEachRemainingOverPartialCollection 0.002 s
testIteratorOverCollectionWithElements 0.001 s
testContainsAllOnCollectionWithElements 0.001 s
ForEach calls the action each element in an iterable 0.001 s
the equals() method is reflexive 0.001 s
Test that the removeLast method works 0.001 s
the reverse methods returns a reversed view of the collection. 0.001 s
The toArray(T[]) method throws on a null array. 0.001 s
The Spliterator.estimateSize method can be called on a container with elements 0.001 s
Test that the set method throws for invalid index 0.001 s
testToStringOverridden 0.002 s
Test that the add method works with null element values 0.001 s
The Spliterator.tryAdvance method can be called on a container with elements 0.001 s
the equals() method is symmetric 0.001 s
The Spliterator.trySplit method can be called on a container with elements 0.001 s
The addFirst method works with null element values 0.001 s
hashCode() returns the same integer for multiple invocations. 0.001 s
testSizeOnCollectionWithElements 0.001 s
Test that the addFirst method works with null element values 0.001 s
Test that the removeFirst method throws for an empty collection 0.001 s
Test that the indexOf method works with an incompatible type 0 s
testContainsWithIncompatibleType 0.001 s
testContainsAllOnCollectionWithNulls 0.001 s
The getExactSizeIfKnown method can be called on an empty container 0 s
Test that the get method throws for invalid index 0.001 s
hashCode() returns different integer for values that are not equal. 0.001 s
The toArray method returns a safe array 0 s
testContainsAllWithIncompatibleType 0 s
testToStringForDifferentValues 0.001 s
Test that the indexOf method works 0.001 s
Test that the indexOf method works on an empty list 0 s
Test that the get method works on an empty list 0.001 s
The stream method can be called on a collection with elements 0.001 s
testForEachRemainingForNullAction 0.001 s
The remove method can be called on an empty container 0 s
The addFirst method works with duplicate element values 0.001 s
The toArray method works on a container with elements 0.001 s
the equals() method is transitive 0 s
The removeAll method works on a container with elements 0 s
testEqualsForNullValue 0.001 s

BreakableCollectionTest

The toArray method works on an empty container. 0.005 s
Test isEmpty returns false for a collection with elements 0.001 s
The estimateSize method can be called on an empty container 0 s
The toArray method works on an empty container. 0 s
testForEachRemainingOverEntireCollection 0.001 s
testAddAllToContainer 0 s
The removeAll method throws on a null collection 0 s
The removeIf method can be called on an empty container 0 s
The retainAll method works with incompatible types 0 s
The toArray method works on a container with elements 0 s
testIteratorOverEmptyCollection 0.001 s
Test clear works for an empty collection 0 s
The Spliterator.tryAdvance method can be called on an empty container 0.001 s
Test that the add method works 0 s
The parallelStream method can be called on a collection with elements 0.004 s
testIteratorRemove 0 s
The removeAll method can be called on an empty container 0.001 s
The removeIf method works on a container with elements 0.001 s
Test clear works for a collection with elements 0 s
ForEach throws a NullPointerException when called with a null action 0 s
The Spliterator.forEachRemaining method can be called on an empty container 0 s
The retainAll method throws on a null collection 0.001 s
testSizeOnEmptyCollection 0.002 s
hashCode() returns integer that have a uniform distribution. 0.008 s
the equals() method is consistent 0 s
ForEach does not call the action for an iterable with no elements 0.001 s
The remove method works on a container with elements 0.003 s
The remove method works with null elements 0.001 s
The remove method works with incompatible types 0.001 s
testContainsOnCollectionWithNulls 0.003 s
The parallelStream method can be called on an empty collection 0.001 s
The getExactSizeIfKnown method can be called on a container with elements 0.001 s
hashCode() returns the same integer for equals values 0 s
testToStringIsConsistent 0 s
The stream method can be called on an empty collection 0.001 s
The retainAll method can be called on an empty container 0 s
The removeAll method works with null elements 0 s
The Spliterator.forEachRemaining method can be called on a container with elements 0.003 s
testIteratorRemoveThrowsOnIllegalState 0.002 s
testContainsAllOnEmptyCollection 0.002 s
testAddAllWithNullValue 0.002 s
The hasCharacteristics method works 0.003 s
Test that the add method works with duplicate element values 0.001 s
The Spliterator.trySplit method can be called on an empty container 0 s
testContainsOnEmptyCollection 0.001 s
Test isEmpty returns true for an empty collection 0 s
testAddAllWithDuplicateValue 0.003 s
testToStringForEqualValues 0 s
The removeAll method works with incompatible types 0.001 s
The retainAll method works on a container with elements 0 s
testContainsOnCollectionWithElements 0 s
The removeIf method throws on a null filter 0.001 s
testForEachRemainingOverPartialCollection 0 s
testIteratorOverCollectionWithElements 0.001 s
testContainsAllOnCollectionWithElements 0.001 s
ForEach calls the action each element in an iterable 0.001 s
the equals() method is reflexive 0.001 s
The toArray(T[]) method throws on a null array. 0 s
The Spliterator.estimateSize method can be called on a container with elements 0.001 s
testToStringOverridden 0.001 s
Test that the add method works with null element values 0 s
The Spliterator.tryAdvance method can be called on a container with elements 0 s
the equals() method is symmetric 0 s
The Spliterator.trySplit method can be called on a container with elements 0 s
hashCode() returns the same integer for multiple invocations. 0.001 s
testSizeOnCollectionWithElements 0.001 s
testContainsWithIncompatibleType 0 s
testContainsAllOnCollectionWithNulls 0 s
The getExactSizeIfKnown method can be called on an empty container 0.001 s
hashCode() returns different integer for values that are not equal. 0 s
The toArray method returns a safe array 0.001 s
testContainsAllWithIncompatibleType 0.001 s
testToStringForDifferentValues 0.001 s
The stream method can be called on a collection with elements 0 s
testForEachRemainingForNullAction 0 s
The remove method can be called on an empty container 0 s
The toArray method works on a container with elements 0 s
the equals() method is transitive 0.001 s
The removeAll method works on a container with elements 0 s
testEqualsForNullValue 0 s
test the `remove(Object)` method with the REMOVE_DOES_NOT_REMOVE_ELEMENT break 0.006 s
Test the `toArray(Object[])` method with the TO_ARRAY_STORE_MISSING_FIRST_ELEMENT break 0.013 s
Test the `toArray(Object[])` method with the TO_ARRAY_STORE_DOES_NOT_COPY_ELEMENTS break 0.001 s
Test the `toArray()` method with the TO_ARRAY_MISSING_LAST_ELEMENT break 0 s
Test the `toArray(Object[])` method with the TO_ARRAY_STORE_RETURNS_EMPTY_ARRAY break 0 s
Test the `size` method with the SIZE_ALWAYS_RETURNS_ZERO break 0.001 s
Test the `size` method with the SIZE_ALWAYS_RETURNS_CONSTANT_VALUE break 0 s
Test the `size` method with the IS_EMPTY_ALWAYS_RETURNS_TRUE break 0 s
Test the `toArray()` method with the TO_ARRAY_RETURNS_EMPTY_ARRAY break 0.003 s
test the `add(Object)` method with the ADD_ALWAYS_RETURNS_OPPOSITE_VALUE break 0.001 s
test the `add(Object)` method with the ADD_ALWAYS_RETURNS_TRUE break 0 s
Test the `toArray(Object[])` method with the TO_ARRAY_STORE_MISSING_LAST_ELEMENT break 0.001 s
Test the `size` method with the IS_EMPTY_ALWAYS_RETURNS_FALSE break 0 s
Test the `contains(Object)` method with the CONTAINS_RETURNS_OPPOSITE_VALUE break 0 s
test the `remove(Object)` method with the REMOVE_ALWAYS_RETURNS_OPPOSITE_VALUE break 0 s
Test the `containsAll(Collection)` method with the CONTAINS_ALL_ALWAYS_RETURNS_TRUE break 0.001 s
test the `add(Object)` method with the ADD_ALWAYS_RETURNS_FALSE break 0 s
Test the `contains(Object)` method with the CONTAINS_ALWAYS_RETURNS_FALSE break 0 s
Test the `contains(Object)` method with the CONTAINS_ALWAYS_RETURNS_TRUE break 0.001 s
Test the `containsAll(Collection)` method with the CONTAINS_ALL_ALWAYS_RETURNS_OPPOSITE_VALUE break 0 s
Test the `size` method with the IS_EMPTY_RETURNS_OPPOSITE_VALUE break 0.001 s
Test the `toArray(Object[])` method with the TO_ARRAY_STORE_RETURNS_NULL break 0.003 s
Test the `toArray()` method with the TO_ARRAY_RETURNS_NULL break 0.001 s
Test the `toArray()` method with the TO_ARRAY_MISSING_FIRST_ELEMENT break 0.001 s
Test the `contains(Object)` method with the CONTAINS_ALL_ALWAYS_RETURNS_FALSE break 0.002 s
test the `remove(Object)` method with the REMOVE_ALWAYS_RETURNS_FALSE break 0.001 s
test the `remove(Object)` method with the REMOVE_ALWAYS_RETURNS_TRUE break 0 s
test the `add()` method with the ADD_DOES_NOT_ADD_ELEMENT break 0.001 s

ObjectOnlyTest

hashCode() returns integer that have a uniform distribution. 0.003 s
the equals() method is consistent 0.001 s
hashCode() returns the same integer for equals values 0 s
testToStringIsConsistent 0 s
testToStringForEqualValues 0 s
the equals() method is reflexive 0 s
testToStringOverridden 0.001 s
the equals() method is symmetric 0 s
hashCode() returns the same integer for multiple invocations. 0 s
hashCode() returns different integer for values that are not equal. 0 s
testToStringForDifferentValues 0 s
the equals() method is transitive 0 s
testEqualsForNullValue 0.001 s
ObjectOnly only implements the Object interface. 0.001 s

Tests for CollectionContract class WorkingCollectionTest

The toArray method works on an empty container. 0.001 s
Test isEmpty returns false for a collection with elements 0.001 s
The estimateSize method can be called on an empty container 0.002 s
The toArray method works on an empty container. 0.001 s
testForEachRemainingOverEntireCollection 0.003 s
testAddAllToContainer 0.001 s
The removeAll method throws on a null collection 0.004 s
The removeIf method can be called on an empty container 0.002 s
The retainAll method works with incompatible types 0.002 s
The toArray method works on a container with elements 0.001 s
testIteratorOverEmptyCollection 0.004 s
Test clear works for an empty collection 0.003 s
The Spliterator.tryAdvance method can be called on an empty container 0.001 s
Test that the add method works 0.002 s
The parallelStream method can be called on a collection with elements 0.005 s
testIteratorRemove 0.002 s
The removeAll method can be called on an empty container 0.002 s
The removeIf method works on a container with elements 0.002 s
Test clear works for a collection with elements 0.001 s
ForEach throws a NullPointerException when called with a null action 0.003 s
The Spliterator.forEachRemaining method can be called on an empty container 0.002 s
The retainAll method throws on a null collection 0.001 s
testSizeOnEmptyCollection 0.003 s
hashCode() returns integer that have a uniform distribution. 0.022 s
the equals() method is consistent 0.002 s
ForEach does not call the action for an iterable with no elements 0.003 s
The remove method works on a container with elements 0.002 s
The remove method works with null elements 0.001 s
The remove method works with incompatible types 0.001 s
testContainsOnCollectionWithNulls 0.001 s
The parallelStream method can be called on an empty collection 0.001 s
The getExactSizeIfKnown method can be called on a container with elements 0.001 s
hashCode() returns the same integer for equals values 0.001 s
testToStringIsConsistent 0.002 s
The stream method can be called on an empty collection 0.001 s
The retainAll method can be called on an empty container 0.001 s
The removeAll method works with null elements 0.001 s
The Spliterator.forEachRemaining method can be called on a container with elements 0.001 s
testIteratorRemoveThrowsOnIllegalState 0.002 s
testContainsAllOnEmptyCollection 0.001 s
testAddAllWithNullValue 0.001 s
The hasCharacteristics method works 0.001 s
Test that the add method works with duplicate element values 0.001 s
The Spliterator.trySplit method can be called on an empty container 0.002 s
testContainsOnEmptyCollection 0.001 s
Test isEmpty returns true for an empty collection 0.001 s
testAddAllWithDuplicateValue 0.001 s
testToStringForEqualValues 0.001 s
The removeAll method works with incompatible types 0.001 s
The retainAll method works on a container with elements 0.001 s
testContainsOnCollectionWithElements 0.001 s
The removeIf method throws on a null filter 0.001 s
testForEachRemainingOverPartialCollection 0.002 s
testIteratorOverCollectionWithElements 0.001 s
testContainsAllOnCollectionWithElements 0.001 s
ForEach calls the action each element in an iterable 0.002 s
the equals() method is reflexive 0.001 s
The toArray(T[]) method throws on a null array. 0.003 s
The Spliterator.estimateSize method can be called on a container with elements 0.001 s
testToStringOverridden 0.008 s
Test that the add method works with null element values 0.001 s
The Spliterator.tryAdvance method can be called on a container with elements 0.001 s
the equals() method is symmetric 0.001 s
The Spliterator.trySplit method can be called on a container with elements 0.002 s
hashCode() returns the same integer for multiple invocations. 0.001 s
testSizeOnCollectionWithElements 0.001 s
testContainsWithIncompatibleType 0.001 s
testContainsAllOnCollectionWithNulls 0.001 s
The getExactSizeIfKnown method can be called on an empty container 0.001 s
hashCode() returns different integer for values that are not equal. 0.001 s
The toArray method returns a safe array 0.001 s
testContainsAllWithIncompatibleType 0.001 s
testToStringForDifferentValues 0.001 s
The stream method can be called on a collection with elements 0.001 s
testForEachRemainingForNullAction 0.001 s
The remove method can be called on an empty container 0.001 s
The toArray method works on a container with elements 0.001 s
the equals() method is transitive 0.001 s
The removeAll method works on a container with elements 0.002 s
testEqualsForNullValue 0.001 s

Tests for CollectionContract class

dynamicTestsForContainsAll() testContainsAllOnCollectionWithElements() fails with CONTAINS_ALWAYS_RETURNS_TRUE break 0.035 s
dynamicTestsForContainsAll() testContainsAllOnCollectionWithElements() fails with CONTAINS_ALWAYS_RETURNS_FALSE break 0.001 s
dynamicTestsForContainsAll() testContainsAllOnCollectionWithElements() fails with CONTAINS_RETURNS_OPPOSITE_VALUE break 0.001 s
dynamicTestsForClear() testClearOnCollectionWithElements() fails with CLEAR_DOES_NOT_REMOVE_ANY_ELEMENTS break 0.007 s
dynamicTestsForClear() testClearOnCollectionWithElements() fails with CLEAR_SKIPS_FIRST_ELEMENT break 0.001 s
dynamicTestsForClear() testClearOnCollectionWithElements() fails with CLEAR_SKIPS_LAST_ELEMENT break 0.002 s
dynamicTestsForRemoveAll 0 s
- public java.util.Collection org.soliscode.test.contract.CollectionContractTest.dynamicTestsForRemoveAll() is @Disabled -
dynamicTestsForAdd() testAdd() fails with ADD_DOES_NOT_ADD_ELEMENT break 0.001 s
dynamicTestsForAdd() testAdd() fails with ADD_ALWAYS_RETURNS_FALSE break 0 s
dynamicTestsForAdd() testAdd() fails with ADD_ALWAYS_RETURNS_OPPOSITE_VALUE break 0.001 s
dynamicTestsForAdd() testAddWithNullValue() fails with ADD_DOES_NOT_ADD_ELEMENT break 0.001 s
dynamicTestsForAdd() testAddWithNullValue() fails with ADD_ALWAYS_RETURNS_FALSE break 0 s
dynamicTestsForAdd() testAddWithNullValue() fails with ADD_ALWAYS_RETURNS_OPPOSITE_VALUE break 0 s
dynamicTestsForContains() testContainsOnCollectionWithElements() fails with CONTAINS_ALWAYS_RETURNS_TRUE break 0.001 s
dynamicTestsForContains() testContainsOnCollectionWithElements() fails with CONTAINS_ALWAYS_RETURNS_FALSE break 0.001 s
dynamicTestsForContains() testContainsOnCollectionWithElements() fails with CONTAINS_RETURNS_OPPOSITE_VALUE break 0 s
dynamicTestsForContains() testContainsOnEmptyCollection() fails with CONTAINS_ALWAYS_RETURNS_TRUE break 0 s
dynamicTestsForContains() testContainsOnEmptyCollection() fails with CONTAINS_RETURNS_OPPOSITE_VALUE break 0.007 s
dynamicTestsForRemoveIf 0 s
- public java.util.Collection org.soliscode.test.contract.CollectionContractTest.dynamicTestsForRemoveIf() is @Disabled -
dynamicTestsForIsEmpty() testIsEmptyForEmptyCollection() fails with IS_EMPTY_ALWAYS_RETURNS_FALSE break 0 s
dynamicTestsForIsEmpty() testIsEmptyForEmptyCollection() fails with IS_EMPTY_RETURNS_OPPOSITE_VALUE break 0.001 s
dynamicTestsForIsEmpty() testIsEmptyForNonEmptyCollection() fails with IS_EMPTY_ALWAYS_RETURNS_TRUE break 0 s
dynamicTestsForIsEmpty() v() fails with IS_EMPTY_RETURNS_OPPOSITE_VALUE break 0 s
dynamicTestsForAddAll() testAddAllToContainer() fails with ADD_ALL_DOES_NOT_ADD_ANY_ELEMENTS break 0.001 s
dynamicTestsForAddAll() testAddAllToContainer() fails with ADD_ALL_ALWAYS_RETURNS_OPPOSITE_VALUE break 0 s
dynamicTestsForAddAll() testAddAllToContainer() fails with ADD_ALL_ALWAYS_RETURNS_FALSE break 0 s
dynamicTestsForAddAll() testAddAllToContainer() fails with ADD_ALL_SKIPS_FIRST_ELEMENT break 0.001 s
dynamicTestsForAddAll() testAddAllToContainer() fails with ADD_ALL_SKIPS_LAST_ELEMENT break 0 s
dynamicTestsForRemove() testRemoveOnEmptyContainer() fails with REMOVE_ALWAYS_RETURNS_TRUE break 0.001 s
dynamicTestsForRemove() testRemoveOnEmptyContainer() fails with REMOVE_ALWAYS_RETURNS_OPPOSITE_VALUE break 0 s
dynamicTestsForRemove() testRemoveOnContainerWithElements() fails with REMOVE_DOES_NOT_REMOVE_ELEMENT break 0.002 s
dynamicTestsForRemove() testRemoveOnContainerWithElements() fails with REMOVE_ALWAYS_RETURNS_FALSE break 0 s
dynamicTestsForRemove() testRemoveOnContainerWithElements() fails with REMOVE_ALWAYS_RETURNS_OPPOSITE_VALUE break 0.001 s
dynamicTestsForRemove() testRemoveOnContainerWithNulls() fails with REMOVE_DOES_NOT_REMOVE_ELEMENT break 0.001 s
dynamicTestsForRemove() testRemoveOnContainerWithNulls() fails with REMOVE_ALWAYS_RETURNS_FALSE break 0 s
dynamicTestsForRemove() testRemoveOnContainerWithNulls() fails with REMOVE_ALWAYS_RETURNS_OPPOSITE_VALUE break 0.001 s

Tests for thhe ObjectContrct test Test ObjectContract with String class

hashCode() returns integer that have a uniform distribution. 0.012 s
the equals() method is consistent 0.007 s
hashCode() returns the same integer for equals values 0.001 s
testToStringIsConsistent 0 s
testToStringForEqualValues 0 s
the equals() method is reflexive 0.001 s
testToStringOverridden 0 s
the equals() method is symmetric 0 s
hashCode() returns the same integer for multiple invocations. 0 s
hashCode() returns different integer for values that are not equal. 0 s
testToStringForDifferentValues 0.001 s
the equals() method is transitive 0 s
testEqualsForNullValue 0.001 s

Tests for BreakableSpliterator

testSpliteratorWithForEachRemainingDoesNotCallActionBreak 0.002 s
testSpliteratorWithEstimateSizeAlwaysReturnsMaxValueBreak 0 s
testSpliteratorWithTryAdvanceDoesNotCallActionBreak 0 s
testSpliteratorWithSpliteratorIsAlwaysEmptyBeak 0.003 s
testSpliteratorWithEstimateSizeAlwaysReturnsZeoBreak 0 s
testSpliteratorWithHasCharacteristicWorks 0 s
testSpliteratorWithGetExactSizeIfKnownAlwaysReturnsNegativeOneBreak 0 s
testSpliteratorWithCharacteristicsAlwaysReturnsZeroBreak 0.004 s
testSpliteratorWithGetExactSizeIfKnown 0 s
testSpliteratorWithTryAdvanceAlwaysReturnsTrueBreak 0.001 s
testSpliteratorWithTryAdvanceAlwaysReturnsFalseBreak 0.001 s
testGetComparator 0 s
testSpliteratorWithHasCharacteristicAlwaysReturnsFalseBreak 0.001 s
testSpliteratorWithHasCharacteristicAlwaysReturnsTrueBreak 0 s
testSpliteratorWithTrySplitAlwaysReturnsNullBreak 0 s
testSpliteratorGetComparatorAlwaysReturnsNull 0 s

AssertContainsSameTest

testAssertContainsSameOnNullCollection 0.005 s
testAssertContainsAllWithMessageSupplier 0.005 s
testAssertContainsSameOnCollectionWithElements 0.009 s
testAssertContainsAllWithMessage 0.001 s
testAssertContainsSameOnEmptyCollection 0.002 s

Tests for the CollectionOnly class

The toArray method works on an empty container. 0.002 s
Test isEmpty returns false for a collection with elements 0.001 s
The estimateSize method can be called on an empty container 0.001 s
The toArray method works on an empty container. 0 s
testForEachRemainingOverEntireCollection 0.007 s
testAddAllToContainer 0.001 s
The removeAll method throws on a null collection 0.001 s
The removeIf method can be called on an empty container 0 s
The retainAll method works with incompatible types 0.001 s
The toArray method works on a container with elements 0 s
testIteratorOverEmptyCollection 0.007 s
Test clear works for an empty collection 0 s
The Spliterator.tryAdvance method can be called on an empty container 0 s
Test that the add method works 0 s
The parallelStream method can be called on a collection with elements 0 s
testIteratorRemove 0 s
The removeAll method can be called on an empty container 0 s
The removeIf method works on a container with elements 0 s
Test clear works for a collection with elements 0.001 s
ForEach throws a NullPointerException when called with a null action 0.001 s
The Spliterator.forEachRemaining method can be called on an empty container 0.001 s
The retainAll method throws on a null collection 0.001 s
testSizeOnEmptyCollection 0 s
hashCode() returns integer that have a uniform distribution. 0.016 s
the equals() method is consistent 0 s
ForEach does not call the action for an iterable with no elements 0 s
The remove method works on a container with elements 0 s
The remove method works with null elements 0 s
The remove method works with incompatible types 0 s
testContainsOnCollectionWithNulls 0.001 s
The parallelStream method can be called on an empty collection 0 s
The getExactSizeIfKnown method can be called on a container with elements 0.001 s
hashCode() returns the same integer for equals values 0.007 s
testToStringIsConsistent 0.001 s
The stream method can be called on an empty collection 0.001 s
The retainAll method can be called on an empty container 0 s
The removeAll method works with null elements 0 s
The Spliterator.forEachRemaining method can be called on a container with elements 0.001 s
testIteratorRemoveThrowsOnIllegalState 0 s
testContainsAllOnEmptyCollection 0 s
testAddAllWithNullValue 0 s
The hasCharacteristics method works 0 s
Test that the add method works with duplicate element values 0.001 s
The Spliterator.trySplit method can be called on an empty container 0 s
testContainsOnEmptyCollection 0 s
Test isEmpty returns true for an empty collection 0.001 s
testAddAllWithDuplicateValue 0 s
testToStringForEqualValues 0.001 s
The removeAll method works with incompatible types 0 s
The retainAll method works on a container with elements 0 s
testContainsOnCollectionWithElements 0 s
The removeIf method throws on a null filter 0 s
testForEachRemainingOverPartialCollection 0 s
testIteratorOverCollectionWithElements 0 s
testContainsAllOnCollectionWithElements 0.007 s
ForEach calls the action each element in an iterable 0.001 s
the equals() method is reflexive 0.001 s
The toArray(T[]) method throws on a null array. 0.001 s
The Spliterator.estimateSize method can be called on a container with elements 0.001 s
testToStringOverridden 0 s
Test that the add method works with null element values 0.002 s
The Spliterator.tryAdvance method can be called on a container with elements 0.001 s
the equals() method is symmetric 0.001 s
The Spliterator.trySplit method can be called on a container with elements 0 s
hashCode() returns the same integer for multiple invocations. 0.001 s
testSizeOnCollectionWithElements 0.001 s
testContainsWithIncompatibleType 0 s
testContainsAllOnCollectionWithNulls 0.001 s
The getExactSizeIfKnown method can be called on an empty container 0 s
hashCode() returns different integer for values that are not equal. 0 s
The toArray method returns a safe array 0.001 s
testContainsAllWithIncompatibleType 0 s
testToStringForDifferentValues 0.002 s
The stream method can be called on a collection with elements 0.001 s
testForEachRemainingForNullAction 0.001 s
The remove method can be called on an empty container 0.001 s
The toArray method works on a container with elements 0 s
the equals() method is transitive 0.001 s
The removeAll method works on a container with elements 0 s
testEqualsForNullValue 0 s
CollectionOnly only implements the Collection` interface. 0.001 s

Tests for the IterableOnly class

The estimateSize method can be called on an empty container 0.002 s
testForEachRemainingOverEntireCollection 0.005 s
testIteratorOverEmptyCollection 0.001 s
The Spliterator.tryAdvance method can be called on an empty container 0.002 s
testIteratorRemove 0.001 s
ForEach throws a NullPointerException when called with a null action 0.003 s
The Spliterator.forEachRemaining method can be called on an empty container 0.002 s
hashCode() returns integer that have a uniform distribution. 0.021 s
the equals() method is consistent 0.002 s
ForEach does not call the action for an iterable with no elements 0.011 s
The getExactSizeIfKnown method can be called on a container with elements 0.001 s
hashCode() returns the same integer for equals values 0.003 s
testToStringIsConsistent 0.003 s
The Spliterator.forEachRemaining method can be called on a container with elements 0.006 s
testIteratorRemoveThrowsOnIllegalState 0.003 s
The hasCharacteristics method works 0.001 s
The Spliterator.trySplit method can be called on an empty container 0.001 s
testToStringForEqualValues 0.001 s
testForEachRemainingOverPartialCollection 0.001 s
testIteratorOverCollectionWithElements 0.001 s
ForEach calls the action each element in an iterable 0 s
the equals() method is reflexive 0 s
The Spliterator.estimateSize method can be called on a container with elements 0 s
testToStringOverridden 0 s
The Spliterator.tryAdvance method can be called on a container with elements 0 s
the equals() method is symmetric 0.001 s
The Spliterator.trySplit method can be called on a container with elements 0.001 s
hashCode() returns the same integer for multiple invocations. 0.001 s
The getExactSizeIfKnown method can be called on an empty container 0.001 s
hashCode() returns different integer for values that are not equal. 0 s
testToStringForDifferentValues 0 s
testForEachRemainingForNullAction 0 s
the equals() method is transitive 0 s
testEqualsForNullValue 0.001 s
Test that of with no parameters creates an empty iterable 0.001 s
Test that of with one parameters creates an iterable with one element 0 s
Test that of with two parameters creates an iterable with two elements 0 s
Test that of with three parameters creates an iterable with three elements 0 s
Test that of with four parameters creates an iterable with four elements 0 s
Test that of works with an array of integer 0.001 s

HashSetTest

The toArray method works on an empty container. 0.011 s
Test isEmpty returns false for a collection with elements 0.001 s
The estimateSize method can be called on an empty container 0.001 s
The toArray method works on an empty container. 0.001 s
testForEachRemainingOverEntireCollection 0.001 s
testAddAllToContainer 0.009 s
The removeAll method throws on a null collection 0.001 s
The removeIf method can be called on an empty container 0.001 s
The retainAll method works with incompatible types 0.001 s
The toArray method works on a container with elements 0.001 s
testIteratorOverEmptyCollection 0.001 s
Test clear works for an empty collection 0.002 s
The Spliterator.tryAdvance method can be called on an empty container 0.001 s
Test that the add method works 0.007 s
The parallelStream method can be called on a collection with elements 0.001 s
testIteratorRemove 0.001 s
The removeAll method can be called on an empty container 0 s
The removeIf method works on a container with elements 0.001 s
Test clear works for a collection with elements 0 s
ForEach throws a NullPointerException when called with a null action 0.001 s
The Spliterator.forEachRemaining method can be called on an empty container 0 s
The retainAll method throws on a null collection 0 s
testSizeOnEmptyCollection 0.001 s
hashCode() returns integer that have a uniform distribution. 0.014 s
the equals() method is consistent 0.001 s
ForEach does not call the action for an iterable with no elements 0.001 s
The remove method works on a container with elements 0.001 s
The remove method works with null elements 0.015 s
The remove method works with incompatible types 0.001 s
testContainsOnCollectionWithNulls 0.003 s
The parallelStream method can be called on an empty collection 0.002 s
The getExactSizeIfKnown method can be called on a container with elements 0.001 s
hashCode() returns the same integer for equals values 0.003 s
testToStringIsConsistent 0.002 s
The stream method can be called on an empty collection 0.001 s
The retainAll method can be called on an empty container 0.001 s
The removeAll method works with null elements 0 s
The Spliterator.forEachRemaining method can be called on a container with elements 0.002 s
testIteratorRemoveThrowsOnIllegalState 0.001 s
testContainsAllOnEmptyCollection 0 s
testAddAllWithNullValue 0.001 s
The hasCharacteristics method works 0.001 s
Test that the add method works with duplicate element values 0.001 s
The Spliterator.trySplit method can be called on an empty container 0 s
testContainsOnEmptyCollection 0 s
Test isEmpty returns true for an empty collection 0.001 s
testAddAllWithDuplicateValue 0.001 s
testToStringForEqualValues 0 s
The removeAll method works with incompatible types 0 s
The retainAll method works on a container with elements 0 s
testContainsOnCollectionWithElements 0 s
The removeIf method throws on a null filter 0.001 s
testForEachRemainingOverPartialCollection 0.001 s
testIteratorOverCollectionWithElements 0.001 s
testContainsAllOnCollectionWithElements 0.001 s
ForEach calls the action each element in an iterable 0 s
the equals() method is reflexive 0.001 s
The toArray(T[]) method throws on a null array. 0 s
The Spliterator.estimateSize method can be called on a container with elements 0.001 s
testToStringOverridden 0.001 s
Test that the add method works with null element values 0.001 s
The Spliterator.tryAdvance method can be called on a container with elements 0.001 s
the equals() method is symmetric 0.001 s
The Spliterator.trySplit method can be called on a container with elements 0.001 s
hashCode() returns the same integer for multiple invocations. 0.002 s
testSizeOnCollectionWithElements 0.002 s
testContainsWithIncompatibleType 0.001 s
testContainsAllOnCollectionWithNulls 0.001 s
The getExactSizeIfKnown method can be called on an empty container 0.001 s
hashCode() returns different integer for values that are not equal. 0 s
The toArray method returns a safe array 0 s
testContainsAllWithIncompatibleType 0 s
testToStringForDifferentValues 0.001 s
The stream method can be called on a collection with elements 0.001 s
testForEachRemainingForNullAction 0.001 s
The remove method can be called on an empty container 0.001 s
The toArray method works on a container with elements 0.001 s
the equals() method is transitive 0 s
The removeAll method works on a container with elements 0.002 s
testEqualsForNullValue 0.001 s

StringTest

hashCode() returns integer that have a uniform distribution. 0.004 s
the equals() method is consistent 0.001 s
hashCode() returns the same integer for equals values 0.001 s
testToStringIsConsistent 0.001 s
testToStringForEqualValues 0.001 s
the equals() method is reflexive 0.001 s
testToStringOverridden 0.005 s
the equals() method is symmetric 0.001 s
hashCode() returns the same integer for multiple invocations. 0 s
hashCode() returns different integer for values that are not equal. 0.001 s
testToStringForDifferentValues 0 s
the equals() method is transitive 0 s
testEqualsForNullValue 0 s

Test the TestList interface using an ArrayList Test the TestList interface using an ArrayList that does not permit incompatible types

The toArray method works on an empty container. 0.008 s
Test isEmpty returns false for a collection with elements 0.001 s
The estimateSize method can be called on an empty container 0.001 s
The toArray method works on an empty container. 0.008 s
testForEachRemainingOverEntireCollection 0.002 s
testAddAllToContainer 0.001 s
The removeAll method throws on a null collection 0.002 s
The removeIf method can be called on an empty container 0.004 s
Test that the getFirst method works 0.001 s
The retainAll method works with incompatible types 0.001 s
The toArray method works on a container with elements 0.001 s
Test that the addLast method adds elements to the end of the collection 0.001 s
testIteratorOverEmptyCollection 0.001 s
Test clear works for an empty collection 0.001 s
The Spliterator.tryAdvance method can be called on an empty container 0.001 s
Test that the add method appends to the end of the list 0.001 s
Test that the get method works 0.001 s
Test that the set method works 0.001 s
The parallelStream method can be called on a collection with elements 0.001 s
testIteratorRemove 0 s
The removeAll method can be called on an empty container 0.001 s
The removeIf method works on a container with elements 0.003 s
Test clear works for a collection with elements 0.002 s
ForEach throws a NullPointerException when called with a null action 0.001 s
Test that the set method works with a null element 0 s
The Spliterator.forEachRemaining method can be called on an empty container 0.001 s
Test that the indexOf method works with a null value 0.001 s
Test that the set method works on an empty list 0.001 s
The retainAll method throws on a null collection 0.001 s
testSizeOnEmptyCollection 0.003 s
hashCode() returns integer that have a uniform distribution. 0.006 s
the equals() method is consistent 0.001 s
ForEach does not call the action for an iterable with no elements 0.001 s
The remove method works on a container with elements 0.001 s
Test that the removeLast method throws for an empty collection 0.001 s
Test that the removeFirst method works 0.001 s
The remove method works with null elements 0.002 s
The remove method works with incompatible types 0.001 s
testContainsOnCollectionWithNulls 0 s
The parallelStream method can be called on an empty collection 0.001 s
The getExactSizeIfKnown method can be called on a container with elements 0.001 s
Test that the addFirst method works with duplicate element values 0.001 s
hashCode() returns the same integer for equals values 0.001 s
testToStringIsConsistent 0 s
The stream method can be called on an empty collection 0.001 s
The retainAll method can be called on an empty container 0.001 s
The removeAll method works with null elements 0.002 s
The addFirst method works 0.001 s
The Spliterator.forEachRemaining method can be called on a container with elements 0.001 s
testIteratorRemoveThrowsOnIllegalState 0.016 s
Test that the getLast method works 0.001 s
testContainsAllOnEmptyCollection 0.001 s
testAddAllWithNullValue 0.001 s
The hasCharacteristics method works 0 s
Test that the add method works with duplicate element values 0.001 s
The Spliterator.trySplit method can be called on an empty container 0.001 s
testContainsOnEmptyCollection 0 s
Test isEmpty returns true for an empty collection 0.001 s
testAddAllWithDuplicateValue 0.001 s
testToStringForEqualValues 0 s
The removeAll method works with incompatible types 0.001 s
Test that the getLast method throws for an empty collection 0 s
The retainAll method works on a container with elements 0.001 s
testContainsOnCollectionWithElements 0 s
The removeIf method throws on a null filter 0.001 s
Test that the getFirst method throws for an empty collection 0 s
testForEachRemainingOverPartialCollection 0.001 s
testIteratorOverCollectionWithElements 0.001 s
testContainsAllOnCollectionWithElements 0 s
ForEach calls the action each element in an iterable 0.001 s
the equals() method is reflexive 0.001 s
Test that the removeLast method works 0 s
the reverse methods returns a reversed view of the collection. 0.001 s
The toArray(T[]) method throws on a null array. 0.001 s
The Spliterator.estimateSize method can be called on a container with elements 0 s
Test that the set method throws for invalid index 0.001 s
testToStringOverridden 0.001 s
Test that the add method works with null element values 0.001 s
The Spliterator.tryAdvance method can be called on a container with elements 0.001 s
the equals() method is symmetric 0 s
The Spliterator.trySplit method can be called on a container with elements 0.001 s
The addFirst method works with null element values 0.001 s
hashCode() returns the same integer for multiple invocations. 0.001 s
testSizeOnCollectionWithElements 0.001 s
Test that the addFirst method works with null element values 0.001 s
Test that the removeFirst method throws for an empty collection 0 s
Test that the indexOf method works with an incompatible type 0.001 s
testContainsWithIncompatibleType 0.001 s
testContainsAllOnCollectionWithNulls 0.001 s
The getExactSizeIfKnown method can be called on an empty container 0 s
Test that the get method throws for invalid index 0.001 s
hashCode() returns different integer for values that are not equal. 0.001 s
The toArray method returns a safe array 0 s
testContainsAllWithIncompatibleType 0.001 s
testToStringForDifferentValues 0.001 s
Test that the indexOf method works 0 s
Test that the indexOf method works on an empty list 0.001 s
Test that the get method works on an empty list 0.001 s
The stream method can be called on a collection with elements 0.001 s
testForEachRemainingForNullAction 0.001 s
The remove method can be called on an empty container 0 s
The addFirst method works with duplicate element values 0.001 s
The toArray method works on a container with elements 0.001 s
the equals() method is transitive 0 s
The removeAll method works on a container with elements 0.001 s
testEqualsForNullValue 0.001 s

Tests for AssertIsSame class

testAssertSameSizeOnEmptyCollection 0.003 s
testAssertSameSizeWithMessage 0.002 s
testAssertSameSizeWithMessageSupplier 0.003 s
testAssertSameSizeThrowsOnNullCollection 0.001 s
testAssertSameSizeOnNonemptCollection 0.003 s

AssertContainsSameByIdentityTest

testAssertContainsSameOnNullCollection 0.001 s
testAssertContainsAllWithMessageSupplier 0.017 s
testAssertContainsAllWithMessage 0.003 s
testAssertContainsSameOnEmptyCollection 0.001 s
testAssertContainsAllOnCollectionWithElements 0.003 s

IterableContractTest

dynamicTestsOfForEach 0 s
- class org.soliscode.test.contract.IterableContractTest is @Disabled -

Failure Details

[Summary] [Package List] [Test Cases]


dynamicTestsForRemoveAll
- skipped: public java.util.Collection org.soliscode.test.contract.CollectionContractTest.dynamicTestsForRemoveAll() is @Disabled
dynamicTestsForRemoveIf
- skipped: public java.util.Collection org.soliscode.test.contract.CollectionContractTest.dynamicTestsForRemoveIf() is @Disabled
dynamicTestsOfForEach
- skipped: class org.soliscode.test.contract.IterableContractTest is @Disabled