Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

move test types to test

  • Loading branch information...
commit 7f89b9eb7c55ca5790ccd8e9f5a6f28370b5cd09 1 parent 83631eb
Mathias Brökelmann authored
View
7 core/src/main/scala/Apple.scala
@@ -0,0 +1,7 @@
+package com.weiglewilczek.scalamodules
+
+/**
+ * @author mathias
+ * @since 22.04.11
+ */
+trait Apple
View
8 core/src/main/scala/Import.scala
@@ -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)
View
22 core/src/main/scala/Tree.scala
@@ -0,0 +1,22 @@
+package com.weiglewilczek.scalamodules
+
+/**
+ * @author mathias
+ * @since 22.04.11
+ */
+trait Tree
+
+
+
+import ImportDefinition._
+
+
+
+
+
+
+
+
+
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.