Class AnnotationsRestTest

java.lang.Object
org.glassfish.jersey.test.JerseyTest
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Tag("slow") public class AnnotationsRestTest extends BaseJerseyIntegrationTest5
End-to-end checks for AnnotationsWebService.

Counts depend on the loaded ontologies and indexed characteristics, so these tests assert wiring (response shape, presence of the usageCount field) rather than exact numbers. Numeric correctness is covered by AnnotationsWebServiceTest.

  • Constructor Details

    • AnnotationsRestTest

      public AnnotationsRestTest()
  • Method Details

    • testSearchAnnotationsReturnsUsageCountField

      @Test public void testSearchAnnotationsReturnsUsageCountField()
    • testSearchAnnotationsRejectsEmptyQuery

      @Test public void testSearchAnnotationsRejectsEmptyQuery()
    • testGetAnnotationTermWithUnknownUriIs404

      @Test public void testGetAnnotationTermWithUnknownUriIs404()
    • testGetAnnotationTermWithBlankUriIs400

      @Test public void testGetAnnotationTermWithBlankUriIs400()
    • testGetAnnotationTermWithMissingUriIs400

      @Test public void testGetAnnotationTermWithMissingUriIs400()
    • testGetAnnotationCategoriesReturnsList

      @Test public void testGetAnnotationCategoriesReturnsList()
    • testGetAnnotationPredicatesReturnsList

      @Test public void testGetAnnotationPredicatesReturnsList()