Permalink
Browse files

Tweak project settings for build and tests

Change the seesaw dependency to 1.3.0 to make runnning the build
and tests with leiningen 1.6.2 work for me. Delete test for
something that seems to be gone. This makes the build and tests
run up to the first test failure that is acknowledged in a comment
on the failing line.
  • Loading branch information...
1 parent 590edd0 commit a13dd121f83cc4110a9e854c1dfc40fc02bcf306 @fsteeg fsteeg committed Jan 12, 2012
Showing with 1 addition and 30 deletions.
  1. +1 −1 project.clj
  2. +0 −29 test/overtone/config_test.clj
View
@@ -11,5 +11,5 @@
[overtone/midi-clj "0.2.1"]
[clj-glob "1.0.0"]
[org.clojure/core.match "0.2.0-alpha6"]
- [seesaw "1.3.1-SNAPSHOT"]]
+ [seesaw "1.3.0"]]
:jvm-opts ["-Xms256m" "-Xmx1g" "-XX:+UseConcMarkSweepGC"])
@@ -1,29 +0,0 @@
-(ns overtone.config-test
- (:use clojure.contrib.test-is)
- (:require overtone.config))
-
-(deftest test-basic []
- (config/set-all {:a 1 :b 2})
- (is (= 1 (config/value :a)))
-
- (config/value :foo "asdf")
- (is (= "asdf" (config/value :foo)))
-
- (config/defaults {:a 10 :b 20 :foo 30})
- (is (= 30 (config/value :foo))))
-
-(defn delete-file [name]
- (.delete (java.io.File. name)))
-
-(deftest test-persist
- (try
- (config/set-all {:a 1 :b 2})
- (config/save "test-config")
- (config/value :a 10)
- (config/value :b 20)
- (is (= 10 (config/value :a)))
-
- (config/restore "test-config")
- (is (= 2 (config/value :b)))
- (finally
- (delete-file "test-config")))

0 comments on commit a13dd12

Please sign in to comment.