コード例 #1
0
 private void assertFieldProperties(Field field, String keyName, String className) {
   assertEquals(field.getFieldConversions(), keyName + Constants.COLON + field.getPropertyName());
   assertTrue(field.isFieldDirectInquiryEnabled());
   assertEquals(field.getLookupParameters(), field.getPropertyName() + Constants.COLON + keyName);
   assertEquals(field.getInquiryParameters(), field.getPropertyName() + Constants.COLON + keyName);
   assertEquals(field.getQuickFinderClassNameImpl(), className);
 }
コード例 #2
0
 /*
  *
  * This method is to make sure the looks fields are set up properly.
  * @param field
  * @param keyName
  * @param className
  */
 private void assertDropDownField(Field field, String keyName, String className) {
   assertEquals(field.getFieldConversions(), keyName + ":" + field.getPropertyName());
   assertEquals(field.getLookupParameters(), field.getPropertyName() + ":" + keyName);
   assertEquals(field.getInquiryParameters(), field.getPropertyName() + ":" + keyName);
   assertEquals(field.getQuickFinderClassNameImpl(), className);
 }