public class VertexCoreTest extends BaseCoreTest
LOG, TX_BATCH| Constructor and Description |
|---|
VertexCoreTest() |
clearData, graph, setup, storeFeatures, teardownpublic void initSchema()
protected void initPersonIndex(boolean indexCity)
protected void initComputerIndex()
public void testAddVertex()
public void testAddVertexWithInvalidPropertyType()
public void testAddVertexWithPropertyList()
public void testAddVertexWithInvalidPropertyList()
public void testAddVertexWithPropertySet()
public void testAddVertexWithInvalidPropertySet()
public void testAddVertexWithInvalidVertexLabelType()
public void testAddVertexWithNotExistsVertexLabel()
public void testAddVertexWithNotExistsPropKey()
public void testAddVertexWithNullableKeyAbsent()
public void testAddVertexLabelNewVertexWithNonNullKeysAbsent()
public void testAddVertexWithAppendedNullableKeysAbsent()
public void testAddVertexWithNotExistsVertexPropKey()
public void testAddVertexWithoutPrimaryValues()
public void testAddVertexWithoutVertexLabel()
public void testAddVertexWithAutomaticIdStrategyButPassedId()
public void testAddVertexWithAutomaticIdStrategyAndNotPassedId()
public void testAddVertexWithPrimaryKeyIdStrategyButPassedId()
public void testAddVertexWithPrimaryKeyIdStrategy()
public void testAddVertexWithCustomizeStringIdStrategy()
public void testAddVertexWithCustomizeStringIdStrategyWithoutValidId()
public void testAddVertexWithCustomizeNumberIdStrategy()
public void testAddVertexWithCustomizeNumberIdStrategyWithoutValidId()
public void testAddVertexWithTx()
public void testQueryAll()
public void testQueryAllWithLimit()
public void testQueryAllWithLimitByQueryVertices()
public void testQueryAllWithLimit0()
public void testQueryAllWithNoLimit()
public void testQueryAllWithIllegalLimit()
public void testQueryAllWithOffset()
public void testQueryAllWithOffsetAndLimit()
public void testQueryAllWithOffsetAndLimitWithMultiTimes()
public void testQueryAllWithIllegalOffsetOrLimit()
public void testSplicingId()
public void testQueryById()
public void testQueryByIdNotFound()
public void testQueryByLabel()
public void testQueryByLabelNotExists()
public void testQueryByLabelAndKeyName()
public void testQueryByPrimaryValues()
public void testQueryByPrimaryValuesAndProps()
public void testQueryFilterByPropName()
public void testQueryByHasKey()
public void testQueryByHasKeys()
public void testQueryByHasValue()
public void testQueryByHasValues()
public void testQueryByStringPropWithOneResult()
public void testQueryByStringPropWithMultiResults()
public void testQueryByIntPropWithOneResult()
public void testQueryByIntPropWithMultiResults()
public void testQueryByIntPropWithNonResult()
public void testQueryByIntPropWithDifferentDataType()
public void testQueryByIntPropUsingLtWithOneResult()
public void testQueryByIntPropUsingLtWithMultiResults()
public void testQueryByIntPropUsingLteWithMultiResults()
public void testQueryByIntPropUsingGtWithOneResult()
public void testQueryByIntPropUsingGtWithMultiResults()
public void testQueryByIntPropUsingGtWithNonResult()
public void testQueryByIntPropUsingGteWithMultiResults()
public void testQueryByIntPropUsingInsideWithOneResult()
public void testQueryByIntPropUsingInsideWithMultiResults()
public void testQueryByIntPropUsingInsideWithNonResult()
public void testQueryByIntPropUsingBetweenWithOneResult()
public void testQueryByIntPropUsingBetweenWithMultiResults()
public void testQueryByIntPropUsingBetweenWithNonResult()
public void testQueryByDateProperty()
public void testQueryByDatePropertyInString()
public void testQueryByUnionHasDate()
public void testQueryByTextContainsProperty()
public void testQueryByTextContainsAndExactMatchProperty()
public void testQueryByTextContainsPropertyWithLeftIndex()
public void testQueryWithMultiLayerConditions()
public void testQueryByIntPropOfOverrideVertex()
public void testQueryByStringPropOfOverrideVertex()
public void testQueryWithTxNotCommittedByNoCondition()
public void testQueryWithTxNotCommittedById()
public void testQueryWithTxNotCommittedByIntProp()
public void testQueryWithTxNotCommittedByIdInOtherThread()
throws InterruptedException
InterruptedExceptionpublic void testQueryByJointIndexes()
public void testQueryByJointIndexesAndCompositeIndexForOneLabel()
public void testQueryByJointIndexesAndCompositeIndexForMultiLabel()
public void testQueryByJointIndexesOnlyWithCompositeIndex()
public void testQueryByJointIndexesWithRangeIndex()
public void testQueryByJointIndexesWithCompositeIndexIncludeOtherField()
public void testQueryByJointIndexesWithOnlyRangeIndexes()
public void testQueryByJointIndexesWithSearchAndRangeIndexes()
public void testQueryByJointIndexesWithSearchAndRangeAndSecondaryIndexes()
public void testQueryByJointIndexesWithTwoSearchAndOneRangeIndexes()
public void testRemoveVertex()
public void testRemoveVertexOfNotExists()
public void testRemoveVertexAfterAddVertexWithTx()
public void testRemoveVertexOneByOne()
public void testAddVertexProperty()
public void testAddVertexPropertyExisted()
public void testAddVertexPropertyExistedWithIndex()
public void testAddVertexPropertyNotInVertexLabel()
public void testAddVertexPropertyWithNotExistPropKey()
public void testAddVertexPropertyOfPrimaryKey()
public void testAddVertexMultiTimesWithMergedProperties()
public void testRemoveVertexProperty()
public void testRemoveVertexPropertyOfPrimaryKey()
public void testRemoveVertexPropertyNullableWithIndex()
public void testRemoveVertexPropertyNonNullWithIndex()
public void testRemoveVertexPropertyNullableWithoutIndex()
public void testRemoveVertexPropertyNonNullWithoutIndex()
public void testAddVertexPropertyWithIllegalValueForIndex()
public void testQueryVertexByPropertyWithEmptyString()
public void testQueryVertexBeforeAfterUpdateMultiPropertyWithIndex()
public void testQueryVertexBeforeAfterUpdatePropertyWithSecondaryIndex()
public void testQueryVertexBeforeAfterUpdatePropertyWithRangeIndex()
public void testQueryVertexWithNullablePropertyInCompositeIndex()
public void testUpdateVertexProperty()
public void testUpdateVertexPropertyTwice()
public void testUpdateVertexPropertyOfNewVertex()
public void testUpdateVertexPropertyOfPrimaryKey()
public void testUpdateVertexPropertyOfPrimaryKeyOfNewVertex()
public void testUpdateVertexPropertyOfAddingVertex()
public void testUpdateVertexPropertyOfRemovingVertex()
public void testUpdateVertexPropertyOfRemovingVertexWithDrop()
public void testInsertAndInsertVertex()
public void testInsertAndDeleteVertex()
public void testInsertAndAppendVertex()
public void testInsertAndEliminateVertex()
public void testDeleteAndInsertVertex()
public void testDeleteAndDeleteVertex()
public void testDeleteAndAppendVertex()
public void testDeleteAndEliminateVertex()
public void testAppendAndInsertVertex()
public void testAppendAndDeleteVertex()
public void testAppendAndAppendSameVertexProperty()
public void testAppendAndAppendDifferentVertexProperty()
public void testAppendAndEliminateSameVertexProperty()
public void testAppendAndEliminateDifferentVertexProperty()
public void testEliminateAndInsertVertex()
public void testEliminateAndDeleteVertex()
public void testEliminateAndAppendSameVertexProperty()
public void testEliminateAndAppendDifferentVertexProperty()
public void testEliminateAndEliminateSameVertexProperty()
public void testEliminateAndEliminateDifferentVertexProperty()
public void testScanVertex()
public void testScanVertexWithSplitSizeLt1MB()
public void testScanVertexWithSplitSizeTypeError()
public void testScanVertexWithoutSplitSize()
public void testQuerySingleIndexedPropertyByEqual()
public void testQuerySingleIndexedPropertyByNotEqual()
public void testQueryComplexIndexedPropertyByEqualOnePrefix()
public void testQueryComplexIndexedPropertyByNotEqualOnePrefix()
public void testQueryComplexIndexedPropertyByEqualTwoPrefix()
public void testQueryComplexIndexedPropertyByNotEqualTwoPrefix()
public void testQueryComplexIndexedPropertyByEqualAll()
public void testQueryComplexIndexedPropertyByNotEqualAll()
public void testQueryByPage()
public void testQueryByPageResultsMatched()
public void testQueryByPageWithInvalidPage()
public void testQueryByPageWithInvalidLimit()
public void testQueryByPageWithOffset()
public void testQueryBySecondaryIndexWithLimitAndOffset()
public void testQueryByRangeIndexWithLimitAndOffset()
public void testQueryByLabelIndexWithLimitAndOffset()
public void testAddCustomizedIdVerticesContainsExisted()
Copyright © 2017–2018. All rights reserved.