示例#1
0
 /** Test dc properties */
 public void testPropDCProperites() {
   String[] props = propComment.listDCPropertyNames();
   assertEquals(3, props.length);
   assertEquals("Ben Szekely", propComment.getDCProperty("creator"));
   assertEquals("Manufacturer Title", propComment.getDCProperty("title"));
   assertEquals("Joe Betz", propComment.getDCProperty("contributor"));
 }
示例#2
0
 /** Test dc properties */
 public void testClassDCProperites() {
   String[] props = classComment.listDCPropertyNames();
   assertEquals(3, props.length);
   assertEquals("Ben Szekely", classComment.getDCProperty("creator"));
   assertEquals("Ski Title", classComment.getDCProperty("title"));
   assertEquals("Joe Betz", classComment.getDCProperty("contributor"));
 }