HadoopEnterMeta extends InjectorMeta { @Override public String getDialogClassName() { return DIALOG_NAME; } HadoopEnterMeta(); @Override void setDefault(); @Override String getDialogClassName(); @Injection( name = "KEY_TYPE" ) void setKeyType( int type ); @Injection( name = "KEY_LENGTH" ) void setKeyLength( int length ); @Injection( name = "KEY_PRECISION" ) void setKeyPrecision( int precision ); @Injection( name = "VALUE_TYPE" ) void setValueType( int type ); @Injection( name = "VALUE_LENGTH" ) void setValueLength( int length ); @Injection( name = "VALUE_PRECISION" ) void setValuePrecision( int precision ); static final String DIALOG_NAME; static final String KEY_FIELDNAME; static final String VALUE_FIELDNAME; }
@Test public void testGetDialogClassName() { assertEquals( HadoopEnterDialog.class.getCanonicalName(), hadoopEnterMeta.getDialogClassName() ); }