Bump expected 2.11 module versions so we can compile with 2.11

Add scala 2.11 test/build verification.

* Add 2.11 build configuratoin to travis ci
* Create command which runs `safe` unit tests
* Create command to test the scala 2.11 build
* Update scalacheck to 1.11.4
* Update specs2 to 2.3.11
* Fix various 2.11/deprecation removals
  and other changes.

Fix eval test failure in scala 2.11 with XML not existing.
This commit is contained in:
Josh Suereth 2014-05-14 12:30:56 -04:00
parent bb5b284d8d
commit 5ea556a397
1 changed files with 2 additions and 2 deletions

View File

@ -35,13 +35,13 @@ object ComponentManagerTest extends Specification {
"return the files for a multi-file component" in {
withManager { manager =>
val hashes = defineFiles(manager, TestID, "a", "b")
checksum(manager.files(TestID)(Fail)) must haveTheSameElementsAs(hashes)
checksum(manager.files(TestID)(Fail)) must containTheSameElementsAs(hashes)
}
}
"return the files for a single-file component" in {
withManager { manager =>
val hashes = defineFiles(manager, TestID, "a")
checksum(manager.files(TestID)(Fail)) must haveTheSameElementsAs(hashes)
checksum(manager.files(TestID)(Fail)) must containTheSameElementsAs(hashes)
}
}
"throw an exception if 'files' is called for a non-existing component" in {