public virtual void TestGetAll()
        {
            AbstractQueryResult queryResult = NewQueryResult();

            queryResult.LoadFromClassIndexes(Container().ClassCollection().Iterator());
            int[] ids = IntArrays4.Concat(itemIds, new int[] { idForGetAll });
            AssertIDs(queryResult, ids, true);
        }
예제 #2
0
        public virtual void TestMultiTransactionSmallerWithCommit()
        {
            Transaction transaction = NewTransaction();

            FillTransactionWith(transaction, 0);
            int[] expectedZeros = NewBTreeNodeSizedArray(0);
            AssertSmaller(transaction, expectedZeros, 3);
            transaction.Commit();
            FillTransactionWith(transaction, 5);
            AssertSmaller(IntArrays4.Concat(expectedZeros, new int[] { 3, 4 }), 7);
        }