Bug 17925 - [PATCH] HSSFAssert Class
Summary: [PATCH] HSSFAssert Class
Status: RESOLVED INVALID
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-dev
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-12 16:47 UTC by Nick Chalko
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
HSSFAssert class. (10.00 KB, patch)
2003-03-12 16:48 UTC, Nick Chalko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Chalko 2003-03-12 16:47:45 UTC
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.
Comment 1 Nick Chalko 2003-03-12 16:48:36 UTC
Created attachment 5290 [details]
HSSFAssert class.
Comment 2 Andy Oliver 2003-04-11 02:49:19 UTC
Nick, can you put this in a directory preserving zip relative to jakarta-poi? 
It wasn't clear to me WHERE this should go...  My gut says in "contrib" but I
trust your judgement.  As soon as I gather that I'll commit this.  sorry it took
so long.
Comment 3 Andy Oliver 2003-07-24 15:57:01 UTC
information asked for but not provided.
Comment 4 Nick Chalko 2003-07-24 16:14:21 UTC
Sorry, I missed the request.  
I will resubmit.