Skip to content

Commit

Permalink
Add tests for Play trimming
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbrainard committed Oct 9, 2013
1 parent 14de00c commit 29feca0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/compile_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ testCompile_Play20Project() {
assertCapturedSuccess
assertTrue "Ivy2 cache should have been repacked for a play project." "[ -d ${CACHE_DIR}/.sbt_home/.ivy2 ]"
assertFalse "Ivy2 cache should not have been included in slug for a play project." "[ -d ${BUILD_DIR}/.sbt_home/.ivy2 ]"
assertFalse "Resolution cache should not have been included in slug for a play project." "[ -d ${BUILD_DIR}/target/resolution-cache ]"
assertFalse "Streams should not have been included in slug for a play project." "[ -d ${BUILD_DIR}/target/streams ]"
assertFalse "Scala cache should not have been included in slug for a play project." "[ -d ${BUILD_DIR}/target/scala-2.9.1 ]"
}

testCompile_WithNonDefaultVersion()
Expand Down

0 comments on commit 29feca0

Please sign in to comment.