Class LogbookStep


  • public class LogbookStep
    extends CommonStep
    step defining logbook behaviors
    • Constructor Detail

      • LogbookStep

        public LogbookStep​(World world)
    • Method Detail

      • download_logbook_operation

        @When("^je recherche le journal des op\u00e9rations")
        public void download_logbook_operation()
      • download_logbook_lifecycle_unit

        @When("^je recherche le JCV de l\'unit\u00e9 archivistique dont le titre est (.*)")
        public void download_logbook_lifecycle_unit​(java.lang.String unitTitle)
      • download_logbook_lifecycle_object_for_unit

        @When("^je recherche le JCV du groupe d\'objet de l\'unit\u00e9 archivistique dont le titre est (.*)")
        public void download_logbook_lifecycle_object_for_unit​(java.lang.String unitTitle)
      • the_logbook_operation_has_a_status

        @Then("^le statut final du journal des op\u00e9rations est (.*)$")
        public void the_logbook_operation_has_a_status​(java.lang.String status)
                                                throws VitamClientException
        check on logbook if the global status is OK (status of the last event, if last event is correct)
        Parameters:
        status - expected status
        Throws:
        VitamClientException - VitamClientException
      • the_logbook_operation_is_consistent

        @Then("^le journal des op\u00e9rations est coh\u00e9rent$")
        public void the_logbook_operation_is_consistent()
                                                 throws VitamClientException
        Check logbook operation consistency : no double evId, same evProcType, evId = evProcId for master, max status level is in the last event
        Throws:
        VitamClientException
      • the_logbook_has_not_the_status

        @Then("^le journal ne contient pas de statut (.*)$")
        public void the_logbook_has_not_the_status​(java.lang.String status)
                                            throws VitamClientException
        Check if logbook does not contains given status
        Parameters:
        status - forbidden status
        Throws:
        VitamClientException - VitamClientException
      • the_outcome_detail_is

        @Then("^l\'outcome d\u00e9tail de l\'\u00e9v\u00e9nement (.*) est (.*)$")
        public void the_outcome_detail_is​(java.lang.String eventName,
                                          java.lang.String eventOutDetail)
                                   throws java.lang.Throwable
        Throws:
        java.lang.Throwable