activate some tests

Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/88e81b9c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/88e81b9c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/88e81b9c

Branch: refs/heads/GROOVY_2_4_X
Commit: 88e81b9cdacf938effbd9a31763a1e666bbe521d
Parents: a536f19
Author: pascalschumacher <pascalschumac...@gmx.net>
Authored: Sun Jul 12 19:15:26 2015 +0200
Committer: pascalschumacher <pascalschumac...@gmx.net>
Committed: Mon Jul 13 18:25:48 2015 +0200

----------------------------------------------------------------------
 src/test/groovy/lang/MetaClassRegistryTest.groovy        |  2 +-
 src/test/groovy/lang/MixinTest.groovy                    |  2 +-
 .../CacheCleanupCollectedSoftReferencesTest.groovy       | 11 ++---------
 3 files changed, 4 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/88e81b9c/src/test/groovy/lang/MetaClassRegistryTest.groovy
----------------------------------------------------------------------
diff --git a/src/test/groovy/lang/MetaClassRegistryTest.groovy 
b/src/test/groovy/lang/MetaClassRegistryTest.groovy
index eadb9a7..120bb4c 100644
--- a/src/test/groovy/lang/MetaClassRegistryTest.groovy
+++ b/src/test/groovy/lang/MetaClassRegistryTest.groovy
@@ -93,7 +93,7 @@ class MetaClassRegistryTest extends GroovyTestCase {
         Integer.metaClass = null
     }
 
-    void _testIteratorRemove() {
+    void testIteratorRemove() {
         Integer.metaClass.foo {-> 1 }
         assert 1.foo() == 1
         for (def it = registry.iterator(); it.hasNext();) {

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/88e81b9c/src/test/groovy/lang/MixinTest.groovy
----------------------------------------------------------------------
diff --git a/src/test/groovy/lang/MixinTest.groovy 
b/src/test/groovy/lang/MixinTest.groovy
index c7a02d3..33dd64e 100644
--- a/src/test/groovy/lang/MixinTest.groovy
+++ b/src/test/groovy/lang/MixinTest.groovy
@@ -157,7 +157,7 @@ class MixinTest extends GroovyTestCase {
         Object.metaClass = null
     }
 
-    void _testMixingLockable() {
+    void testMixingLockable() {
         Object.metaClass.mixin ReentrantLock
         def name = "abcdef"
         name.lock()

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/88e81b9c/src/test/org/codehaus/groovy/runtime/memoize/CacheCleanupCollectedSoftReferencesTest.groovy
----------------------------------------------------------------------
diff --git 
a/src/test/org/codehaus/groovy/runtime/memoize/CacheCleanupCollectedSoftReferencesTest.groovy
 
b/src/test/org/codehaus/groovy/runtime/memoize/CacheCleanupCollectedSoftReferencesTest.groovy
index bf56f15..1f631ff 100644
--- 
a/src/test/org/codehaus/groovy/runtime/memoize/CacheCleanupCollectedSoftReferencesTest.groovy
+++ 
b/src/test/org/codehaus/groovy/runtime/memoize/CacheCleanupCollectedSoftReferencesTest.groovy
@@ -23,13 +23,7 @@ package org.codehaus.groovy.runtime.memoize
  */
 public class CacheCleanupCollectedSoftReferencesTest extends GroovyTestCase {  
 
 
-    // TODO delete this once another test below is re-enabled
-    public void testNothing_dummyTestToKeepJUnitTestCollectorHappy() {
-        assert true
-    }
-
-    // TODO re-enable this test once CI server can safely handle it
-    public void manual_testCollectedCacheValuesAreEnqueued() {
+    void testCollectedCacheValuesAreEnqueued() {
 
         Closure cl = { 
             new Integer(it + 1) 
@@ -49,8 +43,7 @@ public class CacheCleanupCollectedSoftReferencesTest extends 
GroovyTestCase {
         checkCollectedSoftReferenceAreEnqueued(softReference)
     }
 
-    // TODO re-enable this test once CI server can safely handle it
-    public void manual_testCollectedCacheValuesAreRemovedFromCache() {
+    void testCollectedCacheValuesAreRemovedFromCache() {
 
         Closure cl = { 
             new Integer(it + 1) 

Reply via email to