public class CollectionTest extends BaseCollectionTestCase
collection, collectionNamedbCharset, dbCollation, schema, sessionbaseUrl, DEFAULT_METADATA_CHARSET, fact, isSetForXTests, testHostInfo, testProperties| Constructor and Description |
|---|
CollectionTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
createArrayIndex() |
void |
createIndex() |
void |
getExistentCollectionWithRequireExistsShouldNotThrow() |
void |
getNonExistentCollectionWithoutRequireExistsShouldNotThrow() |
void |
getNonExistentCollectionWithRequireExistsShouldThrow() |
void |
testArrayIndex001()
START testArrayIndexBasic tests
|
void |
testArrayIndex002()
START testArrayIndexBasic tests
|
void |
testArrayIndex003() |
void |
testArrayIndex004() |
void |
testArrayIndex005() |
void |
testArrayIndex006() |
void |
testArrayIndex007() |
void |
testArrayIndex008() |
void |
testArrayIndex009() |
void |
testArrayIndex010() |
void |
testArrayIndex011() |
void |
testArrayIndex012()
START testArrayIndexBasic tests
|
void |
testArrayIndex013() |
void |
testArrayIndex014() |
void |
testArrayIndex015() |
void |
testAsyncBind() |
void |
testCollectionAddModifyRemoveAsync() |
void |
testCount() |
void |
testExists() |
void |
testFetchOneFetchAllAsync() |
void |
testGetSchema() |
void |
testGetSession() |
private void |
validateArrayIndex(java.lang.String keydName,
java.lang.String collName,
int noFields) |
private void |
validateIndex(java.lang.String keyName,
java.lang.String collName,
int sequence,
boolean unique,
boolean required,
boolean array,
java.lang.String dataType) |
private void |
validateIndex(java.lang.String keyName,
java.lang.String collName,
int sequence,
boolean unique,
boolean required,
boolean array,
java.lang.String dataType,
boolean unsigned,
java.lang.Integer length) |
setupCollectionTest, teardownCollectionTestassertNonSecureSession, assertPreparedStatementsCount, assertPreparedStatementsCountsAndId, assertPreparedStatementsStatusCounts, assertSecureSession, assertSecureSession, buildString, count_data, destroyTestSession, dropCollection, getPreparedStatementExecutionsCount, getPreparedStatementId, getPreparedStatementsCount, getPreparedStatementsCount, getPreparedStatementsCount, getPrepDeallocateCount, getPrepExecuteCount, getPrepPrepareCount, getThreadId, isMysqlRunningLocally, isServerRunningOnWindows, makeParam, makeParam, makeParam, setupTestSession, sqlUpdate, supportsTestCertificates, supportsTLSv1_2assertSessionStatusEquals, assertSessionStatusNotEquals, assertThrows, assertThrows, assertThrows, assertThrows, createAuthenticatedTestProtocol, createTempTestCollection, createTestProtocol, createTestSchema, createTestSession, dropTempTestCollection, getEncodedTestHost, getTestDatabase, getTestHost, getTestPassword, getTestPort, getTestUser, mysqlVersionMeetsMinimum, mysqlVersionMeetsMinimum@Test public void testCount()
@Test public void testGetSchema()
@Test public void testGetSession()
@Test public void testExists()
@Test public void getNonExistentCollectionWithRequireExistsShouldThrow()
@Test public void getNonExistentCollectionWithoutRequireExistsShouldNotThrow()
@Test public void getExistentCollectionWithRequireExistsShouldNotThrow()
@Test
public void createIndex()
throws java.lang.Exception
java.lang.Exception@Test
public void createArrayIndex()
throws java.lang.Exception
java.lang.Exceptionprivate void validateIndex(java.lang.String keyName,
java.lang.String collName,
int sequence,
boolean unique,
boolean required,
boolean array,
java.lang.String dataType)
throws java.lang.Exception
java.lang.Exceptionprivate void validateIndex(java.lang.String keyName,
java.lang.String collName,
int sequence,
boolean unique,
boolean required,
boolean array,
java.lang.String dataType,
boolean unsigned,
java.lang.Integer length)
throws java.lang.Exception
java.lang.Exceptionprivate void validateArrayIndex(java.lang.String keydName,
java.lang.String collName,
int noFields)
throws java.lang.Exception
java.lang.Exception@Test
public void testArrayIndex001()
throws java.lang.Exception
java.lang.Exceptionpublic void testArrayIndex002()
throws java.lang.Exception
java.lang.Exception@Test
public void testArrayIndex003()
throws java.lang.Exception
java.lang.Exception@Test
public void testArrayIndex004()
throws java.lang.Exception
java.lang.Exception@Test
public void testArrayIndex005()
throws java.lang.Exception
java.lang.Exception@Test
public void testArrayIndex006()
throws java.lang.Exception
java.lang.Exception@Test
public void testArrayIndex007()
throws java.lang.Exception
java.lang.Exception@Test
public void testArrayIndex008()
throws java.lang.Exception
java.lang.Exception@Test
public void testArrayIndex009()
throws java.lang.Exception
java.lang.Exception@Test
public void testArrayIndex010()
throws java.lang.Exception
java.lang.Exception@Test
public void testArrayIndex011()
throws java.lang.Exception
java.lang.Exception@Test
public void testArrayIndex012()
throws java.lang.Exception
java.lang.Exception@Test
public void testArrayIndex013()
throws java.lang.Exception
java.lang.Exception@Test
public void testArrayIndex014()
throws java.lang.Exception
java.lang.Exception@Test
public void testArrayIndex015()
throws java.lang.Exception
java.lang.Exception@Test
public void testAsyncBind()
throws java.lang.Exception
java.lang.Exception@Test
public void testFetchOneFetchAllAsync()
throws java.lang.Exception
java.lang.Exception@Test
public void testCollectionAddModifyRemoveAsync()
throws java.lang.Exception
java.lang.Exception