test_class.declarator: inputStrings = new HashMap<String, Entry<String, Integer>>()
test_class.modifier: private final
test_class.original_string: private final Map<String, Entry<String, Integer>> inputStrings = new HashMap<String, Entry<String, Integer>>();
test_class.type: Map<String, Entry<String, Integer>>
test_class.var_name: inputStrings
test_class.file: BackEnd/Core/sailfish-core/src/test/java/com/exactpro/sf/aml/scriptutil/MessageCountTest.java
test_class.identifier: MessageCountTest
test_case.body: @Test
      public void testFromStringIncorrectValue1() throws Exception {
          MessageCount messageCount = MessageCount.fromString(inputStrings.get("IncorrectValue1").getKey());
          assertNull(messageCount);
      }
test_case.class_method_signature: MessageCountTest.testFromStringIncorrectValue1()
test_case.full_signature: @Test public void testFromStringIncorrectValue1()
test_case.identifier: testFromStringIncorrectValue1
test_case.invocations: fromString getKey get assertNull
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFromStringIncorrectValue1()
focal_class.declarator: EXPRESSION_PATTERN
focal_class.modifier: protected static final
focal_class.original_string: protected static final Pattern EXPRESSION_PATTERN;
focal_class.type: Pattern
focal_class.var_name: EXPRESSION_PATTERN
focal_class.declarator: count
focal_class.modifier: private
focal_class.original_string: private int count;
focal_class.type: int
focal_class.var_name: count
focal_class.declarator: range
focal_class.modifier: private
focal_class.original_string: private Range range;
focal_class.type: Range
focal_class.var_name: range
focal_class.declarator: operation
focal_class.modifier: private
focal_class.original_string: private Operation operation;
focal_class.type: Operation
focal_class.var_name: operation
focal_class.file: BackEnd/Core/sailfish-core/src/main/java/com/exactpro/sf/aml/scriptutil/MessageCount.java
focal_class.identifier: MessageCount
focal_class.class_method_signature: MessageCount.MessageCount(int count, Operation op)
focal_class.full_signature: private  MessageCount(int count, Operation op)
focal_class.identifier: MessageCount
focal_class.modifiers: private
focal_class.parameters: (int count, Operation op)
focal_class.signature:  MessageCount(int count, Operation op)
focal_class.class_method_signature: MessageCount.MessageCount(Range range)
focal_class.full_signature: private  MessageCount(Range range)
focal_class.identifier: MessageCount
focal_class.modifiers: private
focal_class.parameters: (Range range)
focal_class.signature:  MessageCount(Range range)
focal_class.class_method_signature: MessageCount.fromString(String value)
focal_class.full_signature: public static MessageCount fromString(String value)
focal_class.identifier: fromString
focal_class.modifiers: public static
focal_class.parameters: (String value)
focal_class.return: MessageCount
focal_class.signature: MessageCount fromString(String value)
focal_class.class_method_signature: MessageCount.isInterval(String value)
focal_class.full_signature: protected static boolean isInterval(String value)
focal_class.identifier: isInterval
focal_class.modifiers: protected static
focal_class.parameters: (String value)
focal_class.return: boolean
focal_class.signature: boolean isInterval(String value)
focal_class.class_method_signature: MessageCount.main(String[] args)
focal_class.full_signature: public static void main(String[] args)
focal_class.identifier: main
focal_class.modifiers: public static
focal_class.parameters: (String[] args)
focal_class.return: void
focal_class.signature: void main(String[] args)
focal_class.class_method_signature: MessageCount.isValidExpression(String value)
focal_class.full_signature: public static boolean isValidExpression(String value)
focal_class.identifier: isValidExpression
focal_class.modifiers: public static
focal_class.parameters: (String value)
focal_class.return: boolean
focal_class.signature: boolean isValidExpression(String value)
focal_class.class_method_signature: MessageCount.parse(String s, Operation op)
focal_class.full_signature: private static MessageCount parse(String s, Operation op)
focal_class.identifier: parse
focal_class.modifiers: private static
focal_class.parameters: (String s, Operation op)
focal_class.return: MessageCount
focal_class.signature: MessageCount parse(String s, Operation op)
focal_class.class_method_signature: MessageCount.getCount()
focal_class.full_signature: public int getCount()
focal_class.identifier: getCount
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getCount()
focal_class.class_method_signature: MessageCount.getOperation()
focal_class.full_signature: public Operation getOperation()
focal_class.identifier: getOperation
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Operation
focal_class.signature: Operation getOperation()
focal_class.class_method_signature: MessageCount.checkInt(int i)
focal_class.full_signature: public boolean checkInt(int i)
focal_class.identifier: checkInt
focal_class.modifiers: public
focal_class.parameters: (int i)
focal_class.return: boolean
focal_class.signature: boolean checkInt(int i)
focal_class.class_method_signature: MessageCount.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public static MessageCount fromString(String value) {
  
  		MessageCount mc;
  
          if((mc = parse(value, Operation.equals)) != null) {
              return mc;
          }
          if((mc = parse(value, Operation.notEquals)) != null) {
              return mc;
          }
          if((mc = parse(value, Operation.greaterOrEquals)) != null) {
              return mc;
          }
          if((mc = parse(value, Operation.greater)) != null) {
              return mc;
          }
          if((mc = parse(value, Operation.lessOrEquals)) != null) {
              return mc;
          }
          if((mc = parse(value, Operation.less)) != null) {
              return mc;
          }
          if (isInterval(value)){
              Range range = Range.newInstance(value);
              return new MessageCount(range);
          }
  		try {
  			int i = Integer.parseInt(value);
  			if(i >= 0) {
                  return new MessageCount(i, Operation.equals);
  			}
  		} catch (NumberFormatException ignore){}
  
  		return mc;
  	}
focal_method.class_method_signature: MessageCount.fromString(String value)
focal_method.full_signature: public static MessageCount fromString(String value)
focal_method.identifier: fromString
focal_method.invocations: parse parse parse parse parse parse isInterval newInstance parseInt
focal_method.modifiers: public static
focal_method.parameters: (String value)
focal_method.return: MessageCount
focal_method.signature: MessageCount fromString(String value)