X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fnetconf%2FMDSAL%2Fnorthbound.robot;h=e3dc825470ec2b08a269a29cd4b4d2aa40cc04b7;hb=955afa35efdd87b0fb9da6c8bf7327302f15bba9;hp=cc912f5539156378c15c4638b9a5f6507089256c;hpb=7ebd203ee6ce7afa6e1edb541000752f986d1e4a;p=integration%2Ftest.git diff --git a/csit/suites/netconf/MDSAL/northbound.robot b/csit/suites/netconf/MDSAL/northbound.robot index cc912f5539..e3dc825470 100644 --- a/csit/suites/netconf/MDSAL/northbound.robot +++ b/csit/suites/netconf/MDSAL/northbound.robot @@ -26,7 +26,9 @@ Documentation Metconf MDSAL Northbound test suite. ... invocations (see Check_Multiple_Modules_Merge_Replace for a particularly bad ... example). Create a resource that will be able to extract the data from the ... requests and search for them in the response, then convert to usage of this -... resource (think "Thou shall not repeat yourself"). +... resource (think "Thou shall not repeat yourself"). The following resource was +... found when doing research on this: +... http://robotframework.org/robotframework/latest/libraries/XML.html Suite Setup Setup_Everything Suite Teardown Teardown_Everything Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing @@ -66,6 +68,16 @@ Additional_Attributes_In_Message BuiltIn.Should_Contain ${reply} additional="otherthing" BuiltIn.Should_Contain ${reply} xmlns:prefix="http://www.example.com/my-schema-example.html" +Send_Stuff_In_Undefined_Namespace + [Documentation] Try to send something within an undefined namespace and check the reply complains about the nonexistent namespace and element. + ${reply}= Load_And_Send_Message merge-nonexistent-namespace + BuiltIn.Set_Test_Variable ${bugno} 5125 + BuiltIn.Should_Not_Contain ${reply} java.lang.NullPointerException + BuiltIn.Set_Test_Variable ${bugno} ${EMPTY} + BuiltIn.Should_Contain ${reply} urn:this:is:in:a:nonexistent:namespace + BuiltIn.Should_Contain ${reply} + [Teardown] BuiltIn.Run_Keyword_If '${bugno}' != '${EMPTY}' Utils.Report_Failure_Due_To_Bug 5125 + Edit_Config_First_Batch_Merge [Documentation] Request a "merge" operation adding an element in candidate configuration and check the reply. Perform_Test merge-1 @@ -120,6 +132,7 @@ Get_Config_Running_To_Confirm_Delete_After_Commit Commit_No_Transaction [Documentation] Attempt to perform "commit" when there are no changes in the candidate configuration and check that it returns OK status. Perform_Test commit-no-transaction + [Teardown] Utils.Report_Failure_Due_To_Bug 4455 Edit_Config_Second_Batch_Merge [Documentation] Create an element to be discarded and check the reply. @@ -149,7 +162,6 @@ Edit_Config_Multiple_Batch_Merge_Third Edit_Config_Multiple_Batch_Merge_Fourth [Documentation] Use a merge request with the third batch to create the infrastructure. - [Documentation] Add a "name3" subelement to the element and check the reply. Perform_Test merge-multiple-2 Edit_Config_Multiple_Batch_Merge_Fifth @@ -271,6 +283,7 @@ Delete_Not_Existing_Element Commit_Delete_Not_Existing_Module [Documentation] Attempt to commit and check the reply. Perform_Test commit-no-transaction + [Teardown] Utils.Report_Failure_Due_To_Bug 4455 Remove_Not_Existing_Module [Documentation] Attempt to remove the "module" element again and check that the operation is "silently ignored". @@ -279,6 +292,7 @@ Remove_Not_Existing_Module Commit_Remove_Not_Existing_Module [Documentation] Attempt to commit and check the reply. Perform_Test remove-not-existing-commit + [Teardown] Utils.Report_Failure_Due_To_Bug 4455 Close_Session [Documentation] Close the session and check that it was closed properly.