diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/utils/OptionUtilsTest.java b/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/utils/OptionUtilsTest.java deleted file mode 100644 index 1825d7a88b6..00000000000 --- a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/utils/OptionUtilsTest.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright 2022 Ververica Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.ververica.cdc.connectors.base.utils; - -import org.apache.flink.configuration.ConfigOption; -import org.apache.flink.configuration.ConfigOptions; - -import org.junit.jupiter.api.Test; - -import java.util.HashMap; -import java.util.Map; - -/** Tests for {@link OptionUtils}. */ -public class OptionUtilsTest { - - @Test - public void testOptionsPrint() { - Map options = new HashMap<>(); - options.put("host", "localhost:3306"); - options.put("user", "tyrantlucifer"); - options.put("password", "tyrantlucifer"); - ConfigOption host = ConfigOptions.key("host").stringType().noDefaultValue(); - ConfigOption user = ConfigOptions.key("user").stringType().noDefaultValue(); - ConfigOption password = ConfigOptions.key("password").stringType().noDefaultValue(); - OptionUtils.printOptions(options, host, user, password); - } -}