diff options
author | Andrew Or <andrewor14@gmail.com> | 2013-12-26 14:26:22 -0800 |
---|---|---|
committer | Andrew Or <andrewor14@gmail.com> | 2013-12-26 23:40:07 -0800 |
commit | 64b2d54a02ba885c29bdfeaf36701721352de8e6 (patch) | |
tree | 4bccc1d5a5ed1e06647699ccc5a008da01c171b7 /core/src/test | |
parent | 804beb43bebe50e88814c0ca702a51571cd044e7 (diff) | |
download | spark-64b2d54a02ba885c29bdfeaf36701721352de8e6.tar.gz spark-64b2d54a02ba885c29bdfeaf36701721352de8e6.tar.bz2 spark-64b2d54a02ba885c29bdfeaf36701721352de8e6.zip |
Move maps to util, and refactor more
Diffstat (limited to 'core/src/test')
-rw-r--r-- | core/src/test/scala/org/apache/spark/util/SamplingSizeTrackerSuite.scala | 4 | ||||
-rw-r--r-- | core/src/test/scala/org/apache/spark/util/collection/AppendOnlyMapSuite.scala (renamed from core/src/test/scala/org/apache/spark/util/AppendOnlyMapSuite.scala) | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/src/test/scala/org/apache/spark/util/SamplingSizeTrackerSuite.scala b/core/src/test/scala/org/apache/spark/util/SamplingSizeTrackerSuite.scala index bd3ff5ff41..6b772131a7 100644 --- a/core/src/test/scala/org/apache/spark/util/SamplingSizeTrackerSuite.scala +++ b/core/src/test/scala/org/apache/spark/util/SamplingSizeTrackerSuite.scala @@ -5,7 +5,7 @@ import scala.util.Random import org.scalatest.{BeforeAndAfterAll, FunSuite} import org.apache.spark.util.SamplingSizeTrackerSuite.LargeDummyClass -import org.apache.spark.util.collection.SizeTrackingAppendOnlyMap +import org.apache.spark.util.collection.{AppendOnlyMap, SizeTrackingAppendOnlyMap} class SamplingSizeTrackerSuite extends FunSuite with BeforeAndAfterAll { val NORMAL_ERROR = 0.20 @@ -100,4 +100,4 @@ object SamplingSizeTrackerSuite { private class LargeDummyClass { val arr = new Array[Int](100) } -}
\ No newline at end of file +} diff --git a/core/src/test/scala/org/apache/spark/util/AppendOnlyMapSuite.scala b/core/src/test/scala/org/apache/spark/util/collection/AppendOnlyMapSuite.scala index 7177919a58..7e7aa7800d 100644 --- a/core/src/test/scala/org/apache/spark/util/AppendOnlyMapSuite.scala +++ b/core/src/test/scala/org/apache/spark/util/collection/AppendOnlyMapSuite.scala @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.spark.util +package org.apache.spark.util.collection import scala.collection.mutable.HashSet |