public class XProtocolTest extends InternalXBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private XMessageBuilder |
messageBuilder |
private XProtocol |
protocol |
baseUrl, DEFAULT_METADATA_CHARSET, fact, isSetForXTests, testHostInfo, testProperties| Constructor and Description |
|---|
XProtocolTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroyTestProtocol() |
void |
setupTestProtocol() |
void |
tableInsert() |
void |
testAnotherBasicSqlQuery() |
void |
testBasicCrudInsertFind() |
void |
testCapabilities() |
void |
testCreateAndDropCollection()
Test the create/drop collection admin commands.
|
void |
testDecodingAllTypes()
This tests that all types are decoded correctly.
|
void |
testDocUpdate() |
void |
testEnableDisableNotices() |
void |
testMultiInsert() |
void |
testResultSet()
This is a development method that will print a detailed result set for any command sent.
|
void |
testSqlDml()
Test DML that is executed with StmtExecute and does not return a result set.
|
void |
testTrivialSqlQuery() |
void |
testWarnings() |
assertSessionStatusEquals, assertSessionStatusNotEquals, assertThrows, assertThrows, assertThrows, assertThrows, createAuthenticatedTestProtocol, createTempTestCollection, createTestProtocol, createTestSchema, createTestSession, dropTempTestCollection, getEncodedTestHost, getTestDatabase, getTestHost, getTestPassword, getTestPort, getTestUser, mysqlVersionMeetsMinimum, mysqlVersionMeetsMinimumprivate XProtocol protocol
private XMessageBuilder messageBuilder
@BeforeEach public void setupTestProtocol()
@AfterEach
public void destroyTestProtocol()
throws java.io.IOException
java.io.IOException@Test public void testCreateAndDropCollection()
@Test public void testTrivialSqlQuery()
@Test public void testAnotherBasicSqlQuery()
@Test public void testDecodingAllTypes()
@Test public void testSqlDml()
@Test public void testBasicCrudInsertFind()
@Test public void testMultiInsert()
@Test public void testDocUpdate()
@Test public void tableInsert()
@Test public void testWarnings()
@Test public void testEnableDisableNotices()
@Test public void testResultSet()
@Test public void testCapabilities()