Permalink
Browse files

move test types to test

  • Loading branch information...
Mathias Brökelmann
Mathias Brökelmann committed Apr 28, 2011
1 parent 83631eb commit 7f89b9eb7c55ca5790ccd8e9f5a6f28370b5cd09
Showing with 33 additions and 4 deletions.
  1. +7 −0 core/src/main/scala/Apple.scala
  2. +4 −4 core/src/main/scala/Import.scala
  3. +22 −0 core/src/main/scala/Tree.scala
@@ -0,0 +1,7 @@
+package com.weiglewilczek.scalamodules
+
+/**
+ * @author mathias
+ * @since 22.04.11
+ */
+trait Apple
@@ -33,7 +33,7 @@ object Test {
tree <- ofType[Tree]
apple <- ofType[Apple]
} yield {
- AppleTree(tree, apple)
+ new AppleTree(tree, apple)
}
val detachedAppleTreeByFor: ImportDependent[DetachedAppleTree with Disposable] = for {
@@ -60,11 +60,11 @@ object Test {
}
}
-trait Tree
-trait Apple
-case class AppleTree(tree: Import[Tree], apple: Import[Apple])
+
+
+class AppleTree(tree: Import[Tree], apple: Import[Apple])
class DetachedAppleTree(tree: Tree, apple: Apple)
@@ -0,0 +1,22 @@
+package com.weiglewilczek.scalamodules
+
+/**
+ * @author mathias
+ * @since 22.04.11
+ */
+trait Tree
+
+
+
+import ImportDefinition._
+
+
+
+
+
+
+
+
+
+
+

0 comments on commit 7f89b9e

Please sign in to comment.