diff options
Diffstat (limited to 'sbt-bridge/src/sbt-test/source-dependencies/added/test')
-rw-r--r-- | sbt-bridge/src/sbt-test/source-dependencies/added/test | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sbt-bridge/src/sbt-test/source-dependencies/added/test b/sbt-bridge/src/sbt-test/source-dependencies/added/test deleted file mode 100644 index a1ab31849..000000000 --- a/sbt-bridge/src/sbt-test/source-dependencies/added/test +++ /dev/null @@ -1,28 +0,0 @@ -# This test checks that when a source file included in a partial recompilation adds a dependency on -# a file not included in the partial recompilation, the dependency is properly recorded. - -# B and A are independent, so both should compile successfully -$ copy-file changes/A1.scala src/main/scala/A.scala -$ copy-file changes/B1.scala src/main/scala/B.scala -> compile - - -# A now depends on B and to check that it was recompiled, we mismatch the types, which should fail -$ copy-file changes/A2.scala src/main/scala/A.scala --> compile - - -# We now correct the type so that it compiles successfully and this should introduce a dependency from A to B -$ copy-file changes/A3.scala src/main/scala/A.scala -> compile - - -# If the dependency from A to B was properly introduced, changing the type of B.y to Int should make -# the following statement in A a compiler error: -# val x: String = B.y -$ copy-file changes/B2.scala src/main/scala/B.scala --> compile - -# verify this was the correct result by doing a clean+compile -> clean --> compile |