public class CollectionModifyTest extends BaseCollectionTestCase
collection, collectionNamedbCharset, dbCollation, schema, sessionbaseUrl, DEFAULT_METADATA_CHARSET, fact, isSetForXTests, testHostInfo, testProperties| Constructor and Description |
|---|
CollectionModifyTest() |
| Modifier and Type | Method and Description |
|---|---|
private void |
assertTestPreparedStatementsResult(Result res,
int expectedAffectedItemsCount,
java.lang.String collectionName,
int... expectedValues) |
void |
testArrayAppend() |
void |
testArrayInsert() |
void |
testArrayModify() |
void |
testBug107510()
Tests fix for Bug#107510 (Bug#34259416), Empty string given to set() from Collection.modify() replaces full document.
|
void |
testBug24471057()
Tests fix for BUG#24471057, UPDATE FAILS WHEN THE NEW VALUE IS OF TYPE DBDOC WHICH HAS ARRAY IN IT.
|
void |
testBug27185332()
Tests fix for BUG#27185332, WL#11210:ERROR IS THROWN WHEN NESTED EMPTY DOCUMENTS ARE INSERTED TO COLLECTION.
|
void |
testBug27226293()
Tests fix for BUG#27226293, JSONNUMBER.GETINTEGER() & NUMBERFORMATEXCEPTION.
|
void |
testBug33637993()
Tests fix for Bug#33637993, Loss of backslashes in data after modify api is used.
|
void |
testCollectionModifyArray() |
void |
testCollectionModifyArrayAppend() |
void |
testCollectionModifyArrayInsert() |
void |
testCollectionModifyAsync() |
void |
testCollectionModifyAsyncMany() |
void |
testCollectionModifyBasic() |
void |
testCollectionModifyBind() |
void |
testCollectionModifyDataTypes() |
void |
testCollectionModifyExpr() |
void |
testCollectionModifySortLimit() |
void |
testDeprecateWhere() |
void |
testJsonModify() |
void |
testMergePatch() |
void |
testPreparedStatements() |
private void |
testPreparedStatementsResetData() |
void |
testReplace() |
void |
testReplaceOne() |
void |
testSet() |
void |
testUnset() |
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 testSet()
@Test public void testUnset()
@Test public void testReplace()
@Test public void testArrayAppend()
@Test public void testArrayInsert()
@Test public void testJsonModify()
@Test public void testArrayModify()
@Test
public void testBug24471057()
throws java.lang.Exception
java.lang.Exception@Test
public void testMergePatch()
throws java.lang.Exception
java.lang.Exception@Test
public void testBug27185332()
throws java.lang.Exception
java.lang.Exception@Test public void testReplaceOne()
@Test public void testBug27226293()
@Test public void testPreparedStatements()
private void testPreparedStatementsResetData()
private void assertTestPreparedStatementsResult(Result res, int expectedAffectedItemsCount, java.lang.String collectionName, int... expectedValues)
@Test
public void testDeprecateWhere()
throws java.lang.Exception
java.lang.Exception@Test
public void testCollectionModifyBasic()
throws java.lang.Exception
java.lang.Exception@Test
public void testCollectionModifySortLimit()
throws java.lang.Exception
java.lang.Exception@Test
@Disabled(value="$.F4 = 9223372036854775807 condition without quotes bind() not supported with modify.")
public void testCollectionModifyBind()
throws java.lang.Exception
java.lang.Exception@Test
public void testCollectionModifyDataTypes()
throws java.lang.Exception
java.lang.Exception@Test
public void testCollectionModifyExpr()
throws java.lang.Exception
java.lang.Exception@Test
public void testCollectionModifyArray()
throws java.lang.Exception
java.lang.Exception@Test
public void testCollectionModifyArrayAppend()
throws java.lang.Exception
java.lang.Exception@Test
public void testCollectionModifyArrayInsert()
throws java.lang.Exception
java.lang.Exception@Test
public void testCollectionModifyAsync()
throws java.lang.Exception
java.lang.Exception@Test
public void testCollectionModifyAsyncMany()
throws java.lang.Exception
java.lang.Exception@Test
public void testBug107510()
throws java.lang.Exception
java.lang.Exception@Test
public void testBug33637993()
throws java.lang.Exception
java.lang.Exception