Search in sources :

Example 11 with PartitionType

use of com.cubrid.common.core.common.model.PartitionType in project cubrid-manager by CUBRID.

the class PartitionTypeTest method testPartitionType.

/**
	 * Test method for
	 * {@link com.cubrid.common.core.common.model.PartitionType#PartitionType(java.lang.String)}
	 * .
	 */
public void testPartitionType() {
    PartitionType type = PartitionType.HASH;
    assertEquals(type.getText(), "HASH");
    type = PartitionType.LIST;
    assertEquals(type.getText(), "LIST");
    type = PartitionType.RANGE;
    assertEquals(type.getText(), "RANGE");
}
Also used : PartitionType(com.cubrid.common.core.common.model.PartitionType)

Aggregations

PartitionType (com.cubrid.common.core.common.model.PartitionType)11 PartitionInfo (com.cubrid.common.core.common.model.PartitionInfo)8 ArrayList (java.util.ArrayList)6 Constraint (com.cubrid.common.core.common.model.Constraint)4 SchemaInfo (com.cubrid.common.core.common.model.SchemaInfo)3 DBAttribute (com.cubrid.common.core.common.model.DBAttribute)2 DBResolution (com.cubrid.common.core.common.model.DBResolution)2 DBMethod (com.cubrid.common.core.common.model.DBMethod)1 SerialInfo (com.cubrid.common.core.common.model.SerialInfo)1 SQLException (java.sql.SQLException)1 List (java.util.List)1 StructuredSelection (org.eclipse.jface.viewers.StructuredSelection)1 WizardDialog (org.eclipse.jface.wizard.WizardDialog)1