test_class.declarator: logger = Logger.getLogger(LongTypeConverterTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger logger = Logger.getLogger(LongTypeConverterTest.class);
test_class.type: Logger
test_class.var_name: logger
test_class.declarator: pcs = new TypeConverter[] {
          new LongTypeConverter(),
          new LongPrimitiveTypeConverter()
      }
test_class.modifier: private
test_class.original_string: private TypeConverter[] pcs = new TypeConverter[] {
          new LongTypeConverter(),
          new LongPrimitiveTypeConverter()
      };
test_class.type: TypeConverter[]
test_class.var_name: pcs
test_class.file: ch-commons-xbean/src/test/java/com/cloudhopper/commons/xbean/type/LongTypeConverterTest.java
test_class.identifier: LongTypeConverterTest
test_case.body: @Test
      public void timeUnits() throws Exception {
          for (TypeConverter pc : pcs) {
              Assert.assertEquals(Long.valueOf(0L), pc.convert("0.second"));
              Assert.assertEquals(Long.valueOf(0L), pc.convert("0.seconds"));
              Assert.assertEquals(Long.valueOf(1000L), pc.convert("1.second"));
              Assert.assertEquals(Long.valueOf(30000L), pc.convert("30.seconds"));
              Assert.assertEquals(Long.valueOf(30L), pc.convert("30.millis"));
              Assert.assertEquals(Long.valueOf(2L*60L*60L*1000L), pc.convert("2.hours"));
              Assert.assertEquals(Long.valueOf(2L*24L*60L*60L*1000L), pc.convert("2.days"));
              Assert.assertEquals(Long.valueOf(2L*60L*1000L), pc.convert("2.minutes"));
          }
      }
test_case.class_method_signature: LongTypeConverterTest.timeUnits()
test_case.full_signature: @Test public void timeUnits()
test_case.identifier: timeUnits
test_case.invocations: assertEquals valueOf convert assertEquals valueOf convert assertEquals valueOf convert assertEquals valueOf convert assertEquals valueOf convert assertEquals valueOf convert assertEquals valueOf convert assertEquals valueOf convert
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void timeUnits()
focal_class.file: ch-commons-xbean/src/main/java/com/cloudhopper/commons/xbean/type/LongTypeConverter.java
focal_class.identifier: LongTypeConverter
focal_class.class_method_signature: LongTypeConverter.convert(String value)
focal_class.full_signature: @Override public Object convert(String value)
focal_class.identifier: convert
focal_class.modifiers: @Override public
focal_class.parameters: (String value)
focal_class.return: Object
focal_class.signature: Object convert(String value)
focal_class.superclass: extends LongPrimitiveTypeConverter
focal_method.body: @Override
      public Object convert(String value) throws ConversionException {
          return (Long)super.convert(value);
      }
focal_method.class_method_signature: LongTypeConverter.convert(String value)
focal_method.full_signature: @Override public Object convert(String value)
focal_method.identifier: convert
focal_method.invocations: convert
focal_method.modifiers: @Override public
focal_method.parameters: (String value)
focal_method.return: Object
focal_method.signature: Object convert(String value)