Package org.hive2hive.core.processes.implementations.context

Examples of org.hive2hive.core.processes.implementations.context.BasePKUpdateContext


    // verify put
    Assert.assertNotNull(getter.getDataManager().getUnblocked(parameters).awaitUninterruptibly()
        .getData());

    // initialize a fake process context
    BasePKUpdateContext context = new TestMetaFilePKUpdateContext(protectionKeysOld, protectionKeysNew,
        metaFileSmall, parameters.getHash(), encryptedMetaFile.getVersionKey());
    // create a change protection keys process step
    ChangeProtectionKeysStep step = new ChangeProtectionKeysStep(context, getter.getDataManager());
    // run process, should not fail
    UseCaseTestUtil.executeProcessTillSucceded(step);
View Full Code Here


    // verify put
    Assert.assertNotNull(getter.getDataManager().getUnblocked(parameters).awaitUninterruptibly()
        .getData());

    // initialize a fake process context
    BasePKUpdateContext context = new TestChunkPKUpdateContext(protectionKeysOld, protectionKeysNew,
        chunk, parameters.getHash());
    // create a change protection keys process step
    ChangeProtectionKeysStep step = new ChangeProtectionKeysStep(context, getter.getDataManager());
    // run process, should not fail
    UseCaseTestUtil.executeProcessTillSucceded(step);
View Full Code Here

TOP

Related Classes of org.hive2hive.core.processes.implementations.context.BasePKUpdateContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.