aboutsummaryrefslogtreecommitdiff
path: root/javatests
diff options
context:
space:
mode:
authorcushon <cushon@google.com>2018-03-16 12:57:52 -0700
committerLiam Miller-Cushon <cushon@google.com>2018-04-10 23:17:25 -0700
commitbe7c38da06932677b2de0864f75444ac8d3d8e7c (patch)
treed4c55127b2a42423beecd83d17c6fcf2f8a74717 /javatests
parent7c89da8b546751337e5a1b67c3e1e52cb4467a4a (diff)
downloadturbine-be7c38da06932677b2de0864f75444ac8d3d8e7c.tar.gz
Remove unused options
MOE_MIGRATED_REVID=189380767
Diffstat (limited to 'javatests')
-rw-r--r--javatests/com/google/turbine/options/TurbineOptionsTest.java31
1 files changed, 0 insertions, 31 deletions
diff --git a/javatests/com/google/turbine/options/TurbineOptionsTest.java b/javatests/com/google/turbine/options/TurbineOptionsTest.java
index 8342ccc..36f9e20 100644
--- a/javatests/com/google/turbine/options/TurbineOptionsTest.java
+++ b/javatests/com/google/turbine/options/TurbineOptionsTest.java
@@ -120,37 +120,6 @@ public class TurbineOptionsTest {
assertThat(options.depsArtifacts()).containsExactly("foo.jdeps", "bar.jdeps");
}
- /** Makes sure turbine accepts old-style arguments. */
- // TODO(b/72379900): Remove this.
- @Test
- public void testLegacyStrictJavaDepsArgs() throws Exception {
- String[] lines = {
- "--direct_dependency",
- "blaze-out/foo/libbar.jar",
- "//foo/bar",
- "--indirect_dependency",
- "blaze-out/foo/libbaz1.jar",
- "//foo/baz1",
- "--indirect_dependency",
- "blaze-out/foo/libbaz2.jar",
- "//foo/baz2",
- "--indirect_dependency",
- "blaze-out/proto/libproto.jar",
- "//proto",
- "java_proto_library",
- "--deps_artifacts",
- "foo.jdeps",
- "bar.jdeps",
- "",
- };
-
- TurbineOptions options =
- TurbineOptionsParser.parse(Iterables.concat(BASE_ARGS, Arrays.asList(lines)));
-
- assertThat(options.targetLabel()).hasValue("//java/com/google/test");
- assertThat(options.depsArtifacts()).containsExactly("foo.jdeps", "bar.jdeps");
- }
-
@Test
public void classpathArgs() throws Exception {
String[] lines = {