test_class.declarator: firstArgument
test_class.modifier: private
test_class.original_string: private DRes<SBool> firstArgument;
test_class.type: DRes<SBool>
test_class.var_name: firstArgument
test_class.declarator: secondArgument
test_class.modifier: private
test_class.original_string: private int secondArgument;
test_class.type: int
test_class.var_name: secondArgument
test_class.file: core/src/test/java/dk/alexandra/fresco/logging/binary/BinaryLoggingDecoratorTest.java
test_class.identifier: BinaryLoggingDecoratorTest
test_case.body: @Test
    public void reset() {
      Binary binary = mock(Binary.class);
      when(binary.xor(any(DRes.class), any(DRes.class))).thenReturn(mock(DRes.class));
      when(binary.and(any(DRes.class), any(DRes.class))).thenReturn(mock(DRes.class));
  
      BinaryLoggingDecorator decorator = new BinaryLoggingDecorator(binary);
      decorator.xor(mock(DRes.class), mock(DRes.class));
      decorator.and(mock(DRes.class), mock(DRes.class));
      Assert.assertEquals(decorator.getLoggedValues().get("XOR_COUNT").intValue(), 1);
      Assert.assertEquals(decorator.getLoggedValues().get("AND_COUNT").intValue(), 1);
      decorator.reset();
      Assert.assertEquals(decorator.getLoggedValues().get("XOR_COUNT").intValue(), 0);
      Assert.assertEquals(decorator.getLoggedValues().get("AND_COUNT").intValue(), 0);
    }
test_case.class_method_signature: BinaryLoggingDecoratorTest.reset()
test_case.full_signature: @Test public void reset()
test_case.identifier: reset
test_case.invocations: mock thenReturn when xor any any mock thenReturn when and any any mock xor mock mock and mock mock assertEquals intValue get getLoggedValues assertEquals intValue get getLoggedValues reset assertEquals intValue get getLoggedValues assertEquals intValue get getLoggedValues
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void reset()
focal_class.declarator: BINARY_BASIC_XOR = "XOR_COUNT"
focal_class.modifier: public static final
focal_class.original_string: public static final String BINARY_BASIC_XOR = "XOR_COUNT";
focal_class.type: String
focal_class.var_name: BINARY_BASIC_XOR
focal_class.declarator: BINARY_BASIC_AND = "AND_COUNT"
focal_class.modifier: public static final
focal_class.original_string: public static final String BINARY_BASIC_AND = "AND_COUNT";
focal_class.type: String
focal_class.var_name: BINARY_BASIC_AND
focal_class.declarator: BINARY_BASIC_RANDOM = "RANDOM_BIT_COUNT"
focal_class.modifier: public static final
focal_class.original_string: public static final String BINARY_BASIC_RANDOM = "RANDOM_BIT_COUNT";
focal_class.type: String
focal_class.var_name: BINARY_BASIC_RANDOM
focal_class.declarator: xorCount
focal_class.modifier: private
focal_class.original_string: private long xorCount;
focal_class.type: long
focal_class.var_name: xorCount
focal_class.declarator: andCount
focal_class.modifier: private
focal_class.original_string: private long andCount;
focal_class.type: long
focal_class.var_name: andCount
focal_class.declarator: randBitCount
focal_class.modifier: private
focal_class.original_string: private long randBitCount;
focal_class.type: long
focal_class.var_name: randBitCount
focal_class.declarator: delegate
focal_class.modifier: private
focal_class.original_string: private Binary delegate;
focal_class.type: Binary
focal_class.var_name: delegate
focal_class.file: core/src/main/java/dk/alexandra/fresco/logging/binary/BinaryLoggingDecorator.java
focal_class.identifier: BinaryLoggingDecorator
focal_class.interfaces: implements PerformanceLogger, Binary
focal_class.class_method_signature: BinaryLoggingDecorator.BinaryLoggingDecorator(Binary delegate)
focal_class.full_signature: public  BinaryLoggingDecorator(Binary delegate)
focal_class.identifier: BinaryLoggingDecorator
focal_class.modifiers: public
focal_class.parameters: (Binary delegate)
focal_class.signature:  BinaryLoggingDecorator(Binary delegate)
focal_class.class_method_signature: BinaryLoggingDecorator.known(boolean known)
focal_class.full_signature: @Override public DRes<SBool> known(boolean known)
focal_class.identifier: known
focal_class.modifiers: @Override public
focal_class.parameters: (boolean known)
focal_class.return: DRes<SBool>
focal_class.signature: DRes<SBool> known(boolean known)
focal_class.class_method_signature: BinaryLoggingDecorator.input(boolean in, int inputter)
focal_class.full_signature: @Override public DRes<SBool> input(boolean in, int inputter)
focal_class.identifier: input
focal_class.modifiers: @Override public
focal_class.parameters: (boolean in, int inputter)
focal_class.return: DRes<SBool>
focal_class.signature: DRes<SBool> input(boolean in, int inputter)
focal_class.class_method_signature: BinaryLoggingDecorator.randomBit()
focal_class.full_signature: @Override public DRes<SBool> randomBit()
focal_class.identifier: randomBit
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: DRes<SBool>
focal_class.signature: DRes<SBool> randomBit()
focal_class.class_method_signature: BinaryLoggingDecorator.open(DRes<SBool> toOpen)
focal_class.full_signature: @Override public DRes<Boolean> open(DRes<SBool> toOpen)
focal_class.identifier: open
focal_class.modifiers: @Override public
focal_class.parameters: (DRes<SBool> toOpen)
focal_class.return: DRes<Boolean>
focal_class.signature: DRes<Boolean> open(DRes<SBool> toOpen)
focal_class.class_method_signature: BinaryLoggingDecorator.open(DRes<SBool> toOpen, int towardsPartyId)
focal_class.full_signature: @Override public DRes<Boolean> open(DRes<SBool> toOpen, int towardsPartyId)
focal_class.identifier: open
focal_class.modifiers: @Override public
focal_class.parameters: (DRes<SBool> toOpen, int towardsPartyId)
focal_class.return: DRes<Boolean>
focal_class.signature: DRes<Boolean> open(DRes<SBool> toOpen, int towardsPartyId)
focal_class.class_method_signature: BinaryLoggingDecorator.and(DRes<SBool> left, DRes<SBool> right)
focal_class.full_signature: @Override public DRes<SBool> and(DRes<SBool> left, DRes<SBool> right)
focal_class.identifier: and
focal_class.modifiers: @Override public
focal_class.parameters: (DRes<SBool> left, DRes<SBool> right)
focal_class.return: DRes<SBool>
focal_class.signature: DRes<SBool> and(DRes<SBool> left, DRes<SBool> right)
focal_class.class_method_signature: BinaryLoggingDecorator.xor(DRes<SBool> left, DRes<SBool> right)
focal_class.full_signature: @Override public DRes<SBool> xor(DRes<SBool> left, DRes<SBool> right)
focal_class.identifier: xor
focal_class.modifiers: @Override public
focal_class.parameters: (DRes<SBool> left, DRes<SBool> right)
focal_class.return: DRes<SBool>
focal_class.signature: DRes<SBool> xor(DRes<SBool> left, DRes<SBool> right)
focal_class.class_method_signature: BinaryLoggingDecorator.not(DRes<SBool> in)
focal_class.full_signature: @Override public DRes<SBool> not(DRes<SBool> in)
focal_class.identifier: not
focal_class.modifiers: @Override public
focal_class.parameters: (DRes<SBool> in)
focal_class.return: DRes<SBool>
focal_class.signature: DRes<SBool> not(DRes<SBool> in)
focal_class.class_method_signature: BinaryLoggingDecorator.reset()
focal_class.full_signature: @Override public void reset()
focal_class.identifier: reset
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void reset()
focal_class.class_method_signature: BinaryLoggingDecorator.getLoggedValues()
focal_class.full_signature: @Override public Map<String, Long> getLoggedValues()
focal_class.identifier: getLoggedValues
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, Long>
focal_class.signature: Map<String, Long> getLoggedValues()
focal_method.body: @Override
    public void reset() {
      this.andCount = 0;
      this.xorCount = 0;
    }
focal_method.class_method_signature: BinaryLoggingDecorator.reset()
focal_method.full_signature: @Override public void reset()
focal_method.identifier: reset
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void reset()