Microsoft.Protocols.TestSuites.MS_ASPROV.MS_ASPROVAdapter.VerifyContainerStructure C# (CSharp) Method

VerifyContainerStructure() private method

This method is used to verify the Container related requirements.
private VerifyContainerStructure ( ) : void
return void
        private void VerifyContainerStructure()
        {
            // If the schema validation is successful, then following requirements can be captured.
            Site.Assert.IsTrue(this.activeSyncClient.ValidationResult, "Schema validation should be successful.");

            // Add the debug information
            Site.Log.Add(LogEntryKind.Debug, "Verify MS-ASDTYPE_R8");

            // Verify MS-ASDTYPE requirement: MS-ASDTYPE_R8
            // The schema has been validated, so this requirement can be captured.
            Site.CaptureRequirement(
                "MS-ASDTYPE",
                8,
                @"[In container Data Type] A container is an XML element that encloses other elements but has no value of its own.");

            // Add the debug information
            Site.Log.Add(LogEntryKind.Debug, "Verify MS-ASDTYPE_R9");

            // Verify MS-ASDTYPE requirement: MS-ASDTYPE_R9
            // The schema has been validated, so this requirement can be captured.
            Site.CaptureRequirement(
                "MS-ASDTYPE",
                9,
                @"[In container Data Type] It [container] is a complex type with complex content, as specified in [XMLSCHEMA1/2] section 3.4.2.");
        }