freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject incubator-freemarker git commit: (Test cleanup)
Date Sun, 12 Mar 2017 13:43:48 GMT
Repository: incubator-freemarker
Updated Branches:
  refs/heads/2.3-gae f9204fe15 -> 593d35d32


(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-gae
Commit: 593d35d32fec47baa0b7847099300feee8ba6253
Parents: f9204fe
Author: ddekany <ddekany@apache.org>
Authored: Sun Mar 12 14:43:43 2017 +0100
Committer: ddekany <ddekany@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";


Mime
View raw message