aboutsummaryrefslogtreecommitdiff
path: root/bridge/src/sbt-test/source-dependencies/less-inter-inv-java
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-10-11 17:28:39 +0200
committerGuillaume Martres <smarter@ubuntu.com>2016-11-22 01:35:06 +0100
commit2d10c87ce537fb42fdb134efcae53dca7305a7b7 (patch)
treea3629c9a3ad6db3e9d07df8fa8621f8c8211076c /bridge/src/sbt-test/source-dependencies/less-inter-inv-java
parent34d64f381362b12a595fd26690c7c9b1c26d16f7 (diff)
downloaddotty-2d10c87ce537fb42fdb134efcae53dca7305a7b7.tar.gz
dotty-2d10c87ce537fb42fdb134efcae53dca7305a7b7.tar.bz2
dotty-2d10c87ce537fb42fdb134efcae53dca7305a7b7.zip
Move sbt-bridge
Diffstat (limited to 'bridge/src/sbt-test/source-dependencies/less-inter-inv-java')
-rw-r--r--bridge/src/sbt-test/source-dependencies/less-inter-inv-java/A.java3
-rw-r--r--bridge/src/sbt-test/source-dependencies/less-inter-inv-java/B.java1
-rw-r--r--bridge/src/sbt-test/source-dependencies/less-inter-inv-java/C.java1
-rw-r--r--bridge/src/sbt-test/source-dependencies/less-inter-inv-java/D.java4
-rw-r--r--bridge/src/sbt-test/source-dependencies/less-inter-inv-java/E.java5
-rw-r--r--bridge/src/sbt-test/source-dependencies/less-inter-inv-java/build.sbt10
-rw-r--r--bridge/src/sbt-test/source-dependencies/less-inter-inv-java/changes/A2.java3
-rw-r--r--bridge/src/sbt-test/source-dependencies/less-inter-inv-java/project/DottyInjectedPlugin.scala17
-rw-r--r--bridge/src/sbt-test/source-dependencies/less-inter-inv-java/test9
9 files changed, 0 insertions, 53 deletions
diff --git a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/A.java b/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/A.java
deleted file mode 100644
index 2bce1ee78..000000000
--- a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/A.java
+++ /dev/null
@@ -1,3 +0,0 @@
-public class A {
- public Integer x() { return 3; }
-}
diff --git a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/B.java b/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/B.java
deleted file mode 100644
index 7e9bb5574..000000000
--- a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/B.java
+++ /dev/null
@@ -1 +0,0 @@
-public class B extends A {}
diff --git a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/C.java b/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/C.java
deleted file mode 100644
index 042c2b2a3..000000000
--- a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/C.java
+++ /dev/null
@@ -1 +0,0 @@
-public class C extends B {}
diff --git a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/D.java b/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/D.java
deleted file mode 100644
index 03e6ad740..000000000
--- a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/D.java
+++ /dev/null
@@ -1,4 +0,0 @@
-public class D {
- public static final C c = new C();
- public static String x() { return c.x().toString(); }
-}
diff --git a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/E.java b/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/E.java
deleted file mode 100644
index d28336ed5..000000000
--- a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/E.java
+++ /dev/null
@@ -1,5 +0,0 @@
-public class E {
- public static void main(String[] args) {
- assert(D.x() == "3");
- }
-}
diff --git a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/build.sbt b/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/build.sbt
deleted file mode 100644
index d23dff705..000000000
--- a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/build.sbt
+++ /dev/null
@@ -1,10 +0,0 @@
-import complete.DefaultParsers._
-
-val checkIterations = inputKey[Unit]("Verifies the accumlated number of iterations of incremental compilation.")
-
-checkIterations := {
- val expected: Int = (Space ~> NatBasic).parsed
- val actual: Int = (compile in Compile).value.compilations.allCompilations.size
- assert(expected == actual, s"Expected $expected compilations, got $actual")
-}
-
diff --git a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/changes/A2.java b/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/changes/A2.java
deleted file mode 100644
index 610c20407..000000000
--- a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/changes/A2.java
+++ /dev/null
@@ -1,3 +0,0 @@
-public class A {
- public String x() { return "3"; }
-}
diff --git a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/project/DottyInjectedPlugin.scala b/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/project/DottyInjectedPlugin.scala
deleted file mode 100644
index 3433779b6..000000000
--- a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/project/DottyInjectedPlugin.scala
+++ /dev/null
@@ -1,17 +0,0 @@
-import sbt._
-import Keys._
-
-object DottyInjectedPlugin extends AutoPlugin {
- override def requires = plugins.JvmPlugin
- override def trigger = allRequirements
-
- override val projectSettings = Seq(
- scalaVersion := "0.1-SNAPSHOT",
- scalaOrganization := "ch.epfl.lamp",
- scalacOptions += "-language:Scala2",
- scalaBinaryVersion := "2.11",
- autoScalaLibrary := false,
- libraryDependencies ++= Seq("org.scala-lang" % "scala-library" % "2.11.5"),
- scalaCompilerBridgeSource := ("ch.epfl.lamp" % "dotty-bridge" % "0.1.1-SNAPSHOT" % "component").sources()
- )
-}
diff --git a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/test b/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/test
deleted file mode 100644
index 85a7c97e9..000000000
--- a/bridge/src/sbt-test/source-dependencies/less-inter-inv-java/test
+++ /dev/null
@@ -1,9 +0,0 @@
-# 1 iteration from initial full compile
-> run
-$ copy-file changes/A2.java A.java
-
-# 1 iteration for the initial changes
-# 1 iteration to recompile all descendents and direct dependencies
-# no further iteration, because APIs of directs don't change
-> run
-> checkIterations 3