| | |
| | | </testcase> |
| | | </function> |
| | | |
| | | <!-- Test Case : Schema Disable Schema Checking --> |
| | | <!-- |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be the same as the tag, TestSuiteName. |
| | | #@TestMarker Disable Schema Checking |
| | | #@TestName Disable Schema Checking |
| | | #@TestIssue |
| | | #@TestPurpose Check Disable Schema Checking. |
| | | #@TestPreamble none |
| | | #@TestStep Set check schema to false. |
| | | #@TestPostamble none |
| | | #@TestResult Success if Add Operation returns 0 |
| | | --> |
| | | |
| | | <function name="schema_disable_schema_checking" scope="local"> |
| | | |
| | | <testcase name="getTestCaseName('Disable Schema Checking')"> |
| | | <try> |
| | | <sequence> |
| | | <call function="'testCase_Preamble'"/> |
| | | <message> |
| | | 'Schema: Disable schema checking.' |
| | | </message> |
| | | |
| | | <call function="'modifyGlobal'"> |
| | | { 'dsInstanceHost' : server.host , |
| | | 'dsInstanceDn' : server.dn , |
| | | 'dsInstancePswd' : server.password , |
| | | 'attributeName' : 'check-schema' , |
| | | 'attributeValue' : 'false' } |
| | | </call> |
| | | |
| | | <!-- TODO: Need to verify the disabling of schema check. --> |
| | | <!-- TODO: Should be part of a separate test suite. --> |
| | | |
| | | </sequence> |
| | | <finally> |
| | | <call function="'testCase_Postamble'"/> |
| | | </finally> |
| | | </try> |
| | | </testcase> |
| | | </function> |
| | | |
| | | <!-- Test Case : Schema Enable Schema Checking --> |
| | | <!-- |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be the same as the tag, TestSuiteName. |
| | | #@TestMarker Enable Schema Checking |
| | | #@TestName Enable Schema Checking |
| | | #@TestIssue |
| | | #@TestPurpose Check Enable Schema Checking. |
| | | #@TestPreamble none |
| | | #@TestStep Set check schema to true. |
| | | #@TestPostamble none |
| | | #@TestResult Success if Add Operation returns 0 |
| | | --> |
| | | |
| | | <function name="schema_enable_schema_checking" scope="local"> |
| | | |
| | | <testcase name="getTestCaseName('Enable Schema Checking')"> |
| | | <try> |
| | | <sequence> |
| | | <call function="'testCase_Preamble'"/> |
| | | <message> |
| | | 'Schema: Enable schema checking.' |
| | | </message> |
| | | |
| | | <call function="'modifyGlobal'"> |
| | | { 'dsInstanceHost' : server.host , |
| | | 'dsInstanceDn' : server.dn , |
| | | 'dsInstancePswd' : server.password , |
| | | 'attributeName' : 'check-schema' , |
| | | 'attributeValue' : 'true' } |
| | | </call> |
| | | |
| | | <!-- TODO: Need to verify the enabling of schema check. --> |
| | | <!-- TODO: Should be part of a separate test suite. --> |
| | | |
| | | </sequence> |
| | | <finally> |
| | | <call function="'testCase_Postamble'"/> |
| | | </finally> |
| | | </try> |
| | | </testcase> |
| | | </function> |
| | | |
| | | <!-- Test Case : Schema Disable Syntax Checking for Generalized Time--> |
| | | <!-- |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be the same as the tag, TestSuiteName. |
| | | #@TestMarker Disable Syntax Checking |
| | | #@TestName Disable Syntax Checking |
| | | #@TestIssue |
| | | #@TestPurpose Check Disable Syntax Checking for Generalized Time. |
| | | #@TestPreamble none |
| | | #@TestStep Set check schema to true. |
| | | #@TestPostamble none |
| | | #@TestResult Success if Add Operation returns 0 |
| | | --> |
| | | |
| | | <function name="schema_disable_syntax_checking" scope="local"> |
| | | |
| | | <testcase name="getTestCaseName('Disable Syntax Checking')"> |
| | | <try> |
| | | <sequence> |
| | | <call function="'testCase_Preamble'"/> |
| | | <message> |
| | | 'Schema: Disable Syntax Checking for Generalized Time.' |
| | | </message> |
| | | |
| | | <call function="'dsconfig'"> |
| | | { 'dsInstanceHost' : server.host , |
| | | 'dsInstanceDn' : server.dn , |
| | | 'dsInstancePswd' : server.password , |
| | | 'subcommand' : 'set-attribute-syntax-prop' , |
| | | 'objectType' : 'syntax-name' , |
| | | 'objectName' : 'Generalized Time', |
| | | 'optionsString' : '--set enabled:false', |
| | | 'knownIssue' : '2046' |
| | | } |
| | | </call> |
| | | |
| | | <!-- TODO: Need to verify the disabling of syntax check. --> |
| | | <!-- TODO: Should be part of a separate test suite. --> |
| | | |
| | | </sequence> |
| | | <finally> |
| | | <call function="'testCase_Postamble'"/> |
| | | </finally> |
| | | </try> |
| | | </testcase> |
| | | </function> |
| | | |
| | | <!-- Test Case : Schema Enable Syntax Checking for Generalized Time --> |
| | | <!-- |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be the same as the tag, TestSuiteName. |
| | | #@TestMarker Enable Syntax Checking |
| | | #@TestName Enable Syntax Checking |
| | | #@TestIssue |
| | | #@TestPurpose Check Enable Syntax Checking for Generalized Time. |
| | | #@TestPreamble none |
| | | #@TestStep Set check schema to true. |
| | | #@TestPostamble none |
| | | #@TestResult Success if Add Operation returns 0 |
| | | --> |
| | | |
| | | <function name="schema_enable_syntax_checking" scope="local"> |
| | | |
| | | <testcase name="getTestCaseName('Enable Syntax Checking for Generalized Time')"> |
| | | <try> |
| | | <sequence> |
| | | <call function="'testCase_Preamble'"/> |
| | | <message> |
| | | 'Schema: Enable Syntax Checking for Generalized Time.' |
| | | </message> |
| | | |
| | | <call function="'dsconfig'"> |
| | | { 'dsInstanceHost' : server.host , |
| | | 'dsInstanceDn' : server.dn , |
| | | 'dsInstancePswd' : server.password , |
| | | 'subcommand' : 'set-attribute-syntax-prop' , |
| | | 'objectType' : 'syntax-name' , |
| | | 'objectName' : 'Generalized Time', |
| | | 'optionsString' : '--set enabled:true' |
| | | } |
| | | </call> |
| | | |
| | | <!-- TODO: Need to verify the enabling of syntax check. --> |
| | | <!-- TODO: Should be part of a separate test suite. --> |
| | | |
| | | </sequence> |
| | | <finally> |
| | | <call function="'testCase_Postamble'"/> |
| | | </finally> |
| | | </try> |
| | | </testcase> |
| | | </function> |
| | | |
| | | <!-- Test Case : Schema Draft IETF Zeilenga LDAP COSINE 1 --> |
| | | <!-- |
| | | Place test-specific test information here. |