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 testIsValidExpression() throws Exception {
          checkIsValidExpression("${ref.field}");
          checkIsValidExpression("${ref.field[1]}");
          checkIsValidExpression("${ref.field.field}");
          checkIsValidExpression("${ref.field[1].field}");
          checkIsValidExpression("${ref.field1} + ${ref.field2}");
          checkIsValidExpression("${ref.field1} + ${ref.field2} + 100");
          checkIsValidExpression("${ref.field1} + ${ref.field2} + ${ref.field3}");
  
          for (Operation operation : Operation.values()) {
              checkIsValidExpression(operation.getValue() + " ${ref.field}");
          }
          
          checkIntervalExpression("${ref.field}",
                                  "${ref.field} + 123", 
                                  "${ref.field} - 123",
                                  "${ref.field} * 123", 
                                  "${ref.field} / 123",
                                  "(${ref.field} + 123)",
                                  "123");
      }
test_case.class_method_signature: MessageCountTest.testIsValidExpression()
test_case.full_signature: @Test public void testIsValidExpression()
test_case.identifier: testIsValidExpression
test_case.invocations: checkIsValidExpression checkIsValidExpression checkIsValidExpression checkIsValidExpression checkIsValidExpression checkIsValidExpression checkIsValidExpression values checkIsValidExpression getValue checkIntervalExpression
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIsValidExpression()
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 boolean isValidExpression(String value)
      {
      	String trimValue = value.replaceAll(" ", "");
      	return EXPRESSION_PATTERN.matcher(trimValue).matches();
      }
focal_method.class_method_signature: MessageCount.isValidExpression(String value)
focal_method.full_signature: public static boolean isValidExpression(String value)
focal_method.identifier: isValidExpression
focal_method.invocations: replaceAll matches matcher
focal_method.modifiers: public static
focal_method.parameters: (String value)
focal_method.return: boolean
focal_method.signature: boolean isValidExpression(String value)