Skip to content

Commit b9cbb6a

Browse files
committed
Removed tests for code that are already covered by other tests
1 parent 29fc727 commit b9cbb6a

File tree

4 files changed

+1
-151
lines changed

4 files changed

+1
-151
lines changed

src/test/java/org/apache/ibatis/reflection/factory/DefaultObjectFactoryTest.java

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2009-2019 the original author or authors.
2+
* Copyright 2009-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -94,14 +94,4 @@ void createHashSet() {
9494
Set set = defaultObjectFactory.create(Set.class);
9595
Assertions.assertTrue(set instanceof HashSet, " set should be HashSet");
9696
}
97-
98-
@Test
99-
void testIsCollection() {
100-
DefaultObjectFactory defaultObjectFactory = new DefaultObjectFactory();
101-
boolean trueTarget = defaultObjectFactory.isCollection(ArrayList.class);
102-
Assertions.assertTrue(trueTarget,"ArrayList should be Collection");
103-
104-
boolean falseTarget = defaultObjectFactory.isCollection(HashMap.class);
105-
Assertions.assertFalse(falseTarget,"HashMap should't be Collection");
106-
}
10797
}

src/test/java/org/apache/ibatis/reflection/property/PropertyCopierTest.java

Lines changed: 0 additions & 43 deletions
This file was deleted.

src/test/java/org/apache/ibatis/reflection/property/PropertyTestClass.java

Lines changed: 0 additions & 58 deletions
This file was deleted.

src/test/java/org/apache/ibatis/reflection/property/SuperPropertyTestClass.java

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)