You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2017/03/13 10:43:33 UTC
[17/25] incubator-freemarker git commit: (Test cleanup)
(Test cleanup)
Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/593d35d3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/593d35d3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/593d35d3
Branch: refs/heads/2.3
Commit: 593d35d32fec47baa0b7847099300feee8ba6253
Parents: f9204fe
Author: ddekany <dd...@apache.org>
Authored: Sun Mar 12 14:43:43 2017 +0100
Committer: ddekany <dd...@apache.org>
Committed: Sun Mar 12 14:43:43 2017 +0100
----------------------------------------------------------------------
.../freemarker/ext/beans/BeansWrapperSingletonsTest.java | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/593d35d3/src/test/java/freemarker/ext/beans/BeansWrapperSingletonsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/freemarker/ext/beans/BeansWrapperSingletonsTest.java b/src/test/java/freemarker/ext/beans/BeansWrapperSingletonsTest.java
index bc3d0eb..3317fe4 100644
--- a/src/test/java/freemarker/ext/beans/BeansWrapperSingletonsTest.java
+++ b/src/test/java/freemarker/ext/beans/BeansWrapperSingletonsTest.java
@@ -55,7 +55,7 @@ public class BeansWrapperSingletonsTest extends TestCase {
BeansWrapperBuilder.clearInstanceCache();
}
- public void testBeansWrapperFactoryEquals() throws Exception {
+ public void testBeansWrapperBuilderEquals() throws Exception {
assertEquals(Configuration.VERSION_2_3_21, new BeansWrapperBuilder(Configuration.VERSION_2_3_21).getIncompatibleImprovements());
assertEquals(Configuration.VERSION_2_3_0, new BeansWrapperBuilder(Configuration.VERSION_2_3_20).getIncompatibleImprovements());
try {
@@ -144,7 +144,7 @@ public class BeansWrapperSingletonsTest extends TestCase {
assertEquals(builder1.hashCode(), builder2.hashCode());
}
- public void testBeansWrapperFactoryProducts() throws Exception {
+ public void testBeansWrapperBuilderProducts() throws Exception {
List<BeansWrapper> hardReferences = new LinkedList<BeansWrapper>();
assertEquals(0, getBeansWrapperInstanceCacheSize());
@@ -684,10 +684,6 @@ public class BeansWrapperSingletonsTest extends TestCase {
assertEquals(expectedSize, getClassIntrospectorInstanceCacheSize());
}
- private void assertNotEquals(Object o1, Object o2) {
- assertFalse(o1.equals(o2));
- }
-
public class C {
public String foo = "FOO";