Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Re: JUnit failures


hi Markus,

sorry, thats not what is intended - now fixed.

thanks,
Andrew

"Schorn, Markus" <Markus.Schorn@xxxxxxxxxxxxx> wrote on 14/05/2008 10:13:39:

> Hi Andrew,

> I get 4 JUnit failures, because the expected error in these
> testcases is logged twice. I am not sure whether it is ok to just
> expect the two failures, rather than the one or not. Can you have a look?

>  
> Markus.
>  
> The affected testcases:
> GeneratePDOMApplicationTest.testBrokenExportProjectProvider1
> GeneratePDOMApplicationTest.testBrokenExportProjectProvider2
> GeneratePDOMApplicationTest.testExternalExportProjectProvider_BadCmdLine1
> GeneratePDOMApplicationTest.testExternalExportProjectProvider_BadCmdLine2
>  
> For example:
> core - suite
> org.eclipse.cdt.core.suite.AutomatedIntegrationSuite
> org.eclipse.cdt.internal.pdom.tests.PDOMTests
> org.eclipse.cdt.internal.pdom.tests.GeneratePDOMApplicationTest
> testBrokenExportProjectProvider1(org.eclipse.cdt.internal.pdom.
> tests.GeneratePDOMApplicationTest)
> junit.framework.AssertionFailedError: Expected number (1) of non-OK
> status objects differs from actual (2).
>  IExportProjectProvider implementation of createProject() returned
> null (org.eclipse.cdt.internal.pdom.tests.
> GeneratePDOMApplicationTest$TestProjectProvider1)
>  Error IExportProjectProvider implementation of createProject()
> returned null (org.eclipse.cdt.internal.pdom.tests.
> GeneratePDOMApplicationTest$TestProjectProvider1)

>  
>  
>  
**********************************************************************
Symbian Software Ltd is a company registered in England and Wales with registered number 4190020 and registered office at 2-6 Boundary Row, Southwark, London, SE1 8HP, UK. This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee you should not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify postmaster@xxxxxxxxxxx and delete the message and any attachments accompanying it immediately. Neither Symbian nor any of its Affiliates accepts liability for any corruption, interception, amendment, tampering or viruses occurring to this message in transit or for any message sent by its employees which is not in compliance with Symbian corporate policy.
**********************************************************************


Back to the top