Class SavedQueryServiceTest

    • Constructor Detail

      • SavedQueryServiceTest

        public SavedQueryServiceTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        prepares some test data, before execution of every test
        Throws:
        java.lang.Exception
      • testManageSavedQueries

        public void testManageSavedQueries()
        Demonstrates how to create, save, and rename saved queries:
        - Builds the CockpitSavedQueryModel for 2 queries
        - Publish the saved queries
        - Retrieve all saved queries
      • testRenameSavedQuery

        public void testRenameSavedQuery()
        Demonstrates how to create, save, and rename saved query:
        - Builds the CockpitSavedQueryModel for 1 query
        - Publish the saved queries
        - Retrieve all saved queries
        - Take the saved query, rename it, then save the changes