Re: [linuxtools-dev] Running TMF unit tests

2010-12-01 Thread Francois Chouinard
2010/12/1 Francis Giraldeau > > Thanks, hat was the problem. There is also a test.xml file in the project's > directory, seems there to run tests with ant. I tried to run it, but it > seems to require some setup for the eclipse-home and library.xml > directories... > > The Eclipse Linux Tools bui

Re: [linuxtools-dev] Running TMF unit tests

2010-12-01 Thread Francis Giraldeau
Francois Chouinard a écrit : Hi, How are you executing the test? You would get NullPointerException if you try to run it as a "JUnit Test" instead of "JUnit Plug-in Test". Thanks, hat was the problem. There is also a test.xml file in the project's directory, seems there to run tests with a

Re: [linuxtools-dev] Running TMF unit tests

2010-11-30 Thread Francois Chouinard
Hi, How are you executing the test? You would get NullPointerException if you try to run it as a "JUnit Test" instead of "JUnit Plug-in Test". If you want to run the test individually: 1. Right-click on the TmfTraceTest.java in the Package Explorer 2. Select "Run As > JUnit Plug-in Test" If you

[linuxtools-dev] Running TMF unit tests

2010-11-30 Thread Francis Giraldeau
Hi, I just imported the tmf projects into eclipse and I'm having trouble to run tmf unit tests. For example, when trying to run TmfTraceTest with junit within eclipse, I got java.lang.NullPointerException, throwned by the FileLocator because the bundle returned by TmfCoreTestPlugin is nul