コード例 #1
0
 public void testSetAndGetDescription() {
   String testDescription = "Data Element Description";
   assertNull(dataelement.getDescription());
   dataelement.setDescription(testDescription);
   assertEquals(testDescription, dataelement.getDescription());
 }
コード例 #2
0
 public void testSetAndGetClassificationSchemeID() {
   int classificationSchemeID = 888;
   assertEquals(dataelement.getClassificationSchemeID(), 0);
   dataelement.setClassificationSchemeID(classificationSchemeID);
   assertEquals(classificationSchemeID, dataelement.getClassificationSchemeID());
 }
コード例 #3
0
 public void testSetAndGetValueDomainID() {
   int valueDomainID = 888;
   assertEquals(dataelement.getValueDomainID(), 0);
   dataelement.setValueDomainID(valueDomainID);
   assertEquals(valueDomainID, dataelement.getValueDomainID());
 }
コード例 #4
0
 public void testSetAndGetAdminObjectID() {
   int adminObjectID = 888;
   assertEquals(dataelement.getAdminobjectid(), 0);
   dataelement.setAdminobjectid(adminObjectID);
   assertEquals(adminObjectID, dataelement.getAdminobjectid());
 }
コード例 #5
0
 public void testSetAndGetID() {
   int dataElementID = 888;
   assertEquals(dataelement.getDataElementId(), 0);
   dataelement.setDataElementId(dataElementID);
   assertEquals(dataElementID, dataelement.getDataElementId());
 }