From a8ec1e56af49cb606a78852b2b9e33c475aa6a2f Mon Sep 17 00:00:00 2001
From: Gary Williams <gary.williams@forgerock.com>
Date: Tue, 02 Aug 2011 15:33:17 +0000
Subject: [PATCH] Remove tests for enable/disable schema/syntax checking
---
opendj-sdk/opends/tests/staf-tests/functional-tests/testcases/schema/rfc/schema_rfc_tests.xml | 179 -----------------------------------------------------------
1 files changed, 0 insertions(+), 179 deletions(-)
diff --git a/opendj-sdk/opends/tests/staf-tests/functional-tests/testcases/schema/rfc/schema_rfc_tests.xml b/opendj-sdk/opends/tests/staf-tests/functional-tests/testcases/schema/rfc/schema_rfc_tests.xml
index d7f9691..51e11f0 100644
--- a/opendj-sdk/opends/tests/staf-tests/functional-tests/testcases/schema/rfc/schema_rfc_tests.xml
+++ b/opendj-sdk/opends/tests/staf-tests/functional-tests/testcases/schema/rfc/schema_rfc_tests.xml
@@ -1430,185 +1430,6 @@
</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.
--
Gitblit v1.10.0