Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

hack to avoid logging crap inside sbt.

  • Loading branch information...
commit 72a72b21048cc010e1c75748cd68f814c0826ad8 1 parent f4ab63a
authored April 28, 2010
10  src/test/scala/net/lag/TestHelper.scala
@@ -19,11 +19,19 @@ package net.lag
19 19
 
20 20
 import _root_.java.io.File
21 21
 import _root_.java.util.UUID
  22
+import _root_.net.lag.logging.Logger
  23
+import _root_.org.specs.Specification
22 24
 
23 25
 
24  
-trait TestHelper {
  26
+trait TestHelper { self: Specification =>
25 27
   private val _folderName = new ThreadLocal[File]
26 28
 
  29
+  new SpecContext {
  30
+    beforeSpec {
  31
+      Logger.get("").setLevel(Logger.FATAL)
  32
+    }
  33
+  }
  34
+
27 35
   /**
28 36
    * Recursively delete a folder. Should be built in; bad java.
29 37
    */

0 notes on commit 72a72b2

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