Skip to content
Browse files

Cleanup of ScalaTestBridge, added note to speak with Chee Seng

  • Loading branch information...
1 parent 39aac2a commit 50254ad0a6a0cd172fe3ba6629514e114829cabc @rlegendi committed Jun 29, 2012
Showing with 12 additions and 1 deletion.
  1. +4 −0 TODO.md
  2. +8 −1 src/main/scala/org/scalatest/ScalaTestBridge.scala
View
4 TODO.md
@@ -1,6 +1,10 @@
TODO
====
+- Ask the ScalaTest experts about ScalaTestBridge
+
+---------------------------------
+
- Fix classpath entries, they are absolute path entries at the moment!
- Is the examples accessible in any binary build? That way we should'nt need duplicate example code in the tests.
- Handle Scope objects:
View
9 src/main/scala/org/scalatest/ScalaTestBridge.scala
@@ -1,6 +1,13 @@
package org.scalatest
+import org.scalatest.events.IndentedText
+
+/**
+ * Simple utility class to get required but inaccessible features of the ScalaTest API.
+ *
+ * @author rlegendi
+ */
object ScalaTestBridge {
- def getIndentedText(testText: String, level: Int, includeIcon: Boolean) =
+ def getIndentedText(testText: String, level: Int, includeIcon: Boolean): IndentedText =
Suite.getIndentedText(testText, level, includeIcon)
}

0 comments on commit 50254ad

Please sign in to comment.
Something went wrong with that request. Please try again.