... 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
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} <rpc-error>
+ [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
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.
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
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".
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.