|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2019 the original author or authors. |
|
|
|
|
* Copyright 2002-2022 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -27,6 +27,7 @@ import static org.assertj.core.api.Assertions.assertThat;
@@ -27,6 +27,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|
|
|
|
* |
|
|
|
|
* @author Thomas Risberg |
|
|
|
|
* @author Juergen Hoeller |
|
|
|
|
* @author Ben Blinebury |
|
|
|
|
*/ |
|
|
|
|
public class JdbcUtilsTests { |
|
|
|
|
|
|
|
|
@ -37,6 +38,7 @@ public class JdbcUtilsTests {
@@ -37,6 +38,7 @@ public class JdbcUtilsTests {
|
|
|
|
|
assertThat(JdbcUtils.commonDatabaseName("Sybase SQL Server")).isEqualTo("Sybase"); |
|
|
|
|
assertThat(JdbcUtils.commonDatabaseName("Adaptive Server Enterprise")).isEqualTo("Sybase"); |
|
|
|
|
assertThat(JdbcUtils.commonDatabaseName("MySQL")).isEqualTo("MySQL"); |
|
|
|
|
assertThat(JdbcUtils.commonDatabaseName("MariaDB")).isEqualTo("MariaDB"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|