OperationCode opCode = currentOp.getOperationCode(); int opFlags = currentOp.getFlags(); int clientNum = currentOp.getClientNum(); VM clientVM = null; boolean useThisVM = false; System.out.println("executeOpBlock: performing operation number [" + currentOp.getOpNum() + "]: " + currentOp); if ((opFlags & OpFlags.USE_OLDCONN) == 0) { OperationCode authOpCode = currentOp.getAuthzOperationCode(); int[] indices = currentOp.getIndices(); CredentialGenerator cGen = credentialGenerator.getCredentialGenerator(); final Properties javaProps = cGen == null ? null : cGen.getJavaProperties(); doOp(opCode, currentOp.getIndices(), new Integer(opFlags), new Integer(expectedResult)); } else { int[] indices = currentOp.getIndices(); clientVM.invoke("ClientAuthorizationTestCase.doOp", () -> ClientAuthorizationTestCase .doOp(opCode, indices, new Integer(opFlags), new Integer(expectedResult)));
currentOp.setOpNum(opNum); opBlock.add(currentOp);
public OperationWithAction(final OperationCode opCode, final OperationCode deniedOpCode, final int clientNum, final int flags, final int numOps) { this.opCode = opCode; this.authzOpCode = deniedOpCode; this.clientNum = clientNum; this.flags = flags; setIndices(numOps); this.opNum = 0; }
public OperationWithAction(final OperationCode opCode, final int clientNum, final int flags, final int numOps) { this.opCode = opCode; this.authzOpCode = opCode; this.clientNum = clientNum; this.flags = flags; setIndices(numOps); this.opNum = 0; }
public OperationWithAction(final OperationCode opCode) { this.opCode = opCode; this.authzOpCode = opCode; this.clientNum = 1; this.flags = OpFlags.NONE; setIndices(4); this.opNum = 0; }
public OperationWithAction(final OperationCode opCode, final int clientNum) { this.opCode = opCode; this.authzOpCode = opCode; this.clientNum = clientNum; this.flags = OpFlags.NONE; setIndices(4); this.opNum = 0; }