Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit a13dd121f83cc4110a9e854c1dfc40fc02bcf306 1 parent 590edd0
@fsteeg fsteeg authored
Showing with 1 addition and 30 deletions.
  1. +1 −1  project.clj
  2. +0 −29 test/overtone/config_test.clj
View
2  project.clj
@@ -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"])
View
29 test/overtone/config_test.clj
@@ -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")))
Please sign in to comment.
Something went wrong with that request. Please try again.