Search in sources :

Example 1 with SuppliedNameSuffixSettings

use of edu.stanford.bmir.protege.web.shared.crud.supplied.SuppliedNameSuffixSettings in project webprotege by protegeproject.

the class SuppliedNameSuffixSettingsTestCase method equalsReturnsTrueForDifferentObjects.

@Test
public void equalsReturnsTrueForDifferentObjects() {
    SuppliedNameSuffixSettings settingsA = new SuppliedNameSuffixSettings();
    SuppliedNameSuffixSettings settingsB = new SuppliedNameSuffixSettings();
    assertEquals(settingsA, settingsB);
}
Also used : SuppliedNameSuffixSettings(edu.stanford.bmir.protege.web.shared.crud.supplied.SuppliedNameSuffixSettings) Test(org.junit.Test)

Example 2 with SuppliedNameSuffixSettings

use of edu.stanford.bmir.protege.web.shared.crud.supplied.SuppliedNameSuffixSettings in project webprotege by protegeproject.

the class SuppliedNameSuffixSettingsTestCase method getKitIdMatchesSuppliedNameDescriptorId.

@Test
public void getKitIdMatchesSuppliedNameDescriptorId() {
    SuppliedNameSuffixSettings settings = new SuppliedNameSuffixSettings();
    assertEquals(SuppliedNameSuffixKit.getId(), settings.getKitId());
}
Also used : SuppliedNameSuffixSettings(edu.stanford.bmir.protege.web.shared.crud.supplied.SuppliedNameSuffixSettings) Test(org.junit.Test)

Example 3 with SuppliedNameSuffixSettings

use of edu.stanford.bmir.protege.web.shared.crud.supplied.SuppliedNameSuffixSettings in project webprotege by protegeproject.

the class SuppliedNameSuffixSettingsTestCase method hashCodeReturnsSameValueForDifferentObjects.

@Test
public void hashCodeReturnsSameValueForDifferentObjects() {
    SuppliedNameSuffixSettings settingsA = new SuppliedNameSuffixSettings();
    SuppliedNameSuffixSettings settingsB = new SuppliedNameSuffixSettings();
    assertEquals(settingsA.hashCode(), settingsB.hashCode());
}
Also used : SuppliedNameSuffixSettings(edu.stanford.bmir.protege.web.shared.crud.supplied.SuppliedNameSuffixSettings) Test(org.junit.Test)

Example 4 with SuppliedNameSuffixSettings

use of edu.stanford.bmir.protege.web.shared.crud.supplied.SuppliedNameSuffixSettings in project webprotege by protegeproject.

the class SuppliedNameSuffixSettingsTestCase method getKitIdIsNotNull.

@Test
public void getKitIdIsNotNull() {
    SuppliedNameSuffixSettings settings = new SuppliedNameSuffixSettings();
    EntityCrudKitId kitId = settings.getKitId();
    assertNotNull(kitId);
}
Also used : SuppliedNameSuffixSettings(edu.stanford.bmir.protege.web.shared.crud.supplied.SuppliedNameSuffixSettings) Test(org.junit.Test)

Example 5 with SuppliedNameSuffixSettings

use of edu.stanford.bmir.protege.web.shared.crud.supplied.SuppliedNameSuffixSettings in project webprotege by protegeproject.

the class SuppliedNameSuffixSettingsTestCase method getKitIdReturnsExpectedValue.

@Test
public void getKitIdReturnsExpectedValue() {
    SuppliedNameSuffixSettings settings = new SuppliedNameSuffixSettings();
    assertEquals(SuppliedNameSuffixKit.getId(), settings.getKitId());
}
Also used : SuppliedNameSuffixSettings(edu.stanford.bmir.protege.web.shared.crud.supplied.SuppliedNameSuffixSettings) Test(org.junit.Test)

Aggregations

SuppliedNameSuffixSettings (edu.stanford.bmir.protege.web.shared.crud.supplied.SuppliedNameSuffixSettings)7 Test (org.junit.Test)6 OBOIdSuffixSettings (edu.stanford.bmir.protege.web.shared.crud.oboid.OBOIdSuffixSettings)1 UUIDSuffixSettings (edu.stanford.bmir.protege.web.shared.crud.uuid.UUIDSuffixSettings)1 Document (org.bson.Document)1