Skip to main content

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

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

 


Back to the top