Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[hyades-dev] Hyades UI meeting agenda


Time:

Wednesday, Sept. 15, 12:00pm (noon) EST.

Agenda:

Discuss a change proposed by Jonathan to the test navigator code, relating to whether the navigator should show the name of the test suite, or the name of the file containing the test suite. There was also an issue with one of the test navigator extensibility mechanisms being removed. Here was the original proposed fix:

        // ORIGINAL
        public String getText(Object element)
        {
                if (element instanceof TPFTestSuite) {
                        TPFTestSuite ts = (TPFTestSuite) element;
                       
                        IHyadesTestNavigatorProvider provider = typeProvidersFactory.getProvider(ts.getType());
                        if (provider != null)
                                return provider.getText(ts);
                       
                        //- Default Hyades behavior
                        return ts.getName();
                }
               
                return ""; //$NON-NLS-1$
        }

        // NEW
        public String getText(Object element)
        {
                if(element instanceof EObject) {
                        IFile file = EMFUtil.getWorkspaceFile((EObject)element);
                        return file.getName();
                }                        
               
                return ""; //$NON-NLS-1$
        }
 

Conference ID:                                      6018928
Local Dial-in number:                               416-343-2604
Toll-free Dial-in number:                           1 866-576-2504
International Toll-free Dial-in number:             800-4444-3030

Thanks,
Curtis d'Entremont
Problem Determination Tools
IBM Toronto Lab

Phone: (905) 413-5754
E-Mail: curtispd@xxxxxxxxxx


Back to the top