test_class.declarator: logger = Logger.getLogger(ShortTypeConverterTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger logger = Logger.getLogger(ShortTypeConverterTest.class);
test_class.type: Logger
test_class.var_name: logger
test_class.declarator: pcs = new TypeConverter[] {
          new ShortTypeConverter(),
          new ShortPrimitiveTypeConverter()
      }
test_class.modifier: private
test_class.original_string: private TypeConverter[] pcs = new TypeConverter[] {
          new ShortTypeConverter(),
          new ShortPrimitiveTypeConverter()
      };
test_class.type: TypeConverter[]
test_class.var_name: pcs
test_class.file: ch-commons-xbean/src/test/java/com/cloudhopper/commons/xbean/type/ShortTypeConverterTest.java
test_class.identifier: ShortTypeConverterTest
test_case.body: @Test
      public void validConversions() throws Exception {
          for (TypeConverter pc : pcs) {
              // check that the registry has this class
              Object obj = pc.convert("0");
              Assert.assertEquals(obj, TypeConverterUtil.convert("0", obj.getClass()));
              Assert.assertEquals(Short.valueOf((short)0), pc.convert("0"));
              // min and max value of a short
              Assert.assertEquals(Short.valueOf((short)-32768), pc.convert("-32768"));
              Assert.assertEquals(Short.valueOf((short)32767), pc.convert("32767"));
              // hex versions
              Assert.assertEquals(Short.valueOf((short)0), pc.convert("0x0"));
              Assert.assertEquals(Short.valueOf((short)0), pc.convert("0X0"));
              Assert.assertEquals(Short.valueOf((short)32767), pc.convert("0x7FFF"));
              Assert.assertEquals(Short.valueOf((short)0xFFFF), pc.convert("0xFFFF"));
          }
      }
test_case.class_method_signature: ShortTypeConverterTest.validConversions()
test_case.full_signature: @Test public void validConversions()
test_case.identifier: validConversions
test_case.invocations: convert assertEquals convert getClass 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 validConversions()
focal_class.file: ch-commons-xbean/src/main/java/com/cloudhopper/commons/xbean/type/ShortTypeConverter.java
focal_class.identifier: ShortTypeConverter
focal_class.class_method_signature: ShortTypeConverter.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 ShortPrimitiveTypeConverter
focal_method.body: @Override
      public Object convert(String value) throws ConversionException {
          return (Short)super.convert(value);
      }
focal_method.class_method_signature: ShortTypeConverter.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)