You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2019/12/27 16:58:31 UTC
[groovy] branch GROOVY_3_0_X updated: Trivial refactoring: Move
test class
This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
new c8f4213 Trivial refactoring: Move test class
c8f4213 is described below
commit c8f4213042398b9ef4226e8e8cbc166fa67d74c5
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sat Dec 28 00:57:34 2019 +0800
Trivial refactoring: Move test class
(cherry picked from commit ff8c50fbea0f4b14ad9f9b830b91fceb9a8b30f4)
---
.../concurrentlinkedhashmap/ConcurrentLinkedHashMapTest.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/test/org/apache/groovy/util/concurrentlinkedhashmap/ConcurrentLinkedHashMapTest.java b/src/test/org/apache/groovy/util/concurrent/concurrentlinkedhashmap/ConcurrentLinkedHashMapTest.java
similarity index 86%
rename from src/test/org/apache/groovy/util/concurrentlinkedhashmap/ConcurrentLinkedHashMapTest.java
rename to src/test/org/apache/groovy/util/concurrent/concurrentlinkedhashmap/ConcurrentLinkedHashMapTest.java
index c29f46e..e756866 100644
--- a/src/test/org/apache/groovy/util/concurrentlinkedhashmap/ConcurrentLinkedHashMapTest.java
+++ b/src/test/org/apache/groovy/util/concurrent/concurrentlinkedhashmap/ConcurrentLinkedHashMapTest.java
@@ -17,9 +17,8 @@
* under the License.
*/
-package org.apache.groovy.util.concurrentlinkedhashmap;
+package org.apache.groovy.util.concurrent.concurrentlinkedhashmap;
-import org.apache.groovy.util.concurrent.concurrentlinkedhashmap.ConcurrentLinkedHashMap;
import org.junit.Test;
import java.util.TreeSet;
@@ -32,7 +31,7 @@ import static org.junit.Assert.assertNotEquals;
public class ConcurrentLinkedHashMapTest {
@Test
public void computeIfAbsent() {
- org.apache.groovy.util.concurrent.concurrentlinkedhashmap.ConcurrentLinkedHashMap m = new org.apache.groovy.util.concurrent.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Builder<>()
+ ConcurrentLinkedHashMap m = new ConcurrentLinkedHashMap.Builder<>()
.maximumWeightedCapacity(3)
.build();
@@ -52,7 +51,7 @@ public class ConcurrentLinkedHashMapTest {
@Test
public void computeIfAbsentConcurrently() throws InterruptedException {
- final org.apache.groovy.util.concurrent.concurrentlinkedhashmap.ConcurrentLinkedHashMap m = new ConcurrentLinkedHashMap.Builder<>()
+ final ConcurrentLinkedHashMap m = new ConcurrentLinkedHashMap.Builder<>()
.maximumWeightedCapacity(3)
.build();