Skip to content

Commit f0336f7

Browse files
committed
removed useless tests and output
1 parent 423e541 commit f0336f7

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

jdbc-v2/src/test/java/com/clickhouse/jdbc/internal/JdbcConfigurationTest.java

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -22,42 +22,9 @@ public class JdbcConfigurationTest {
2222
public void testConnectionUrl(String jdbcUrl, String connectionUrl, Properties properties, Map<String, String> expectedClientProps) throws Exception {
2323
JdbcConfiguration configuration = new JdbcConfiguration(jdbcUrl, properties);
2424
assertEquals(configuration.getConnectionUrl(), connectionUrl);
25-
System.out.println(configuration.clientProperties);
2625
assertEquals(configuration.clientProperties, expectedClientProps);
2726
}
2827

29-
@Test
30-
public void testRegExp() {
31-
String url = "//localhost:8123/";
32-
33-
Pattern pattern = Pattern.compile("(https?:)?\\/\\/([\\w\\.\\-]+):?([\\d]*)(?:\\/([\\w]+))?\\/?\\??(.*)$");
34-
35-
36-
Matcher m = pattern.matcher(url);
37-
System.out.println("hasMatch: " + m.matches());
38-
for (int i = 1; i <= m.groupCount(); i++) {
39-
System.out.println("g: " + i + " > " + m.group(i));
40-
}
41-
}
42-
43-
@Test
44-
public void testRe3gExp() {
45-
String url = "param1=value1&param2=value2,value3,\"value4\"&p_p.3=\" = \"";
46-
47-
Pattern pattern = Pattern.compile("(?:&?[\\w\\.]+)=(?:[\\\\w])*");
48-
49-
50-
Matcher m = pattern.matcher(url);
51-
while (m.find()) {
52-
System.out.println("found: " + (url.substring(m.start(), m.end())));
53-
54-
}
55-
System.out.println("hasMatch: " + m.matches());
56-
for (int i = 1; i <= m.groupCount(); i++) {
57-
System.out.println("g: " + i + " > " + m.group(i));
58-
}
59-
}
60-
6128
@DataProvider(name = "testConnectionUrlDataProvider")
6229
public static Object[][] testConnectionUrlDataProvider() {
6330
Properties defaultProps = new Properties();

0 commit comments

Comments
 (0)