| | |
| | | #@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. |