#383 - Refactor - Rename Oracle10Platform to OraclePlatform, remove Oracle9Platform (as not different)

This commit is contained in:
Robin Bygrave
2015-08-18 22:26:44 +12:00
parent 10937de24b
commit 75e9770d5e
8 changed files with 16 additions and 38 deletions
@@ -7,7 +7,7 @@ import static org.assertj.core.api.Assertions.assertThat;
public class OraclePlatformTest {
Oracle10Platform platform = new Oracle10Platform();
OraclePlatform platform = new OraclePlatform();
@Test
public void testTypeConversion() {
@@ -3,7 +3,7 @@ package com.avaje.ebean.dbmigration.ddlgeneration.platform;
import com.avaje.ebean.config.dbplatform.H2Platform;
import com.avaje.ebean.config.dbplatform.MsSqlServer2005Platform;
import com.avaje.ebean.config.dbplatform.MySqlPlatform;
import com.avaje.ebean.config.dbplatform.Oracle10Platform;
import com.avaje.ebean.config.dbplatform.OraclePlatform;
import com.avaje.ebean.config.dbplatform.PostgresPlatform;
import com.avaje.ebean.dbmigration.migration.AlterColumn;
import org.junit.Test;
@@ -16,7 +16,7 @@ public class PlatformDdl_AlterColumnTest {
PlatformDdl h2Ddl = new H2Platform().getPlatformDdl();
PlatformDdl pgDdl = new PostgresPlatform().getPlatformDdl();
PlatformDdl mysqlDdl = new MySqlPlatform().getPlatformDdl();
PlatformDdl oraDdl = new Oracle10Platform().getPlatformDdl();
PlatformDdl oraDdl = new OraclePlatform().getPlatformDdl();
PlatformDdl sqlServerDdl = new MsSqlServer2005Platform().getPlatformDdl();
AlterColumn alterNotNull() {
@@ -3,7 +3,7 @@ package com.avaje.ebean.dbmigration.ddlgeneration.platform;
import com.avaje.ebean.config.dbplatform.H2Platform;
import com.avaje.ebean.config.dbplatform.MsSqlServer2005Platform;
import com.avaje.ebean.config.dbplatform.MySqlPlatform;
import com.avaje.ebean.config.dbplatform.Oracle10Platform;
import com.avaje.ebean.config.dbplatform.OraclePlatform;
import com.avaje.ebean.config.dbplatform.PostgresPlatform;
import org.junit.Test;
@@ -15,7 +15,7 @@ public class PlatformDdl_dropUniqueConstraintTest {
PlatformDdl h2Ddl = new H2Platform().getPlatformDdl();
PlatformDdl pgDdl = new PostgresPlatform().getPlatformDdl();
PlatformDdl mysqlDdl = new MySqlPlatform().getPlatformDdl();
PlatformDdl oraDdl = new Oracle10Platform().getPlatformDdl();
PlatformDdl oraDdl = new OraclePlatform().getPlatformDdl();
PlatformDdl sqlServerDdl = new MsSqlServer2005Platform().getPlatformDdl();
@Test