You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2003/03/12 17:47:46 UTC

DO NOT REPLY [Bug 17925] New: - [PATCH] HSSFAssert Class

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17925>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17925

[PATCH] HSSFAssert  Class

           Summary: [PATCH] HSSFAssert  Class
           Product: POI
           Version: 2.0-dev
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: nick@chalko.com


Here is a class with usefull asserts for JUnit testing

Here is a sample usage of the class.

// Already existing "GOOD" file
String expected = "testStatic1.xls";
// Where the orgram will write it
String result = "output/text.xls";
myClass.createQAReportFile(result);
assertSheet1Values(expected, result);
assertSheet1PrintSetup(expected, result); 


I am not now nor have I ever been a party to a Non-Disclosure agreement with the
Microsoft corporation regarding an Office File Format or received information
which you have reason to believe came from an individual party to such an agreement.