mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2026-05-18 00:00:03 -04:00
Add @Nested to inner test-classes
This commit is contained in:
@@ -71,7 +71,6 @@ public abstract class ObjectAbstractTest {
|
|||||||
// TODO: What more can we test?
|
// TODO: What more can we test?
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: assert that either BOTH or NONE of equals/hashcode is overridden
|
|
||||||
@Test
|
@Test
|
||||||
public void testEqualsHashCode(){
|
public void testEqualsHashCode(){
|
||||||
Object obj = makeObject();
|
Object obj = makeObject();
|
||||||
|
|||||||
@@ -1255,6 +1255,7 @@ public abstract class MapAbstractTest extends ObjectAbstractTest {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@Nested
|
||||||
public class TestMapEntrySet extends SetAbstractTest {
|
public class TestMapEntrySet extends SetAbstractTest {
|
||||||
|
|
||||||
// Have to implement manually; entrySet doesn't support addAll
|
// Have to implement manually; entrySet doesn't support addAll
|
||||||
@@ -1429,6 +1430,7 @@ public abstract class MapAbstractTest extends ObjectAbstractTest {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@Nested
|
||||||
public class TestMapKeySet extends SetAbstractTest {
|
public class TestMapKeySet extends SetAbstractTest {
|
||||||
public Object[] getFullElements() {
|
public Object[] getFullElements() {
|
||||||
return getSampleKeys();
|
return getSampleKeys();
|
||||||
@@ -1495,6 +1497,7 @@ public abstract class MapAbstractTest extends ObjectAbstractTest {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@Nested
|
||||||
public class TestMapValues extends CollectionAbstractTest {
|
public class TestMapValues extends CollectionAbstractTest {
|
||||||
public Object[] getFullElements() {
|
public Object[] getFullElements() {
|
||||||
return getSampleValues();
|
return getSampleValues();
|
||||||
|
|||||||
Reference in New Issue
Block a user