From: Dave B. <bla...@us...> - 2011-09-08 11:32:27
|
Update of /cvsroot/sblim/jsr48-client/src/org/sblim/cimclient/doc-files In directory vz-cvs-3.sog:/tmp/cvs-serv13736/src/org/sblim/cimclient/doc-files Modified Files: unittest.html Log Message: 3397922 - support OctetString Index: unittest.html =================================================================== RCS file: /cvsroot/sblim/jsr48-client/src/org/sblim/cimclient/doc-files/unittest.html,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- unittest.html 31 May 2011 14:06:48 -0000 1.12 +++ unittest.html 8 Sep 2011 11:32:24 -0000 1.13 @@ -24,13 +24,14 @@ * 2990370 2010-04-22 blaschke-oss Development/unittest HTML out of date * 2994252 2010-04-30 blaschke-oss CIMDateTimeInterval.getTotalMilliseconds() not unit tested * 3293248 2011-05-03 blaschke-oss Support for CIM_ERROR instances within ERROR + * 3397922 2011-08-30 blaschke-oss support OctetString --> </head> <body style="background-color: white;"> <h1>Unit Test Coverage</h1> - <p>The SBLIM CIM Client for Java ships with a large collection of around 150 + <p>The SBLIM CIM Client for Java ships with a large collection of around 160 unit tests. Whenever you the "all" target is build with ant the complete unit test suite will be executed. This document describes what is covered by these tests.</p> @@ -414,7 +415,33 @@ codes and description are correctly set in the exception.</td></tr> </table> - +<h3>cim.CIMOctetStringTest</h3> + <table border="1" cellpadding="5" cellspacing="0" width="100%"> + <tr><td>testByteConstructorGood</td> + <td>Tests valid invocations of the CIMOctetString(UnsignedInteger8[]) + constructor by examining return values from getASCIIString() and + getHexString().</td></tr> + <tr><td>testHexConstructorGood</td> + <td>Tests valid invocations of the CIMOctetString(String, true) + constructor by examining return values from getASCIIString() and + getBytes().</td></tr> + <tr><td>testAsciiConstructorGood</td> + <td>Tests valid invocations of the CIMOctetString(String, false) + constructor by examining return values from getHexString() and + getBytes().</td></tr> + <tr><td>testByteConstructorBad</td> + <td>Tests invalid invocations of the CIMOctetString(UnsignedInteger8[]) + constructor by expecting IllegalArgumentExceptions.</td></tr> + <tr><td>testHexConstructorBad</td> + <td>Tests invalid invocations of the CIMOctetString(String, true) + constructor by expecting IllegalArgumentExceptions.</td></tr> + <tr><td>testAsciiConstructorBad</td> + <td>Tests invalid invocations of the CIMOctetString(String, false) + constructor by expecting IllegalArgumentExceptions.</td></tr> + <tr><td>testEquals</td> + <td>Tests valid and invalid invocations of the equals() and hashCode() + methods.</td></tr> + </table> </body> </html> |