@Test public void testGetIntValue() { assertEquals( ShortClassFieldExtractorTest.VALUE, this.reader.getIntValue( null, this.bean ) ); }
@Test public void testGetIntValue() { try { this.reader.getIntValue( null, this.bean ); fail( "Should have throw an exception" ); } catch ( final Exception e ) { // success } }
@Test public void testGetIntValue() { try { this.reader.getIntValue( null, this.bean ); fail( "Should have throw an exception" ); } catch ( final Exception e ) { // success } }
@Test public void testGetIntValue() { assertEquals( IntClassFieldExtractorTest.VALUE, this.reader.getIntValue( null, this.bean ) ); }
@Test public void testGetIntValue() { assertEquals(1, this.reader.getIntValue(null, this.bean)); }
@Test public void testGetIntValue() { assertEquals((int) FloatClassFieldExtractorTest.VALUE, this.reader.getIntValue(null, this.bean)); }
@Test public void testGetIntValue() { assertEquals((int) DoubleClassFieldExtractorTest.VALUE, this.reader.getIntValue(null, this.bean)); }
@Test public void testGetIntValue() { assertEquals('a', this.reader.getIntValue(null, this.bean)); }
val = bit_reader.getIntValue( object ); bit_writer.setIntValue( object, 0 ); return val;
@Test public void testGetIntValue() { try { assertEquals( LongClassFieldExtractorTest.VALUE, this.extractor.getIntValue( null, this.bean ) ); } catch ( final Exception e ) { fail( "Should not throw an exception" ); } }
public Object remove(Object key) { Object val; // any hard field must be 0-fied // any soft field must be 0-fied on the map // other fields will effectively be removed if ( "name".equals( key ) ) { val = name_reader.getValue( object ); name_writer.setValue( object, null ); return val; } if ( "bol".equals( key ) ) { val = bit_reader.getIntValue( object ); bit_writer.setIntValue( object, 0 ); return val; } if ( "age".equals( key ) ) { val = this.store.get( propertyKey( "age" ) ); super.put( "age", 0 ); return val; } val = super.remove( key ); return val; }