Added comment blocks for parsing test specifications from the code.
| | |
| | | #@TestSuitePurpose Test the add functionality for OpenDS |
| | | #@TestSuiteID Add Tests |
| | | #@TestSuiteGroup Bob |
| | | #@TestGroup Bob/BobAddTests |
| | | #@TestGroup Bob |
| | | #@TestScript BobAddTests.java |
| | | #@TestHTMLLink blahblah |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Bob adds. |
| | |
| | | { |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 1 |
| | | #@TestID BobAdd1 |
| | |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 2 |
| | | #@TestID BobAdd2 |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 3 |
| | | #@TestID BobAdd3 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a new entry as objectclass=inetorgperson that includes a small jpeg photo. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 4 |
| | | #@TestID BobAdd4 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a new entry as objectclass=inetorgperson that includes a large jpeg photo. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 5 |
| | | #@TestID BobAdd5 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a small jpeg photo to each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 6 |
| | | #@TestID BobAdd6 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a large jpeg photo to each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 7 |
| | | #@TestID BobAdd7 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add five new entries as objectclass=inetorgperson each of which |
| | | * includes a small jpeg photo. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 8 |
| | | #@TestID BobAdd8 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add five new entries as objectclass=inetorgperson each of which |
| | | * includes a large jpeg photo. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 9 |
| | | #@TestID BobAdd9 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a short labeleduri to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 10 |
| | | #@TestID BobAdd10 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a long labeleduri to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 11 |
| | | #@TestID BobAdd11 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a new entry as objectclass=inetorgperson that includes a short labeleduri. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 12 |
| | | #@TestID BobAdd12 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a new entry as objectclass=inetorgperson that includes a long labeleduri. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 13 |
| | | #@TestID BobAdd13 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a short labeleduri to each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 14 |
| | | #@TestID BobAdd14 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a long labeleduri to each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 15 |
| | | #@TestID BobAdd15 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add five new entries as objectclass=inetorgperson each of which |
| | | * includes a short labeleduri. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 16 |
| | | #@TestID BobAdd16 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add five new entries as objectclass=inetorgperson each of which |
| | | * includes a long labeleduri. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 17 |
| | | #@TestID BobAdd17 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a short description to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 18 |
| | | #@TestID BobAdd18 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a long description to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 19 |
| | | #@TestID BobAdd19 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a new entry as objectclass=inetorgperson that includes a short description. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 20 |
| | | #@TestID BobAdd20 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a new entry as objectclass=inetorgperson that includes a long description. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 21 |
| | | #@TestID BobAdd21 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a short description to each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 22 |
| | | #@TestID BobAdd22 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a long description to each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 23 |
| | | #@TestID BobAdd23 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add five new entries as objectclass=inetorgperson each of which |
| | | * includes a short description. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 24 |
| | | #@TestID BobAdd24 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add five new entries as objectclass=inetorgperson each of which |
| | | * includes a long description. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 25 |
| | | #@TestID BobAdd25 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a short seeAlso to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 26 |
| | | #@TestID BobAdd26 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a long seeAlso to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 27 |
| | | #@TestID BobAdd27 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a new entry as objectclass=inetorgperson that includes a short seeAlso. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 28 |
| | | #@TestID BobAdd28 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a new entry as objectclass=inetorgperson that includes a long seeAlso. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 29 |
| | | #@TestID BobAdd29 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a short seeAlso to each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 30 |
| | | #@TestID BobAdd30 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a long seeAlso to each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 31 |
| | | #@TestID BobAdd31 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add five new entries as objectclass=inetorgperson each of which |
| | | * includes a short seeAlso. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 32 |
| | | #@TestID BobAdd32 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add five new entries as objectclass=inetorgperson each of which |
| | | * includes a long seeAlso. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 33 |
| | | #@TestID BobAdd33 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a short pager number to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 34 |
| | | #@TestID BobAdd34 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a long pager number to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 35 |
| | | #@TestID BobAdd35 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a new entry as objectclass=inetorgperson that includes a short pager number. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 36 |
| | | #@TestID BobAdd36 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a new entry as objectclass=inetorgperson that includes a long pager number. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 37 |
| | | #@TestID BobAdd37 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a short pager number to each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 38 |
| | | #@TestID BobAdd38 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a long pager number to each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 39 |
| | | #@TestID BobAdd39 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add five new entries as objectclass=inetorgperson each of which |
| | | * includes a short pager number. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 40 |
| | | #@TestID BobAdd40 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add five new entries as objectclass=inetorgperson each of which |
| | | * includes a long pager number. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 41 |
| | | #@TestID BobAdd41 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a jpeg photo attribute with no value to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 42 |
| | | #@TestID BobAdd42 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add a jpeg photo attribute with an ascii value to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 43 |
| | | #@TestID BobAdd43 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 68 |
| | | */ |
| | | /** |
| | | * Add a duplicate entry as objectclass=inetorgperson that includes a jpeg |
| | | * photo with no attribute. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 44 |
| | | #@TestID BobAdd44 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 68 |
| | | */ |
| | | /** |
| | | * Add a duplicate entry as objectclass=inetorgperson that includes a jpeg |
| | | * photo with an ascii value. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | */ |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 47 |
| | | #@TestID BobAdd47 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 68 |
| | | */ |
| | | /** |
| | | * Add a set of entries where the first entry is a duplicate to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 48 |
| | | #@TestID BobAdd48 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 68 |
| | | */ |
| | | /** |
| | | * Add a set of entries where the third entry is a duplicate to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 49 |
| | | #@TestID BobAdd49 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 21 |
| | | */ |
| | | /** |
| | | * Add a description with no value to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 50 |
| | | #@TestID BobAdd50 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 1 |
| | | */ |
| | | /** |
| | | * Add a description with a binary value to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 51 |
| | | #@TestID BobAdd51 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 68 |
| | | */ |
| | | /** |
| | | * Add a new entry with a description that has no value. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 52 |
| | | #@TestID BobAdd52 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 1 |
| | | */ |
| | | /** |
| | | * Add a new entry with a description that has a binary value. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 53 |
| | | #@TestID BobAdd53 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 20 |
| | | */ |
| | | /** |
| | | * Add a duplicate desciption to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 54 |
| | | #@TestID BobAdd54 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 1 |
| | | */ |
| | | /** |
| | | * Add a set of entries where the fourth entry has a binary value for the description. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 55 |
| | | #@TestID BobAdd55 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 68 |
| | | */ |
| | | /** |
| | | * Add a set of duplicate entries where the descriptions have no value. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Add Tests |
| | | #@TestName Bob Add 56 |
| | | #@TestID BobAdd56 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 68 |
| | | */ |
| | | /** |
| | | * Add a set of duplicate entries where the descriptions have very long values. |
| | | * |
| | |
| | | #@TestSuitePurpose Test the delete functionality for OpenDS |
| | | #@TestSuiteID Delete Tests |
| | | #@TestSuiteGroup Bob |
| | | #@TestGroup Bob/BobDeleteTests |
| | | #@TestGroup Bob |
| | | #@TestScript BobDeleteTests.java |
| | | #@TestHTMLLink blahblah |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Bob deletes. |
| | |
| | | @Test |
| | | public class BobDeleteTests extends BobTests |
| | | { |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Delete Tests |
| | | #@TestName Bob Delete 1 |
| | | #@TestID BobDelete1 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Delete an existing entry using ldapmodify. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Delete Tests |
| | | #@TestName Bob Delete 2 |
| | | #@TestID BobDelete2 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 32 |
| | | */ |
| | | /** |
| | | * Delete a non-existent entry using ldapmodify by trying to delete the entry that |
| | | * was deleted in the last step. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Delete Tests |
| | | #@TestName Bob Delete 3 |
| | | #@TestID BobDelete3 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 32 |
| | | */ |
| | | /** |
| | | * Delete an entry that has a bad DN using ladpmodify. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Delete Tests |
| | | #@TestName Bob Delete 4 |
| | | #@TestID BobDelete4 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Delete five existing entries using ldapmodify. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Delete Tests |
| | | #@TestName Bob Delete 5 |
| | | #@TestID BobDelete5 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 32 |
| | | */ |
| | | /** |
| | | * Delete five existing entries using ldapmodify, the fourth of which |
| | | * has a bad DN. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Delete Tests |
| | | #@TestName Bob Delete 6 |
| | | #@TestID BobDelete6 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 1 |
| | | */ |
| | | /** |
| | | * Delete an existing entry using ldapmodify with an ldif file that |
| | | * improperly has the format for ldapdelete. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Delete Tests |
| | | #@TestName Bob Delete 7 |
| | | #@TestID BobDelete7 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPDelete.mainDelete() |
| | | with the filename to the appropriate data file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Delete an existing entry using ldapdelete. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Delete Tests |
| | | #@TestName Bob Delete 8 |
| | | #@TestID BobDelete8 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPDelete.mainDelete() |
| | | with the filename to the appropriate data file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 32 |
| | | */ |
| | | /** |
| | | * Delete a non-existent entry using ldapdelete by trying to delete the entry that |
| | | * was deleted in the last step. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Delete Tests |
| | | #@TestName Bob Delete 9 |
| | | #@TestID BobDelete9 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPDelete.mainDelete() |
| | | with the filename to the appropriate data file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 32 |
| | | */ |
| | | /** |
| | | * Delete an entry that has a bad DN using ldapdelete. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Delete Tests |
| | | #@TestName Bob Delete 10 |
| | | #@TestID BobDelete10 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPDelete.mainDelete() |
| | | with the filename to the appropriate data file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Delete five existing entries using ldapdelete. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Delete Tests |
| | | #@TestName Bob Delete 11 |
| | | #@TestID BobDelete11 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPDelete.mainDelete() |
| | | with the filename to the appropriate data file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 32 |
| | | */ |
| | | /** |
| | | * Delete five existing entries using ldapdelete, the fourth of which |
| | | * has a bad DN. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Delete Tests |
| | | #@TestName Bob Delete 12 |
| | | #@TestID BobDelete12 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPDelete.mainDelete() |
| | | with the filename to the appropriate data file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 34 |
| | | */ |
| | | /** |
| | | * Delete an existing entry using ldapdelete with a file that |
| | | * improperly has the format for ldapmodify. |
| | |
| | | #@TestSuitePurpose Test the modify functionality for OpenDS |
| | | #@TestSuiteID Modify Tests |
| | | #@TestSuiteGroup Bob |
| | | #@TestGroup Bob/BobModifyTests |
| | | #@TestGroup Bob |
| | | #@TestScript BobModTests.java |
| | | #@TestHTMLLink blahblah |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Bob modifies. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 3 |
| | | #@TestID BobModify3 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a small jpeg photo in each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 4 |
| | | #@TestID BobModify4 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a large jpeg photo in each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 5 |
| | | #@TestID BobModify5 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a short lableduri in an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 6 |
| | | #@TestID BobModify6 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a long lableduri in an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 7 |
| | | #@TestID BobModify7 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a short labeleduri in each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 8 |
| | | #@TestID BobModify8 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a long labeleduri in each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 9 |
| | | #@TestID BobModify9 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a short description in an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 10 |
| | | #@TestID BobModify10 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a long description in an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 11 |
| | | #@TestID BobModify11 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a short description in each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 12 |
| | | #@TestID BobModify12 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a long description in each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 13 |
| | | #@TestID BobModify13 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a short seeAlso in an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 14 |
| | | #@TestID BobModify14 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a long seeAlso in an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 15 |
| | | #@TestID BobModify15 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a short seeAlso in each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 16 |
| | | #@TestID BobModify16 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a long seeAlso in each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 17 |
| | | #@TestID BobModify17 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a short pager number in an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 18 |
| | | #@TestID BobModify18 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a long pager number in an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 19 |
| | | #@TestID BobModify19 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a short pager number in each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 20 |
| | | #@TestID BobModify20 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a long pager number in each of five existing entries. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 21 |
| | | #@TestID BobModify21 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a jpeg photo attribute with no value to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 22 |
| | | #@TestID BobModify22 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a jpeg photo attribute with an ascii value to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 23 |
| | | #@TestID BobModify23 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a jpeg photo attribute which is in ascii format but has a |
| | | * null value to an existing entry. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 24 |
| | | #@TestID BobModify24 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a jpeg photo attribute with an extra large photo to an existing entry |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 25 |
| | | #@TestID BobModify25 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 21 |
| | | */ |
| | | /** |
| | | * Replace a description that has no value. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 26 |
| | | #@TestID BobModify26 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 1 |
| | | */ |
| | | /** |
| | | * Replace a description that has a binary value. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 27 |
| | | #@TestID BobModify27 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace a description that has a variety of different punctuation. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify Tests |
| | | #@TestName Bob Modify 28 |
| | | #@TestID BobModify28 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 1 |
| | | */ |
| | | /** |
| | | * Replace the description of each of five existing entries, but the |
| | | * fourth entry has the description in binary format. |
| | |
| | | #@TestSuitePurpose Test the modify rdn functionality for OpenDS |
| | | #@TestSuiteID Modify RDN Tests |
| | | #@TestSuiteGroup Bob |
| | | #@TestGroup Bob/BobModifyRDNTests |
| | | #@TestGroup Bob |
| | | #@TestScript BobModrdnTests.java |
| | | #@TestHTMLLink blahblah |
| | | */ |
| | |
| | | @Test |
| | | public class BobModrdnTests extends BobTests |
| | | { |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify RDN Tests |
| | | #@TestName Bob Modify RDN 1 |
| | | #@TestID BobModifyRDN1 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace the RDN of an existing entry with a short RDN. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify RDN Tests |
| | | #@TestName Bob Modify RDN 2 |
| | | #@TestID BobModifyRDN2 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace the RDN of an existing entry with a long RDN. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Bob Modify RDN Tests |
| | | #@TestName Bob Modify RDN 3 |
| | | #@TestID BobModifyRDN3 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace the RDN of an existing entry with a very long RDN. |
| | | * |
| | |
| | | #@TestSuitePurpose Setup methods for the Bob test suites |
| | | #@TestSuiteID Setup |
| | | #@TestSuiteGroup Bob |
| | | #@TestGroup Bob/Setup |
| | | #@TestGroup Bob |
| | | #@TestScript BobStartup.java |
| | | #@TestHTMLLink blahblah |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Bob startup. |
| | |
| | | #@TestSuitePurpose To check that the entry cache is managed correctly. |
| | | #@TestSuiteID Entry Cache |
| | | #@TestSuiteGroup Core |
| | | #@TestGroup Core/EntryCache |
| | | #@TestGroup Core |
| | | #@TestScript CoreEntryCacheTests.java |
| | | #@TestHTMLLink blahblah |
| | | #@ |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Core version reporting tests. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Core Entry Cache |
| | | #@TestName Entry Cache 2 |
| | | #@TestID CoreEntryCache2 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ds-config-entryCacheEnabled parameter is set |
| | | to true under cn=Entry Cache,cn=config. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Enable the default entry cache. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Core Entry Cache |
| | | #@TestName Entry Cache 3 |
| | | #@TestID CoreEntryCache3 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The attributes, ds-config-locktimeout (value=60), |
| | | ds-config-excludeFilter (value="telephonenumber=*"), |
| | | and ds-config-includeFilter (value="roomnumber=*") |
| | | are added to cn=Entry Cache,cn=config. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add three attributes to cn=Entry Cache,cn=config. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Core Entry Cache |
| | | #@TestName Entry Cache 4 |
| | | #@TestID CoreEntryCache4 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The attribute, ds-config-maxEntries, is added |
| | | cn=Entry Cache,cn=config. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 65 |
| | | */ |
| | | /** |
| | | * Add one attribute that is not allowed under cn=Entry Cache,cn=config |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Core Entry Cache |
| | | #@TestName Entry Cache 5 |
| | | #@TestID CoreEntryCache5 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The entry, "cn=Entry Cache 2,cn=config, is added |
| | | to OpenDS with several attributes. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add second entry cache which is an object of the ds-cfg-fifo-entry-cache class. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Core Entry Cache |
| | | #@TestName Entry Cache 6 |
| | | #@TestID CoreEntryCache6 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | against all the entries currently in OpenDS. |
| | | The client binds as cn=Directory Manager. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted. |
| | | * |
| | |
| | | #@TestSuitePurpose To check that the search size limit is enforced. |
| | | #@TestSuiteID Search Size Limit |
| | | #@TestSuiteGroup Core |
| | | #@TestGroup Core/SearchSizeLimit |
| | | #@TestGroup Core |
| | | #@TestScript CoreSearchSizeLimitTests.java |
| | | #@TestHTMLLink blahblah |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Core functional tests for search size limits. |
| | |
| | | #@TestID CoreSearchSizeLimit1 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with a search size limit defined in the command |
| | | line and the search size is exceeded. |
| | | with size limit (150) against 151 entries. |
| | | The client binds as cn=Directory Manager. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 4 |
| | | */ |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Size Limit |
| | | #@TestName Search Size Limit 2 |
| | | #@TestID CoreSearchSizeLimit2 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with size limit (151) against 151 entries. |
| | | The client binds as cn=Directory Manager. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a search size limit defined in the command line and the search |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Size Limit |
| | | #@TestName Search Size Limit 3 |
| | | #@TestID CoreSearchSizeLimit3 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filenename to the appropriate ldif file. |
| | | The ds-cfg-size-limit parameter is changed to |
| | | 5 under cn=config. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Change the server-wide search size limit to 5. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Size Limit |
| | | #@TestName Search Size Limit 4 |
| | | #@TestID CoreSearchSizeLimit4 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with size limit (5) against many entries. |
| | | The client binds as anonymous. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 4 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a search size limit defined by the server-wide parameter, |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Size Limit |
| | | #@TestName Search Size Limit 5 |
| | | #@TestID CoreSearchSizeLimit5 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filenename to the appropriate ldif file. |
| | | The ds-cfg-size-limit parameter is changed to |
| | | 10000 under cn=config. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Change the server-wide search size limit to 1000. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Size Limit |
| | | #@TestName Search Size Limit 6 |
| | | #@TestID CoreSearchSizeLimit6 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with size limit (10000) against less than 10000 entries. |
| | | The client binds as anonymous. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a search size limit defined by the server-wide parameter, |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Size Limit |
| | | #@TestName Search Size Limit 7 |
| | | #@TestID CoreSearchSizeLimit7 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filenename to the appropriate ldif file. |
| | | The ds-rlim-size-limit is changed to 5 under |
| | | cn=Directory Manager,cn=Root DNs,cn=config. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Change the search size limit for cn=Directory Manager to 5. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Size Limit |
| | | #@TestName Search Size Limit 8 |
| | | #@TestID CoreSearchSizeLimit8 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with user size limit (5) for user, |
| | | cn=Directory Manager, against many entries. |
| | | The client binds as cn=Directory Manager. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 4 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a user search size limit defined by the user-specific parameter, |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Size Limit |
| | | #@TestName Search Size Limit 9 |
| | | #@TestID CoreSearchSizeLimit9 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with user size limit (5) for user, |
| | | cn=Directory Manager, against many entries. |
| | | The client binds as anonymous. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a user search size limit defined by the user-specific parameter, |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Size Limit |
| | | #@TestName Search Size Limit 10 |
| | | #@TestID CoreSearchSizeLimit10 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filenename to the appropriate ldif file. |
| | | The ds-rlim-size-limit is changed to -1 under |
| | | cn=Directory Manager,cn=Root DNs,cn=config. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Change the search size limit for cn=Directory Manager to -1. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Size Limit |
| | | #@TestName Search Size Limit 11 |
| | | #@TestID CoreSearchSizeLimit11 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with user size limit (-1) against many entries. |
| | | The client binds as cn=Directory Manager. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a user search size limit defined as "unlimited" by the user-specific |
| | |
| | | #@TestSuitePurpose To check that the search time limit is enforced. |
| | | #@TestSuiteID Search Time Limit |
| | | #@TestSuiteGroup Core |
| | | #@TestGroup Core/SearchTimeLimit |
| | | #@TestGroup Core |
| | | #@TestScript CoreSearchTimeLimitTests.java |
| | | #@TestHTMLLink blahblah |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Core functional tests for search size limits. |
| | |
| | | @Test |
| | | public class CoreSearchTimeLimitTests extends CoreTests |
| | | { |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Time Limit |
| | | #@TestName Search Time Limit 1 |
| | | #@TestID CoreSearchTimeLimit1 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with time limit (1) against 1150 entries. |
| | | The client binds as cn=Directory Manager. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 3 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a search time limit defined in the command line and the search time is exceeeded. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Time Limit |
| | | #@TestName Search Time Limit 2 |
| | | #@TestID CoreSearchTimeLimit2 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with time limit (100) against 1150 entries. |
| | | The client binds as cn=Directory Manager. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a search time limit defined in the command line and the search time |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Time Limit |
| | | #@TestName Search Time Limit 3 |
| | | #@TestID CoreSearchTimeLimit3 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filenename to the appropriate ldif file. |
| | | The ds-cfg-time-limit parameter is changed to |
| | | 1 under cn=config. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Change the server-wide search time limit to 1. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Time Limit |
| | | #@TestName Search Time Limit 4 |
| | | #@TestID CoreSearchTimeLimit4 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with time limit (1) against 1150 entries. |
| | | The client binds as anonymous. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 3 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a search time limit defined by the server-wide parameter, |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Time Limit |
| | | #@TestName Search Time Limit 5 |
| | | #@TestID CoreSearchTimeLimit5 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filenename to the appropriate ldif file. |
| | | The ds-cfg-time-limit parameter is changed to |
| | | 60 under cn=config. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Change the server-wide search time limit to 60. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Time Limit |
| | | #@TestName Search Time Limit 6 |
| | | #@TestID CoreSearchTimeLimit6 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with time limit (60) against 1150 entries. |
| | | The client binds as anonymous. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a search time limit defined by the server-wide parameter, |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Time Limit |
| | | #@TestName Search Time Limit 7 |
| | | #@TestID CoreSearchTimeLimit7 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filenename to the appropriate ldif file. |
| | | The ds-rlim-time-limit parameter is changed to |
| | | 1 under cn=Directory Manager,cn=Root,cn=config. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Change the user search time limit for cn=Directory Manager to 1. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Time Limit |
| | | #@TestName Search Time Limit 8 |
| | | #@TestID CoreSearchTimeLimit8 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with time limit (1) for user, |
| | | cn=Directory Manager, against 1150 entries. |
| | | The client binds as cn=Directory Manager. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 3 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a user search time limit defined by the user-specific parameter, |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Time Limit |
| | | #@TestName Search Time Limit 9 |
| | | #@TestID CoreSearchTimeLimit9 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with time limit (1) for user, |
| | | cn=Directory Manager, against 1150 entries. |
| | | The client binds as anonymous. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a user search time limit defined by the user-specific parameter, |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Time Limit |
| | | #@TestName Search Time Limit 10 |
| | | #@TestID CoreSearchTimeLimit10 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filenename to the appropriate ldif file. |
| | | The ds-rlim-time-limit parameter is changed to |
| | | 60 under cn=Directory Manager,cn=Root,cn=config. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Change the user search time limit for cn=Directory Manager to 60. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Search Time Limit |
| | | #@TestName Search Time Limit 11 |
| | | #@TestID CoreSearchTimeLimit11 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with time limit (60) for user, |
| | | cn=Directory Manager, against 1150 entries. |
| | | The client binds as cn=Directory Manager. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a user search time limit defined by the user-specific parameter, |
| | |
| | | #@TestSuitePurpose Setup methods for core server test suites |
| | | #@TestSuiteID Setup |
| | | #@TestSuiteGroup Core |
| | | #@TestGroup Core/Setup |
| | | #@TestGroup Core |
| | | #@TestScript CoreStartupTests.java |
| | | #@TestHTMLLink blahblah |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Core startup. |
| | |
| | | #@TestSuitePurpose To check that true/false filters are correctly handled |
| | | #@TestSuiteID True/False Filters |
| | | #@TestSuiteGroup Core |
| | | #@TestGroup Core/TFFFilters |
| | | #@TestGroup Core |
| | | #@TestScript CoreTFFFiltersTests.java |
| | | #@TestHTMLLink blahblah |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Core true/false filter tests. |
| | |
| | | @Test |
| | | public class CoreTFFiltersTests extends CoreTests |
| | | { |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Core True/False Filters |
| | | #@TestName True/False Filters 1 |
| | | #@TestID CoreTFFilters1 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | for entry, cn=version,cn=monitor, with the |
| | | single ampersand filter. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a single ampersand character ("&"). |
| | | * with a single ampersand character. |
| | | * |
| | | * @param hostname The hostname for the server where OpenDS |
| | | * is installed. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Core True/False Filters |
| | | #@TestName True/False Filters 2 |
| | | #@TestID CoreTFFilters2 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | for entry, cn=version,cn=monitor, with the |
| | | single pipe filter. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a single pipe character ("|"). |
| | | * with a single pipe character. |
| | | * |
| | | * @param hostname The hostname for the server where OpenDS |
| | | * is installed. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Core True/False Filters |
| | | #@TestName True/False Filters 3 |
| | | #@TestID CoreTFFilters3 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | for a non-existent entry with the |
| | | single ampersand filter. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a single ampersand character ("&") for a non-existent entry. |
| | | * with a single ampersand character for a non-existent entry. |
| | | * |
| | | * @param hostname The hostname for the server where OpenDS |
| | | * is installed. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Core True/False Filters |
| | | #@TestName True/False Filters 4 |
| | | #@TestID CoreTFFilters4 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | for a non-existent entry with the |
| | | single pipe filter. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * with a single pipe character ("|") for a non-existent entry. |
| | | * with a single pipe character for a non-existent entry. |
| | | * |
| | | * @param hostname The hostname for the server where OpenDS |
| | | * is installed. |
| | |
| | | |
| | | /* |
| | | Place suite-specific test information here. |
| | | #@TestSuiteName Server Version Reporting |
| | | #@TestSuiteName Core Server Version Reporting |
| | | #@TestSuitePurpose To check that the server version reporting is correct |
| | | #@TestSuiteID Server Version Reporting |
| | | #@TestSuiteGroup Core |
| | | #@TestGroup Core/VersionReport |
| | | #@TestGroup Core |
| | | #@TestScript CoreVersionReportTests.java |
| | | #@TestHTMLLink blahblah |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Core version reporting tests. |
| | |
| | | @Test |
| | | public class CoreVersionReportTests extends CoreTests |
| | | { |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Core Server Version Reporting |
| | | #@TestName Version Report 1 |
| | | #@TestID CoreVersionReport1 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | for entry, cn=version,cn=monitor. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when an ldap search request is conducted |
| | | * for the current version of OpenDS. |
| | |
| | | import org.opends.server.tools.*; |
| | | import java.io.*; |
| | | |
| | | /* |
| | | Place suite-specific test information here. |
| | | #@TestSuiteName Frontend RFC2251 Binds |
| | | #@TestSuitePurpose Test the RFC2251 standards regarding binds |
| | | #@TestSuiteID RFC2251 Binds |
| | | #@TestSuiteGroup RFC2251 Binds |
| | | #@TestGroup RFC2251 Binds |
| | | #@TestScript FrontendRFC2251_binds.java |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Frontend functional tests for binds. |
| | | */ |
| | | @Test |
| | | public class FrontendRFC2251_binds extends FrontendTests |
| | | { |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Binds |
| | | #@TestName Frontend User Bind 1 |
| | | #@TestID FrontendUserBind1 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | binding as anonymous. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when a search request is conducted |
| | | * with an anonymous bind. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Binds |
| | | #@TestName Frontend User Bind 2 |
| | | #@TestID FrontendUserBind2 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | binding as uid=scarter,ou=People,o=frontend tests, |
| | | dc=example,dc=com. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when a search request is conducted |
| | | * as one of the users. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Binds |
| | | #@TestName Frontend User Bind 3 |
| | | #@TestID FrontendUserBind3 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | binding as uid=scarter,ou=People,o=frontend tests, |
| | | dc=example,dc=com, but with the wrong password. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 1 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when a search request is conducted |
| | | * when binding as one of the users but with a bad password. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Binds |
| | | #@TestName Frontend User Bind 4 |
| | | #@TestID FrontendUserBind4 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | binding as uid=scarter,ou=People,o=frontend tests, |
| | | dc=example,dc=com, but with a null password. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 1 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when a search request is conducted |
| | | * when binding as one of the users but with a null password. |
| | |
| | | import org.opends.server.tools.*; |
| | | import java.io.*; |
| | | |
| | | /* |
| | | Place suite-specific test information here. |
| | | #@TestSuiteName Frontend RFC2251 Compares |
| | | #@TestSuitePurpose Test the RFC2251 standards regarding compares |
| | | #@TestSuiteID RFC2251 Compares |
| | | #@TestSuiteGroup RFC2251 Compares |
| | | #@TestGroup RFC2251 Compares |
| | | #@TestScript FrontendRFC2251_compares.java |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Frontend functional tests for compare. |
| | | */ |
| | | @Test |
| | | public class FrontendRFC2251_compares extends FrontendTests |
| | | { |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Compares |
| | | #@TestName Frontend User Compare 1 |
| | | #@TestID FrontendUserCompare1 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare(). |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when a compare request is conducted |
| | | * for an entry with one of its attributes and the attribute value. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Compares |
| | | #@TestName Frontend User Compare 2 |
| | | #@TestID FrontendUserCompare2 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare(). |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when a compare request is conducted |
| | | * for an entry with one of its attributes and the wrong attribute value. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Compares |
| | | #@TestName Frontend User Compare 3 |
| | | #@TestID FrontendUserCompare3 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare(). |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 16 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when a compare request is conducted |
| | | * for an entry with a non-existent attribute and the attribute value. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Compares |
| | | #@TestName Frontend User Compare 4 |
| | | #@TestID FrontendUserCompare4 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare(). |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 32 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when a compare request is conducted |
| | | * for a non-existent entry. |
| | |
| | | import org.opends.server.tools.*; |
| | | import java.io.*; |
| | | |
| | | /* |
| | | Place suite-specific test information here. |
| | | #@TestSuiteName Frontend RFC2251 Deletes |
| | | #@TestSuitePurpose Test the RFC2251 standards regarding deletes |
| | | #@TestSuiteID RFC2251 Deletes |
| | | #@TestSuiteGroup RFC2251 Deletes |
| | | #@TestGroup RFC2251 Deletes |
| | | #@TestScript FrontendRFC2251_deletes.java |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Frontend functional tests for deletes. |
| | | */ |
| | | @Test |
| | | public class FrontendRFC2251_deletes extends FrontendTests |
| | | { |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Deletes |
| | | #@TestName Frontend User Delete 1 precheck |
| | | #@TestID FrontendUserDelete1_precheck |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with base DN, uid=jvedder,ou=People,ou=deletes, |
| | | o=frontend tests,dc=example,dc=com. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check for the existence of the entry which will be deleted in the next test. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Deletes |
| | | #@TestName Frontend User Delete 1 |
| | | #@TestID FrontendUserDelete1 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPDelete.mainDelete() |
| | | with base DN, uid=jvedder,ou=People,ou=deletes, |
| | | o=frontend tests,dc=example,dc=com. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when a delete request is conducted |
| | | * for an existing entry. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Deletes |
| | | #@TestName Frontend User Delete 1 check entry |
| | | #@TestID FrontendUserDelete1_checkentry |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with base DN, uid=jvedder,ou=People,ou=deletes, |
| | | o=frontend tests,dc=example,dc=com. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 32 |
| | | */ |
| | | /** |
| | | * Check for the existence of the entry which was deleted in the last test. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Deletes |
| | | #@TestName Frontend User Delete 2 precheck |
| | | #@TestID FrontendUserDelete2_precheck |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with base DN, uid=mtyler,ou=People,ou=deletes, |
| | | o=frontend tests,dc=example,dc=com. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check for the existence of the entry as a precheck for the next test. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Deletes |
| | | #@TestName Frontend User Delete 2 |
| | | #@TestID FrontendUserDelete2 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPDelete.mainDelete() |
| | | with base DN, uid=mtyler,ou=People,ou=deletes, |
| | | o=frontend tests,dc=example,dc=com. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 66 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when a delete request is conducted |
| | | * for branch. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Deletes |
| | | #@TestName Frontend User Delete 2 check entry |
| | | #@TestID FrontendUserDelete2_checkentry |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with base DN, uid=mtyler,ou=People,ou=deletes, |
| | | o=frontend tests,dc=example,dc=com. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check for the existence of the entry that should still be present |
| | | * after the last test. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Deletes |
| | | #@TestName Frontend User Delete 3 precheck |
| | | #@TestID FrontendUserDelete3_precheck |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with base DN, uid=mtyler,ou=People,ou=deletes, |
| | | o=frontend tests,dc=example,dc=com. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check for the existence of the entry as a precheck for the next test. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Deletes |
| | | #@TestName Frontend User Delete 3 |
| | | #@TestID FrontendUserDelete3 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPDelete.mainDelete() |
| | | with the parameter, -x, on ou=People,ou=deletes, |
| | | o=frontend tests,dc=example,dc=com. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the response of OpenDS when a delete request is conducted |
| | | * on a branck using the "-x" parameter. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Deletes |
| | | #@TestName Frontend User Delete 3 check entry |
| | | #@TestID FrontendUserDelete3_checkentry |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with base DN, uid=mtyler,ou=People,ou=deletes, |
| | | o=frontend tests,dc=example,dc=com. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 32 |
| | | */ |
| | | /** |
| | | * Check for the existence of the entry that should have been deleted |
| | | * after the last test. |
| | |
| | | import org.opends.server.tools.*; |
| | | import java.io.*; |
| | | |
| | | /* |
| | | Place suite-specific test information here. |
| | | #@TestSuiteName Frontend RFC2251 Modifies |
| | | #@TestSuitePurpose Test the RFC2251 standards regarding modifies |
| | | #@TestSuiteID RFC2251 Modifies |
| | | #@TestSuiteGroup RFC2251 Modifies |
| | | #@TestGroup RFC2251 Modifies |
| | | #@TestScript FrontendRFC2251_modifies.java |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Frontend functional tests for modifies. |
| | | */ |
| | | @Test |
| | | public class FrontendRFC2251_modifies extends FrontendTests |
| | | { |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 1 precheck |
| | | #@TestID FrontendUserModify1_precheck |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare() |
| | | with base DN, uid=scarter,ou=People, |
| | | o=frontend tests,dc=example,dc=com and attribute, |
| | | st, with value, Calfornia. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 16 |
| | | */ |
| | | /** |
| | | * Check an entry for a non-existent attribute which will be added |
| | | * in the next test. |
| | |
| | | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 1 |
| | | #@TestID FrontendUserModify1 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an attribute to an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 1 check entry |
| | | #@TestID FrontendUserModify1_checkentry |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare() |
| | | with base DN, uid=scarter,ou=People, |
| | | o=frontend tests,dc=example,dc=com and attribute, |
| | | st, with value, Calfornia. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check an entry for the attribute that was added in the last test. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 2 precheck |
| | | #@TestID FrontendUserModify2_precheck |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare() |
| | | with base DN, uid=tmorris,ou=People, |
| | | o=frontend tests,dc=example,dc=com and attribute, |
| | | mail, with value, tmorris@example.com. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check an entry for an existing attribute which will be deleted |
| | | * in the next test. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 2 |
| | | #@TestID FrontendUserModify2 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Delete an attribute from an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 2 check entry |
| | | #@TestID FrontendUserModify2_checkentry |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare() |
| | | with base DN, uid=tmorris,ou=People, |
| | | o=frontend tests,dc=example,dc=com and attribute, |
| | | mail, with value, tmorris@example.com. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 16 |
| | | */ |
| | | /** |
| | | * Check an entry for an attribute that was deleted in the last test. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 3 precheck |
| | | #@TestID FrontendUserModify3_precheck |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare() |
| | | with base DN, uid=kvaughn,ou=People, |
| | | o=frontend tests,dc=example,dc=com and attribute, |
| | | l, with value, Sunnyvale. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check an entry for an existing attribute which will be replaced |
| | | * in the next test. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 3 |
| | | #@TestID FrontendUserModify3 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Replace an attribute in an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 3 check entry |
| | | #@TestID FrontendUserModify3_checkentry |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare() |
| | | with base DN, uid=kvaughn,ou=People, |
| | | o=frontend tests,dc=example,dc=com and attribute, |
| | | l, with value, Grenoble. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check an entry for an existing attribute which was replaced |
| | | * in the last test. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 4 precheck |
| | | #@TestID FrontendUserModify4_precheck |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare() |
| | | with base DN, uid=kvaughn,ou=People, |
| | | o=frontend tests,dc=example,dc=com and attribute, |
| | | st, with value, California. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 16 |
| | | */ |
| | | /** |
| | | * Check an entry for a non-existent attribute which will be added |
| | | * in the next test. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 4 |
| | | #@TestID FrontendUserModify4 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an attribute to an existing entry by a replace operation. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 4 check entry |
| | | #@TestID FrontendUserModify4_checkentry |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare() |
| | | with base DN, uid=kvaughn,ou=People, |
| | | o=frontend tests,dc=example,dc=com and attribute, |
| | | st, with value, California. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check an entry for the attribute which was added |
| | | * in the last test. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 5 precheck |
| | | #@TestID FrontendUserModify5_precheck |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare() |
| | | with base DN, uid=abergin,ou=People, |
| | | o=frontend tests,dc=example,dc=com and attribute, |
| | | mail, with value, abergin@example.com. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check an entry for an existing attribute which will be deleted |
| | | * in the next test. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 5 |
| | | #@TestID FrontendUserModify5 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Delete an attribute from an existing entry by a replace operation. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 5 check entry |
| | | #@TestID FrontendUserModify5_checkentry |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare() |
| | | with base DN, uid=abergin,ou=People, |
| | | o=frontend tests,dc=example,dc=com and attribute, |
| | | mail, with value, abergin@example.com. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 16 |
| | | */ |
| | | /** |
| | | * Check an entry for an attribute which was deleted |
| | | * in the last test. |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 6 precheck |
| | | #@TestID FrontendUserModify6_precheck |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare() |
| | | with base DN, uid=dmiller,ou=People, |
| | | o=frontend tests,dc=example,dc=com and attribute, |
| | | st, with value, California. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 16 |
| | | */ |
| | | /** |
| | | * Check an entry for a non-existent attribute. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 6 |
| | | #@TestID FrontendUserModify6 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Modify a non-existent attribute in an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 6 check entry |
| | | #@TestID FrontendUserModify6_checkentry |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare() |
| | | with base DN, uid=dmiller,ou=People, |
| | | o=frontend tests,dc=example,dc=com and attribute, |
| | | st, with value, California. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 16 |
| | | */ |
| | | /** |
| | | * Check the entry was modified in the last test. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 7 precheck |
| | | #@TestID FrontendUserModify7_precheck |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare() |
| | | with base DN, uid=dmiller,ou=People, |
| | | o=frontend tests,dc=example,dc=com and attribute, |
| | | uid, with value, dmiller. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check an entry for a required attribute. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 7 |
| | | #@TestID FrontendUserModify7 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Delete a required attribute in an existing entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modifies |
| | | #@TestName Frontend User Modify 7 check entry |
| | | #@TestID FrontendUserModify7_checkentry |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPCompare.mainCompare() |
| | | with base DN, uid=dmiller,ou=People, |
| | | o=frontend tests,dc=example,dc=com and attribute, |
| | | uid, with value, dmiller. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the entry was modified in the last test. |
| | | * |
| | |
| | | import org.opends.server.tools.*; |
| | | import java.io.*; |
| | | |
| | | /* |
| | | Place suite-specific test information here. |
| | | #@TestSuiteName Frontend RFC2251 Modify RDNs |
| | | #@TestSuitePurpose Test the RFC2251 standards regarding modify RDNs |
| | | #@TestSuiteID RFC2251 Modify RDNs |
| | | #@TestSuiteGroup RFC2251 Modify RDNs |
| | | #@TestGroup RFC2251 Modify RDNs |
| | | #@TestScript FrontendRFC2251_modifyrdns.java |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Frontend functional tests for modify RDNs. |
| | | */ |
| | | @Test |
| | | public class FrontendRFC2251_modifyrdns extends FrontendTests |
| | | { |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modify RDNs |
| | | #@TestName Frontend User Modify RDN 1 |
| | | #@TestID FrontendUserModifyRDN1 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Modify the RDN for an existing entry and retain the old RDN. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modify RDNs |
| | | #@TestName Frontend User Modify RDN 1 check entry |
| | | #@TestID FrontendUserModifyRDN1_checkentry |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with base DN, ou=People, |
| | | o=frontend tests,dc=example,dc=com and attribute, |
| | | uid, with value, kwintersmith. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the entry that was modified in the last test. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modify RDNs |
| | | #@TestName Frontend User Modify RDN 2 |
| | | #@TestID FrontendUserModifyRDN2 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Modify the RDN for an existing entry and delete the old RDN. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modify RDNs |
| | | #@TestName Frontend User Modify RDN 2 check entry |
| | | #@TestID FrontendUserModifyRDN2_checkentry |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPSearch.mainSearch() |
| | | with base DN, ou=People, |
| | | o=frontend tests,dc=example,dc=com and attribute, |
| | | uid, with value, kwintersmith. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Check the entry that was modified in the last test. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modify RDNs |
| | | #@TestName Frontend User Modify RDN 3 |
| | | #@TestID FrontendUserModifyRDN3 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 32 |
| | | */ |
| | | /** |
| | | * Modify the RDN for non-existent entry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend RFC2251 Modify RDNs |
| | | #@TestName Frontend User Modify RDN 4 |
| | | #@TestID FrontendUserModifyRDN4 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 68 |
| | | */ |
| | | /** |
| | | * Modify the RDN for an existing entry to the RDN of another existing entry. |
| | | * |
| | |
| | | import org.testng.annotations.*; |
| | | import org.opends.server.tools.*; |
| | | |
| | | /* |
| | | Place suite-specific test information here. |
| | | #@TestSuiteName Frontend Setup |
| | | #@TestSuitePurpose Setup methods for the Frontend test suites |
| | | #@TestSuiteID Setup |
| | | #@TestSuiteGroup Frontend |
| | | #@TestGroup Frontend |
| | | #@TestScript FrontendStartupTests.java |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Frontend startup. |
| | | */ |
| | | @Test |
| | | public class FrontendStartupTests extends FrontendTests |
| | | { |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Frontend Setup |
| | | #@TestName Frontend Setup 1 |
| | | #@TestID FrontendStartup1 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add entries that are required for the Frontend Tests. |
| | | * |
| | |
| | | import org.testng.annotations.*; |
| | | import org.opends.server.tools.*; |
| | | |
| | | /* |
| | | Place suite-specific test information here. |
| | | #@TestSuiteName Quickstart Setup |
| | | #@TestSuitePurpose Perform basic tests to ensure that OpenDS is ready. |
| | | #@TestSuiteID Quickstart |
| | | #@TestSuiteGroup Quickstart |
| | | #@TestGroup Quickstart |
| | | #@TestScript QuickstartAddTests.java |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the QuickstartAdd startup. |
| | | */ |
| | | @Test |
| | | public class QuickstartAddTests extends QuickstartTests |
| | | { |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Quickstart Setup |
| | | #@TestName Quickstart Setup 1 |
| | | #@TestID Quickstart Add 1 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls checklogdir.sh on unix systems |
| | | and checklogdir.bat on Windows systems |
| | | with the java Runtime method, exec(). |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * To make the directory for the OpenDS output that will be generated |
| | | * during the rest of the Integration Tests. |
| | |
| | | compareExitCode(0, 0); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Quickstart Setup |
| | | #@TestName Quickstart Setup 2 |
| | | #@TestID Quickstart Add 2 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * To add "dc=example,dc=com" and several entries under that dn. |
| | | * |
| | |
| | | import org.opends.server.tools.*; |
| | | import java.io.*; |
| | | |
| | | /* |
| | | Place suite-specific test information here. |
| | | #@TestSuiteName Schema RFC Tests |
| | | #@TestSuitePurpose Perform rfc-specific schema tests |
| | | #@TestSuiteID Schema RFC tests |
| | | #@TestSuiteGroup Schema |
| | | #@TestGroup Schema |
| | | #@TestScript SchemaRFCTests.java |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Schema RFC tests. |
| | | */ |
| | | @Test |
| | | public class SchemaRFCTests extends SchemaTests |
| | | { |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 1 |
| | | #@TestID Schema RFC Test 1 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry that has a |
| | | labeledURI attribute. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by rfc 2079. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 2 |
| | | #@TestID Schema RFC Test 2 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry that uses |
| | | dcObject objectclass. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by rfc 2247. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 3 |
| | | #@TestID Schema RFC Test 3 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry that uses |
| | | domain objectclass. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by rfc 2247. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 4 |
| | | #@TestID Schema RFC Test 4 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry that uses |
| | | dcObject objectclass, but has no structural |
| | | objectclass which is required. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 65 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by rfc 2247. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 5 |
| | | #@TestID Schema RFC Test 5 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry that uses |
| | | dcObject objectclass, but lacks required attributes. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 65 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by rfc 2247. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 6 |
| | | #@TestID Schema RFC Test 6 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry that uses |
| | | dcObject objectclass, but lacks required attributes |
| | | and lacks a required structural objectclass. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 65 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by rfc 2247. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 7 |
| | | #@TestID Schema RFC Test 7 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains entries that use |
| | | uid=, dc=, and cn= in the rdn. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by rfc 2377. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 8 |
| | | #@TestID Schema RFC Test 8 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains entries that use |
| | | inetorgperson objectclass. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by rfc 2798. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 9 |
| | | #@TestID Schema RFC Test 9 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | which modifies the vendorName attribute. |
| | | The user should not be able to modify this attribute. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 53 |
| | | */ |
| | | /** |
| | | * Modify an entry that is covered by rfc 3045. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 10 |
| | | #@TestID Schema RFC Test 10 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | which modifies the vendorVersion attribute. |
| | | The user should not be able to modify this attribute. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 53 |
| | | */ |
| | | /** |
| | | * Modify an entry that is covered by rfc 3045. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 11 |
| | | #@TestID Schema RFC Test 11 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses uddiBusinessEntity objectclass. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by rfc 4403. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 12 |
| | | #@TestID Schema RFC Test 12 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses uddiBusinessService objectclass. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by rfc 4403. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 13 |
| | | #@TestID Schema RFC Test 13 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses uddiBusinessService objectclass |
| | | but violates the DIT structure rule. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 65 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by rfc 4403. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 14 |
| | | #@TestID Schema RFC Test 14 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses uddiContact objectclass. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by rfc 4403. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 15 |
| | | #@TestID Schema RFC Test 15 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses uddiContact objectclass, |
| | | but violates the DIT structure rule. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 65 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by rfc 4403. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 16 |
| | | #@TestID Schema RFC Test 16 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses ipHost and device objectclasses. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by draft-howard-rfc2307bis. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 17 |
| | | #@TestID Schema RFC Test 17 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses ipHost and device objectclasses, |
| | | but required attributes are missing. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 65 |
| | | */ |
| | | /** |
| | | * Add an entry that is violates draft-howard-rfc2307bis. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 18 |
| | | #@TestID Schema RFC Test 18 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses ipHost, device and bootabledevice |
| | | objectclasses. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by draft-howard-rfc2307bis. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 19 |
| | | #@TestID Schema RFC Test 19 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses ipHost and device objectclasses, |
| | | but contains attributes for bootabledevice objectclass. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 65 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by draft-howard-rfc2307bis. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 20 |
| | | #@TestID Schema RFC Test 20 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses untypedobject objectclass. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by draft-furseth-ldap-untypedobject. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 21 |
| | | #@TestID Schema RFC Test 21 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses changeLogEntry objectclass. The |
| | | change type for the log is add. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by draft-good-ldap-changelog. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 22 |
| | | #@TestID Schema RFC Test 22 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses changeLogEntry objectclass. The |
| | | change type for the log is delete. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by draft-good-ldap-changelog. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 23 |
| | | #@TestID Schema RFC Test 23 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses changeLogEntry objectclass. The |
| | | change type for the log is modify. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by draft-good-ldap-changelog. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 24 |
| | | #@TestID Schema RFC Test 24 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses namedObject objectclass. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by draft-howard-namedobject. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 25 |
| | | #@TestID Schema RFC Test 25 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses namedObject objectclass, |
| | | and contains other optional attributes. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by draft-howard-namedobject. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 26 |
| | | #@TestID Schema RFC Test 26 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses ldapSubEntry objectclass. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by draft-ietf-ldup-subentry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 27 |
| | | #@TestID Schema RFC Test 27 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses ldapSubEntry and posixGroup objectclasses. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by draft-ietf-ldup-subentry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 28 |
| | | #@TestID Schema RFC Test 28 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry |
| | | that uses ldapSubEntry and posixGroup objectclasses, |
| | | but contains an attribute defined as NO_USER_MODIFICATION. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 53 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by draft-ietf-ldup-subentry. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 29 |
| | | #@TestID Schema RFC Test 29 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Disable schema checking. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 30 |
| | | #@TestID Schema RFC Test 30 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Enable schema checking. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 31 |
| | | #@TestID Schema RFC Test 31 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Disable syntax checking. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 32 |
| | | #@TestID Schema RFC Test 32 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Enable syntax checking. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 33 |
| | | #@TestID Schema RFC Test 33 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry that uses document |
| | | objectclass. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by draft-ietf-zeilenga-ldap-cosine. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 34 |
| | | #@TestID Schema RFC Test 34 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry that uses document |
| | | objectclass, and contains additional optional |
| | | attributes. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by draft-ietf-zeilenga-ldap-cosine. |
| | | * |
| | |
| | | compareExitCode(retCode, expCode); |
| | | } |
| | | |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, must be present and must be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema RFC Tests |
| | | #@TestName Schema RFC Test 35 |
| | | #@TestID Schema RFC Test 35 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | The ldif file contains an entry that uses document |
| | | objectclass, but is missing required attributes. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 65 |
| | | */ |
| | | /** |
| | | * Add an entry that is covered by draft-ietf-zeilenga-ldap-cosine. |
| | | * |
| | |
| | | import org.testng.annotations.*; |
| | | import org.opends.server.tools.*; |
| | | |
| | | /* |
| | | Place suite-specific test information here. |
| | | #@TestSuiteName Schema Setup |
| | | #@TestSuitePurpose Setup methods for the Schema test suites |
| | | #@TestSuiteID Setup |
| | | #@TestSuiteGroup Schema |
| | | #@TestGroup Schema |
| | | #@TestScript SchemaStartupTests.java |
| | | #@TestHTMLLink |
| | | */ |
| | | /** |
| | | * This class contains the TestNG tests for the Schema startup. |
| | | */ |
| | | @Test |
| | | public class SchemaStartupTests extends SchemaTests |
| | | { |
| | | /* |
| | | Place test-specific test information here. |
| | | The tag, TestMarker, be the same as the marker, TestSuiteName. |
| | | #@TestMarker Schema Setup |
| | | #@TestName Schema Setup 1 |
| | | #@TestID SchemaStartup1 |
| | | #@TestPreamble |
| | | #@TestSteps Client calls static method LDAPModify.mainModify() |
| | | with the filename to the appropriate ldif file. |
| | | #@TestPostamble |
| | | #@TestResult Success if OpenDS returns 0 |
| | | */ |
| | | /** |
| | | * Add entries that are required for the Schema Tests. |
| | | * |