@@ -105,30 +105,6 @@ public void commandLine_basic() throws Exception {
105
105
.inOrder ();
106
106
}
107
107
108
- @ Test
109
- public void commandline_derivedArtifact () {
110
- // Verify that the command line contains the correct path to a generated protocol buffers.
111
- SupportData supportData =
112
- SupportData .create (
113
- Predicates .<TransitiveInfoCollection >alwaysFalse (),
114
- ImmutableList .of (derivedArtifact ("//:dont-care" , "source_file.proto" )),
115
- NestedSetBuilder .<Artifact >emptySet (STABLE_ORDER ) /* protosInDirectDeps */ ,
116
- NestedSetBuilder .<Artifact >emptySet (STABLE_ORDER ) /* transitiveImports */ ,
117
- true /* hasProtoSources */ );
118
-
119
- CustomCommandLine cmdLine =
120
- createCommandLineFromToolchains (
121
- ImmutableList .<ToolchainInvocation >of () /* toolchainInvocations */ ,
122
- supportData .getDirectProtoSources (),
123
- supportData .getTransitiveImports (),
124
- null /* protosInDirectDeps */ ,
125
- "//foo:bar" ,
126
- true /* allowServices */ ,
127
- ImmutableList .<String >of () /* protocOpts */ );
128
-
129
- assertThat (cmdLine .arguments ()).containsExactly ("out/source_file.proto" );
130
- }
131
-
132
108
@ Test
133
109
public void commandLine_strictDeps () throws Exception {
134
110
ProtoLangToolchainProvider toolchain =
0 commit comments