Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 176673

Summary: Errors/Failures found in Junit test of org.eclipse.birt.report.engine
Product: z_Archived Reporter: Xiaoying Gu <bluesoldier>
Component: BIRTAssignee: Wei Wang <wwang>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ksunithaghm
Version: 2.2.0   
Target Milestone: 2.2.0 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
unit test report
none
Junit test report of 20070326 none

Description Xiaoying Gu CLA 2007-03-07 23:02:10 EST
Errors/Failures found in Junit test of org.eclipse.birt.report.engine in daily build 20070307.

The build runs from HEAD version.

Please see the attachment for details
Comment 1 Xiaoying Gu CLA 2007-03-07 23:04:16 EST
Created attachment 60411 [details]
unit test report
Comment 2 Wei Wang CLA 2007-03-12 04:00:02 EDT
fix all testcase failures except one which depends on DtE's bug
and the bug url is:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=176963

so fix this one first.
Comment 3 Sunitha Kambhampati CLA 2007-03-15 17:57:06 EDT
I am seeing 4 errors in the AllTests test and am synced up to March15(10amPST) time.   It seems like
--  the dte.DataEngineTest failure is because of the bug you mention,
--  testDateFormat is because of my machine's default timezone.

The other two failures are
org.eclipse.birt.report.engine.layout.pdf.PDFTableGroupLM
org.eclipse.birt.report.engine.layout.pdf.PDFImageLMTest

I wanted to check if you came across these failures, and if you have any suggestions on if there is any setting that maybe needed to run them. 

Appreciate your help.  Thanks.

Details below:

1)test(org.eclipse.birt.report.engine.data.dte.DataEngineTest)
junit.framework.ComparisonFailure: expected:<Murphy[PattersonFirrelliBowJenningsThompsonFirrelliPattersonTsengVanaufBondurBondurHernandezCastilloGerardNishiKatoPattersonFixterMarshKingBottJones]> but was:<Murphy[11Patterson11Firrelli11Bow11Jennings11Thompson11Firrelli22Patterson22Tseng33Vanauf33Bondur44Bondur44Hernandez44Castillo44Gerard44Nishi55Kato55Patterson66Fixter66Marsh66King66Bott77Jones77]>

2)org.eclipse.birt.report.engine.layout.pdf.PDFImageLMTest
testPdfChartLegend(org.eclipse.birt.report.engine.layout.pdf.PDFImageLMTest)
junit.framework.AssertionFailedError: expected:<161589> but was:<162743>

3)org.eclipse.birt.report.engine.layout.pdf.PDFTableGroupLM
warning(junit.framework.TestSuite$1)
junit.framework.AssertionFailedError: Class org.eclipse.birt.report.engine.layout.pdf.PDFTableGroupLM has no public constructor TestCase(String name) or TestCase()

4)testDateFormat(org.eclipse.birt.report.engine.api.ParameterConverterTest) -- this is a timezone issue because my machine is on PST.   
Comment 4 Xiaoying Gu CLA 2007-03-26 01:13:32 EDT
Still has 5 failures in daily build 20070326-0630.

Please see the attachment
Comment 5 Xiaoying Gu CLA 2007-03-26 01:14:21 EDT
Created attachment 61950 [details]
Junit test report of 20070326
Comment 6 Wei Wang CLA 2007-03-29 23:09:24 EDT
fixed.
Comment 7 Xiaoying Gu CLA 2007-03-30 03:10:48 EDT
verified in daily build 20070330

Bug closed.