mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

smaguin
31.34.2008 769d5120e9327796d99ee6da2af2ee2948c15013
update header
7 files modified
111 ■■■■ changed files
opends/tests/functional-tests/testcases/logging/logging.xml 8 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/logging/logging_properties.xml 28 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/logging/logging_retention.xml 6 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/logging/logging_retention_properties.xml 18 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/logging/logging_rotation.xml 8 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/logging/logging_rotation_properties.xml 24 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/logging/logging_writer.xml 19 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/logging/logging.xml
@@ -25,6 +25,14 @@
 !
 !      Portions Copyright 2007-2008 Sun Microsystems, Inc.
 ! -->
<!--
            Place group-specific test information here.
            #@TestGroupName     Logging
            #@TestGroupPurpose      Test the ability of the server to log information in the appropriated log files
-->
<stax>
  <defaultcall function="main_logging"/>
  <function name="main_logging">
opends/tests/functional-tests/testcases/logging/logging_properties.xml
@@ -36,8 +36,8 @@
      
<!--- Test Suite information
#@TestSuiteName       Logger properties Tests
#@TestSuitePurpose    Verify the logging properties
#@TestSuiteName       Log publisher properties Tests
#@TestSuitePurpose    Verify the log publisher properties
#@TestSuiteID         Logging
#@TestSuiteGroup      Logging
#@TestGroup           Logging
@@ -48,12 +48,12 @@
      
      <!--- Test Case : access logger -->
      <!---
        #@TestMarker     access logger
        #@TestName       access logger properties check
        #@TestMarker     Log publisher properties Tests
        #@TestName       Publisher access logger properties
        #@TestIssue      
        #@TestPurpose    check the access logger properties.
        #@TestPurpose    check the publisher access logger properties.
        #@TestPreamble   none
        #@TestStep       Check the  Access Logger's properties are correctly set and get using dsconfig
        #@TestStep       Check the publisher  Access Logger's properties are correctly set and get using dsconfig
        #@TestStep       Set a property
        #@TestStep       Get the property and check it has been correctly updated
        #@TestPostamble  none
@@ -418,12 +418,12 @@
      
      <!--- Test Case : Error logger -->
      <!---
        #@TestMarker           error logger
        #@TestName             error logger properties check
        #@TestMarker           Log publisher properties Tests
        #@TestName             Publisher error logger properties
        #@TestIssue                   
        #@TestPurpose          check the error logger properties.
        #@TestPurpose          check the Publisher error logger properties.
        #@TestPreamble         none
        #@TestStep             Check the  error Logger's properties are correctly set and get using dsconfig
        #@TestStep             Check the Publisher error Logger's properties are correctly set and get using dsconfig
        #@TestStep             Set a property
        #@TestStep             Get the property and check it has been correctly updated
        #@TestPostamble        none
@@ -504,12 +504,12 @@
      
      <!--- Test Case : Debug logger -->
      <!---
          #@TestMarker     Debug logger
          #@TestName       Debug logger properties check
          #@TestMarker     Log publisher properties Tests
          #@TestName       Publisher Debug logger properties
          #@TestIssue      
          #@TestPurpose    check the Debug logger properties.
          #@TestPurpose    check the Publisher Debug logger properties.
          #@TestPreamble   none
          #@TestStep       Check the  Debug Logger's properties are correctly set and get using dsconfig
          #@TestStep       Check the Publisher Debug Logger's properties are correctly set and get using dsconfig
          #@TestStep       Set a property
          #@TestStep       Get the property and check it has been correctly updated
          #@TestPostamble  none
opends/tests/functional-tests/testcases/logging/logging_retention.xml
@@ -49,9 +49,9 @@
        <!--- Test Case : retention policy -->
        <!---
          #@TestMarker     size limit  retention
          #@TestName       size limit  retention
          #@TestIssue      Check the count retention policy
          #@TestMarker     Retention Policy Tests
          #@TestName       Count limit retention policy
          #@TestPurpose    Check the count retention policy
          #@TestPreamble   none
          #@TestStep       Create a new count limit retention policy
          #@TestStep       Configure the count Limit retention policy with a Max file to 3
opends/tests/functional-tests/testcases/logging/logging_retention_properties.xml
@@ -48,10 +48,10 @@
      <!--- Test Case : Retention policy -->
      <!---
        #@TestMarker     size limit retention policy
        #@TestName       Check dsconfig properties of size limit retention policy
        #@TestMarker     Retention Policy Properties Tests
        #@TestName       Size limit retention policy
        #@TestIssue      
        #@TestPurpose    check the size limit retention policy properties.
        #@TestPurpose    Check the size limit retention policy properties.
        #@TestPreamble   none
        #@TestStep       Check the size limit retention policy's properties are correctly set and get using dsconfig
        #@TestStep       Set a property
@@ -145,10 +145,10 @@
      <!--- Test Case : free-disk-space Retention policy -->
      <!---
        #@TestMarker     free-disk-space retention policy
        #@TestName       Check dsconfig properties of size limit retention policy
        #@TestMarker     Retention Policy Properties Tests
        #@TestName       free-disk-space retention policy
        #@TestIssue      
        #@TestPurpose    check the free-disk-space retention policy properties.
        #@TestPurpose    Check the free-disk-space retention policy properties.
        #@TestPreamble   none
        #@TestStep       Check the free-disk-space retention policy's properties are correctly set and get using dsconfig
        #@TestStep       Set a property
@@ -246,10 +246,10 @@
      <!--- Test Case : free-disk-space Retention policy -->
      <!---
        #@TestMarker     file-count retention policy
        #@TestName       Check dsconfig properties of size limit retention policy
        #@TestMarker     Retention Policy Properties Tests
        #@TestName       file-count retention policy
        #@TestIssue      
        #@TestPurpose    check the file-count retention policy properties.
        #@TestPurpose    Check the file-count retention policy properties.
        #@TestPreamble   none
        #@TestStep       Check the file-count retention policy's properties are correctly set and get using dsconfig
        #@TestStep       Set a property
opends/tests/functional-tests/testcases/logging/logging_rotation.xml
@@ -47,12 +47,12 @@
-->
      <!---
          #@TestMarker     size limit  rotation
          #@TestName       size limit  rotation
          #@TestIssue      Check the size limit rotation policy
          #@TestMarker     Rotation Policy Tests
          #@TestName       Size limit rotation
          #@TestPurpose    Check the size limit rotation policy
          #@TestPreamble   none
          #@TestStep       Create a new size limit rotation policy
          #@TestStep       Configure the Size Limit rotation policy with a Max size to 4kb
          #@TestStep       Configure the Size Limit rotation policy with a Max size to 64kb
          #@TestStep       Execute ldapsearch request until the log are rotate
          #@TestPostamble  none
          #@TestResult     the logs size must match the rotation size
opends/tests/functional-tests/testcases/logging/logging_rotation_properties.xml
@@ -47,10 +47,9 @@
      <!--- Test Case : Rotation policy -->
      <!---
        #@TestMarker           size limitRotation policy
        #@TestName             Check dsconfig properties of size limit Rotation policy
        #@TestIssue
        #@TestPurpose          check the size limit rotation policy properties.
        #@TestMarker           Rotation Policy Properties Tests
        #@TestName             size limit Rotation policy
        #@TestPurpose          Check the size limit rotation policy properties.
        #@TestPreamble         none
        #@TestStep             Check the size limit rotation policy's properties are correctly set and get using dsconfig
        #@TestStep             Set a property
@@ -140,10 +139,9 @@
      
      <!--- Test Case : time limit Rotation policy -->
      <!---
        #@TestMarker           time limit Rotation policy
        #@TestName             Check dsconfig properties of time limit Rotation policy
        #@TestIssue
        #@TestPurpose          check the time limit rotation policy properties.
        #@TestMarker           Rotation Policy Properties Tests
        #@TestName             time limit Rotation policy
        #@TestPurpose          Check the time limit rotation policy properties.
        #@TestPreamble         none
        #@TestStep             Check the time limit rotation policy's properties are correctly set and get using dsconfig
        #@TestStep             Set a property
@@ -236,18 +234,20 @@
      </testcase>
      
      <!--- Test Case : fixed time limit Rotation policy -->
      <!---
        #@TestMarker           fixed time limit Rotation policy
        #@TestName             Check dsconfig properties of fixed fixed time limit Rotation policy
        #@TestMarker           Rotation Policy Properties Tests
        #@TestName             fixed time limit Rotation policy
        #@TestIssue                   
        #@TestPurpose          check the fixed time limit rotation policy properties.
        #@TestPurpose          Check the fixed time limit rotation policy properties.
        #@TestPreamble         none
        #@TestStep             Check the fixed time limit rotation policy's properties are correctly set and get using dsconfig
        #@TestStep             Set a property
        #@TestStep             Get the property and check it has been correctly updated
        #@TestPostamble        none
        #@TestResult           Success if OpenDS returns 0 for all operations
      -->
      -->
      <testcase name="getTestCaseName('fixed time limit Rotation policy')">
        <sequence>
          <call function="'testCase_Preamble'"/>
opends/tests/functional-tests/testcases/logging/logging_writer.xml
@@ -38,8 +38,8 @@
      
<!--- Test Suite information
#@TestSuiteName       basic tests on logging
#@TestSuitePurpose    Basic tests on logging
#@TestSuiteName       Basic tests on logging
#@TestSuitePurpose    Check the log of information under Access or Debug files is correctly done
#@TestSuiteID         Logging
#@TestSuiteGroup      Logging
#@TestGroup           Logging
@@ -48,12 +48,13 @@
-->      
      <!-- #################################### -->
      <!--
        #@TestMarker      access logger
        #@TestName        access logger properties check
        #@TestMarker      Basic tests on logging
        #@TestName        Basic test on access log publisher
        #@TestIssue       
        #@TestPurpose     check the asynchronous mode with auto-flush works
        #@TestPurpose     Check informations are correclty logged under Access log files.
        #@TestPurpose     the Access log publisher is configured with asynchronous mode and auto-flush
        #@TestPreamble    none
        #@TestStep        Set the Access Logger's properties to be an asynchronous mode
        #@TestStep        Set the publisher Access Logger's properties to be an asynchronous mode
        #@TestStep        Set the auto-flush to TRUE
        #@TestStep        Set the append property to false
        #@TestStep        Configure the Size Limit rotation policy with a Max size to 1mb
@@ -215,10 +216,10 @@
      
      <!-- #################################### -->
      <!--
          #@TestMarker       Debug logger
          #@TestName         Debug logger properties check
          #@TestMarker       Basic tests on logging
          #@TestName         Basic test on Debug log publisher
          #@TestIssue        
          #@TestPurpose      Basic tests on the Debug logger
          #@TestPurpose      Check informations are correclty logged under Debug log files.
          #@TestPreamble     none
          #@TestStep         Enabled the Debug  Logger
          #@TestStep         Define a specific log file for debug message