You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Avik Sengupta <av...@apache.org> on 2003/07/28 10:24:59 UTC
Re: [ATTN:Rainer] Re: cvs commit:
jakarta-poi/src/testcases/org/apache/poi/hpsf/data TestCorel.shw
Some problem with junit... i am using 3.8.1, so i glen, i think. This is
with a clean compile cycle.
compile-main:
[javac] Compiling 308 source files to
/home/aviks/projects/jakarta-poi/build/classes
[javac] Compiling 132 source files to
/home/aviks/projects/jakarta-poi/build/test-classes
[javac]
/home/aviks/projects/jakarta-poi/src/testcases/org/apache/poi/hpsf/basic/TestEmptyProperties.java:148: cannot resolve symbol
[javac] symbol : method assertEquals (int)
[javac] location: class
org.apache.poi.hpsf.basic.TestEmptyProperties
[javac] assertEquals(s.getPageCount());
[javac] ^
[javac]
/home/aviks/projects/jakarta-poi/src/testcases/org/apache/poi/hpsf/basic/TestEmptyProperties.java:149: cannot resolve symbol
[javac] symbol : method assertNull (int)
[javac] location: class
org.apache.poi.hpsf.basic.TestEmptyProperties
[javac] assertNull(s.getWordCount());
[javac] ^
[javac]
/home/aviks/projects/jakarta-poi/src/testcases/org/apache/poi/hpsf/basic/TestEmptyProperties.java:150: cannot resolve symbol
[javac] symbol : method assertNull (int)
[javac] location: class
org.apache.poi.hpsf.basic.TestEmptyProperties
[javac] assertNull(s.getCharCount());
[javac] ^
[javac] Note:
/home/aviks/projects/jakarta-poi/src/testcases/org/apache/poi/hssf/record/TestRecordFactory.java uses or overrides a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 3 errors
On Mon, 2003-07-28 at 13:13, rainer.klute@gmx.de wrote:
> > This stuff does not compile. I've been asked to create a build so please
> > revert or fix this ASAP.
>
> Glen,
>
> it compiles and runs fine for me. Otherwise I wouldn't have committed it.
> Please send the error messages so I can see what went wrong! Thanks!
>
> Best regards
> Rainer Klute
--
Avik Sengupta <av...@apache.org>
Re: [ATTN:Rainer] Re: cvs commit: jakarta-poi/src/testcases/org/apache/poi/hpsf/data TestCorel.shw
Posted by ra...@gmx.de.
> I have made the required changes, so the code compiles now, however,
> testEmptyProperties fails as follows.. which also needs fixing, since i
> dont think we should do a release with failing testcases. Maybe it would
> help if you compared the commit mails for your commits to HEAD and
> BRANCH.
Thanks for the hint. I'll iron that out tonight.
Best regards
Rainer Klute
--
RAINER KLUTE IT-CONSULTING GMBH
Dipl.-Inform.
Rainer Klute klute@rainer-klute.de
Körner Grund 24 Telefon: +49 172 2324824
D-44143 Dortmund Telefax: +49 231 5349423
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!
Re: [ATTN:Rainer] Re: cvs
commit: jakarta-poi/src/testcases/org/apache/poi/hpsf/data TestCorel.shw
Posted by Avik Sengupta <av...@apache.org>.
I have made the required changes, so the code compiles now, however,
testEmptyProperties fails as follows.. which also needs fixing, since i
dont think we should do a release with failing testcases. Maybe it would
help if you compared the commit mails for your commits to HEAD and
BRANCH.
single-test:
[junit] Testsuite: org.apache.poi.hpsf.basic.TestEmptyProperties
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.252
sec
[junit] Testcase: testReadFiles took 0.116 sec
[junit] FAILED
[junit] expected:<PerfectOffice_MAIN> but was:<SlideShow>
[junit] junit.framework.ComparisonFailure:
expected:<PerfectOffice_MAIN> but was:<SlideShow>
On Mon, 2003-07-28 at 14:43, rainer.klute@gmx.de wrote:
> > Some problem with junit... i am using 3.8.1, so i glen, i think. This is
> > with a clean compile cycle.
>
> Oops, probably something went wrong with my tries to commit the source code
> to the HEAD and the REL_2.0_BRANCH. The three method calls which are in error
> do not represent not the latest working state. I wonder if both attempts
> went wrong or whether its correct in one of the branches.
>
> Since I am behind a firewall during the working day I cannot fix it right
> now. If you are desperately needing compilable code, replace the three faulty
> method calls by the following:
>
> assertEquals(s.getPageCount(), 0);
> assertEquals(s.getWordCount(), 0);
> assertEquals(s.getCharCount(), 0);
>
> Best regards
> Rainer Klute
--
Avik Sengupta <av...@apache.org>
Re: [ATTN:Rainer] Re: cvs commit: jakarta-poi/src/testcases/org/apache/poi/hpsf/data TestCorel.shw
Posted by ra...@gmx.de.
> Some problem with junit... i am using 3.8.1, so i glen, i think. This is
> with a clean compile cycle.
Oops, probably something went wrong with my tries to commit the source code
to the HEAD and the REL_2.0_BRANCH. The three method calls which are in error
do not represent not the latest working state. I wonder if both attempts
went wrong or whether its correct in one of the branches.
Since I am behind a firewall during the working day I cannot fix it right
now. If you are desperately needing compilable code, replace the three faulty
method calls by the following:
assertEquals(s.getPageCount(), 0);
assertEquals(s.getWordCount(), 0);
assertEquals(s.getCharCount(), 0);
Best regards
Rainer Klute
--
RAINER KLUTE IT-CONSULTING GMBH
Dipl.-Inform.
Rainer Klute klute@rainer-klute.de
Körner Grund 24 Telefon: +49 172 2324824
D-44143 Dortmund Telefax: +49 231 5349423
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!