Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] MBS test faiures on build nmachine

The tests on the build machine are done using the
testing feature. One thing to check is to make sure
the icons are part of that feature. In particular,
check the build.properties file for your test plugin
to make sure they are included.

Cheers,
Doug

--- "Treggiari, Leo" <leo.treggiari@xxxxxxxxx> wrote:

> Two MBS tests always fail on the build machine. 
> I've never seen them
> fail on the Linux and Windows machines that I test
> on.  On the build
> machine, they get an NPE on the asLocalURL call. 
> The two icons are part
> of the test project, so I don't know why they are
> not found.  Anyone
> have any ideas?  
> 
>  
> 
> By the way, I'm not suggesting that these 2 test
> failures impact
> releasing CDT 3.0.  This looks like a test or
> testing environment
> problem to me.
> 
>  
> 
> /**
> 
>  * Check, whether icon paths in tool1 - tool3 have
> been created.
> 
>  * Check, whether icon paths in category 2.1 - 3.1
> have been created
> 
>  */
> 
> public void testIcons() throws Exception {
> 
>                                     
> 
>             // Set up the environment
> 
>             if ( testIsSetup == false ) {
> 
>                         setupDefaultProject();
> 
>                         setupTestEnvironment();
> 
>             }
> 
>  
> 
>             // Get path's of icons to compare
> against 
> 
>             CTestPlugin me =
> CTestPlugin.getDefault();
> 
>             URL icon1 = Platform.asLocalURL(
> me.find(new
> Path("icons/one.gif"), null));
> 
>             URL icon2 = Platform.asLocalURL(
> me.find(new
> Path("icons/two.gif"), null));
> 
>  
> 
> Regards,
> 
> Leo
> 
>  
> 
> > _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 



Back to the top