DATAJDBC-569 - Removes unused TestDatabaseFeatures.

Original pull request: #236.
This commit is contained in:
Jens Schauder
2020-07-10 15:57:51 +02:00
committed by Mark Paluch
parent 0fe4f4f2f9
commit c6c31dea48
2 changed files with 0 additions and 17 deletions

View File

@@ -259,7 +259,6 @@ public class JdbcRepositoryIntegrationTests {
}
@Test // DATAJDBC-464, DATAJDBC-318
@EnabledOnFeature(SUPPORTS_DATE_DATATYPES)
public void executeQueryWithParameterRequiringConversion() {
Instant now = Instant.now();

View File

@@ -42,14 +42,6 @@ public class TestDatabaseFeatures {
database = Arrays.stream(Database.values()).filter(db -> db.matches(productName)).findFirst().get();
}
/**
* Oracle returns an oracle.sql.TIMESTAMP which currently cannot be converted to an Instant. See DATAJDBC-569 for
* reference.
*/
private void supportsDateDataTypes() {
assumeThat(database).isNotEqualTo(Database.Oracle);
}
/**
* Not all databases support really huge numbers as represented by {@link java.math.BigDecimal} and similar.
*/
@@ -57,13 +49,6 @@ public class TestDatabaseFeatures {
assumeThat(database).isNotIn(Database.Oracle, Database.SqlServer);
}
/**
* Oracle does not allow to specify an alias for a joined table with {@code AS}. See DATAJDBC-570 for reference.
*/
private void supportsAsForJoinAlias() {
assumeThat(database).isNotEqualTo(Database.Oracle);
}
/**
* Oracles JDBC driver seems to have a bug that makes it impossible to acquire generated keys when the column is
* quoted. See
@@ -119,7 +104,6 @@ public class TestDatabaseFeatures {
public enum Feature {
SUPPORTS_DATE_DATATYPES(TestDatabaseFeatures::supportsDateDataTypes), //
SUPPORTS_MULTIDIMENSIONAL_ARRAYS(TestDatabaseFeatures::supportsMultiDimensionalArrays), //
SUPPORTS_QUOTED_IDS(TestDatabaseFeatures::supportsQuotedIds), //
SUPPORTS_HUGE_NUMBERS(TestDatabaseFeatures::supportsHugeNumbers), //