flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tillrohrmann <...@git.apache.org>
Subject [GitHub] flink pull request #5224: [FLINK-8338] [flip6] Make CustomCommandLines non s...
Date Thu, 11 Jan 2018 12:40:23 GMT
Github user tillrohrmann commented on a diff in the pull request:

    --- Diff: flink-clients/src/test/java/org/apache/flink/client/cli/util/MockedCliFrontend.java
    @@ -20,40 +20,22 @@
     import org.apache.flink.client.cli.CliFrontend;
     import org.apache.flink.client.cli.CliFrontendTestUtils;
    -import org.apache.flink.client.cli.CustomCommandLine;
     import org.apache.flink.client.program.ClusterClient;
     import org.apache.flink.configuration.Configuration;
    -import org.apache.commons.cli.CommandLine;
    -import static org.mockito.Matchers.any;
    -import static org.mockito.Matchers.anyString;
    -import static org.powermock.api.mockito.PowerMockito.mock;
    -import static org.powermock.api.mockito.PowerMockito.when;
    +import java.util.Collections;
      * Utility class for mocking the {@link ClusterClient} within a {@link CliFrontend}.
      * <p>The mocking behavior can be defined in the constructor of the sub-class.
     public class MockedCliFrontend extends CliFrontend {
    --- End diff --
    True. But since I didn't introduce it, I'll keep it like it is (avoiding further downstream
merge conflicts).


View raw message