test_class.declarator: LONG_TEST_VALUE = Long.toString(Long.MAX_VALUE)
test_class.modifier: private static final
test_class.original_string: private static final String LONG_TEST_VALUE = Long.toString(Long.MAX_VALUE);
test_class.type: String
test_class.var_name: LONG_TEST_VALUE
test_class.declarator: INT_TEST_VALUE = Integer.toString(Integer.MAX_VALUE)
test_class.modifier: private static final
test_class.original_string: private static final String INT_TEST_VALUE = Integer.toString(Integer.MAX_VALUE);
test_class.type: String
test_class.var_name: INT_TEST_VALUE
test_class.declarator: STRING_TEST_VALUE = "String"
test_class.modifier: private static final
test_class.original_string: private static final String STRING_TEST_VALUE = "String";
test_class.type: String
test_class.var_name: STRING_TEST_VALUE
test_class.declarator: BOOLEAN_TEST_VALUE = "true"
test_class.modifier: private static final
test_class.original_string: private static final String BOOLEAN_TEST_VALUE = "true";
test_class.type: String
test_class.var_name: BOOLEAN_TEST_VALUE
test_class.file: ingester/src/test/java/com/amazonaws/services/dynamodbv2/json/demo/mars/util/ConfigParserTest.java
test_class.identifier: ConfigParserTest
test_case.body: @Test(expected = ExitException.class)
      public void testValidateConfigMissingString() throws ExitException {
          final Properties properties = new Properties();
          final String requiredStrings[] = {"p1", "p2", "p3"};
          final String requiredBooleans[] = {};
          final String requiredIntegers[] = {};
          final String requiredLongs[] = {};
          properties.put("p1", STRING_TEST_VALUE);
          properties.put("p3", STRING_TEST_VALUE);
          ConfigParser.validateConfig(properties, requiredStrings, requiredBooleans, requiredIntegers, requiredLongs);
      }
test_case.class_method_signature: ConfigParserTest.testValidateConfigMissingString()
test_case.full_signature: @Test(expected = ExitException.class) public void testValidateConfigMissingString()
test_case.identifier: testValidateConfigMissingString
test_case.invocations: put put validateConfig
test_case.modifiers: @Test(expected = ExitException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testValidateConfigMissingString()
focal_class.declarator: LOGGER = Logger.getLogger(ConfigParser.class.getName())
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = Logger.getLogger(ConfigParser.class.getName());
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.file: ingester/src/main/java/com/amazonaws/services/dynamodbv2/json/demo/mars/util/ConfigParser.java
focal_class.identifier: ConfigParser
focal_class.class_method_signature: ConfigParser.checkParamExists(final Properties properties, final String param)
focal_class.full_signature: public static void checkParamExists(final Properties properties, final String param)
focal_class.identifier: checkParamExists
focal_class.modifiers: public static
focal_class.parameters: (final Properties properties, final String param)
focal_class.return: void
focal_class.signature: void checkParamExists(final Properties properties, final String param)
focal_class.class_method_signature: ConfigParser.parseBoolean(final Properties properties, final String param)
focal_class.full_signature: public static boolean parseBoolean(final Properties properties, final String param)
focal_class.identifier: parseBoolean
focal_class.modifiers: public static
focal_class.parameters: (final Properties properties, final String param)
focal_class.return: boolean
focal_class.signature: boolean parseBoolean(final Properties properties, final String param)
focal_class.class_method_signature: ConfigParser.parseBoolean(final Properties properties, final String param, final Boolean defaultValue)
focal_class.full_signature: public static boolean parseBoolean(final Properties properties, final String param, final Boolean defaultValue)
focal_class.identifier: parseBoolean
focal_class.modifiers: public static
focal_class.parameters: (final Properties properties, final String param, final Boolean defaultValue)
focal_class.return: boolean
focal_class.signature: boolean parseBoolean(final Properties properties, final String param, final Boolean defaultValue)
focal_class.class_method_signature: ConfigParser.parseInteger(final Properties properties, final String param)
focal_class.full_signature: public static int parseInteger(final Properties properties, final String param)
focal_class.identifier: parseInteger
focal_class.modifiers: public static
focal_class.parameters: (final Properties properties, final String param)
focal_class.return: int
focal_class.signature: int parseInteger(final Properties properties, final String param)
focal_class.class_method_signature: ConfigParser.parseInteger(final Properties properties, final String param, final Integer defaultValue)
focal_class.full_signature: public static int parseInteger(final Properties properties, final String param, final Integer defaultValue)
focal_class.identifier: parseInteger
focal_class.modifiers: public static
focal_class.parameters: (final Properties properties, final String param, final Integer defaultValue)
focal_class.return: int
focal_class.signature: int parseInteger(final Properties properties, final String param, final Integer defaultValue)
focal_class.class_method_signature: ConfigParser.parseLong(final Properties properties, final String param)
focal_class.full_signature: public static long parseLong(final Properties properties, final String param)
focal_class.identifier: parseLong
focal_class.modifiers: public static
focal_class.parameters: (final Properties properties, final String param)
focal_class.return: long
focal_class.signature: long parseLong(final Properties properties, final String param)
focal_class.class_method_signature: ConfigParser.parseLong(final Properties properties, final String param, final Long defaultValue)
focal_class.full_signature: public static long parseLong(final Properties properties, final String param, final Long defaultValue)
focal_class.identifier: parseLong
focal_class.modifiers: public static
focal_class.parameters: (final Properties properties, final String param, final Long defaultValue)
focal_class.return: long
focal_class.signature: long parseLong(final Properties properties, final String param, final Long defaultValue)
focal_class.class_method_signature: ConfigParser.parseString(final Properties properties, final String param)
focal_class.full_signature: public static String parseString(final Properties properties, final String param)
focal_class.identifier: parseString
focal_class.modifiers: public static
focal_class.parameters: (final Properties properties, final String param)
focal_class.return: String
focal_class.signature: String parseString(final Properties properties, final String param)
focal_class.class_method_signature: ConfigParser.parseString(final Properties properties, final String param, final String defaultValue)
focal_class.full_signature: public static String parseString(final Properties properties, final String param, final String defaultValue)
focal_class.identifier: parseString
focal_class.modifiers: public static
focal_class.parameters: (final Properties properties, final String param, final String defaultValue)
focal_class.return: String
focal_class.signature: String parseString(final Properties properties, final String param, final String defaultValue)
focal_class.class_method_signature: ConfigParser.validateBooleanParam(final String val)
focal_class.full_signature: public static void validateBooleanParam(final String val)
focal_class.identifier: validateBooleanParam
focal_class.modifiers: public static
focal_class.parameters: (final String val)
focal_class.return: void
focal_class.signature: void validateBooleanParam(final String val)
focal_class.class_method_signature: ConfigParser.validateConfig(final Properties config, final String[] requiredStrings,
          final String[] requiredBooleans, final String[] requiredIntegers, final String[] requiredLongs)
focal_class.full_signature: public static void validateConfig(final Properties config, final String[] requiredStrings,
          final String[] requiredBooleans, final String[] requiredIntegers, final String[] requiredLongs)
focal_class.identifier: validateConfig
focal_class.modifiers: public static
focal_class.parameters: (final Properties config, final String[] requiredStrings,
          final String[] requiredBooleans, final String[] requiredIntegers, final String[] requiredLongs)
focal_class.return: void
focal_class.signature: void validateConfig(final Properties config, final String[] requiredStrings,
          final String[] requiredBooleans, final String[] requiredIntegers, final String[] requiredLongs)
focal_class.class_method_signature: ConfigParser.validateIntegerParam(final String val)
focal_class.full_signature: public static void validateIntegerParam(final String val)
focal_class.identifier: validateIntegerParam
focal_class.modifiers: public static
focal_class.parameters: (final String val)
focal_class.return: void
focal_class.signature: void validateIntegerParam(final String val)
focal_class.class_method_signature: ConfigParser.validateLongParam(final String val)
focal_class.full_signature: public static void validateLongParam(final String val)
focal_class.identifier: validateLongParam
focal_class.modifiers: public static
focal_class.parameters: (final String val)
focal_class.return: void
focal_class.signature: void validateLongParam(final String val)
focal_class.class_method_signature: ConfigParser.ConfigParser()
focal_class.full_signature: private  ConfigParser()
focal_class.identifier: ConfigParser
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ConfigParser()
focal_method.body: public static void validateConfig(final Properties config, final String[] requiredStrings,
          final String[] requiredBooleans, final String[] requiredIntegers, final String[] requiredLongs)
          throws ExitException {
          for (final String param : requiredStrings) {
              parseString(config, param);
          }
          for (final String param : requiredBooleans) {
              parseBoolean(config, param);
          }
          for (final String param : requiredIntegers) {
              parseInteger(config, param);
          }
          for (final String param : requiredLongs) {
              parseLong(config, param);
          }
      }
focal_method.class_method_signature: ConfigParser.validateConfig(final Properties config, final String[] requiredStrings,
          final String[] requiredBooleans, final String[] requiredIntegers, final String[] requiredLongs)
focal_method.full_signature: public static void validateConfig(final Properties config, final String[] requiredStrings,
          final String[] requiredBooleans, final String[] requiredIntegers, final String[] requiredLongs)
focal_method.identifier: validateConfig
focal_method.invocations: parseString parseBoolean parseInteger parseLong
focal_method.modifiers: public static
focal_method.parameters: (final Properties config, final String[] requiredStrings,
          final String[] requiredBooleans, final String[] requiredIntegers, final String[] requiredLongs)
focal_method.return: void
focal_method.signature: void validateConfig(final Properties config, final String[] requiredStrings,
          final String[] requiredBooleans, final String[] requiredIntegers, final String[] requiredLongs)