Permalink
Browse files

Merge pull request #21 from johnynek/develop

move JobTest into main
  • Loading branch information...
2 parents 6bccce3 + b494fbd commit c3f264063d351fd4b96bdd8b36a58aa0638e6397 @azymnis azymnis committed Mar 2, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/{test → main}/scala/com/twitter/scalding/JobTest.scala
@@ -4,14 +4,20 @@ import scala.collection.mutable.{Buffer, ListBuffer}
import scala.annotation.tailrec
import cascading.tuple.Tuple
-import cascading.tuple.TupleEntry
import org.apache.hadoop.mapred.JobConf
object JobTest {
def apply(jobName : String) = new JobTest(jobName)
}
+/**
+ * This class is used to construct unit tests for scalding jobs.
+ * You should not use it unless you are writing tests.
+ * For examples of how to do that, see the tests included in the
+ * main scalding repository:
+ * https://github.com/twitter/scalding/tree/master/src/test/scala/com/twitter/scalding
+ */
class JobTest(jobName : String) extends TupleConversions {
private var argsMap = Map[String, List[String]]()
private val callbacks = Buffer[() => Unit]()

0 comments on commit c3f2640

Please sign in to comment.