Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » PluginTest runner cannot find test bundle for session test in all but the first session
PluginTest runner cannot find test bundle for session test in all but the first session [message #1234967] Thu, 23 January 2014 08:45 Go to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
Hi,

I'm experimenting with the SessionTestSuite provided in the test harness
plugin. For a vanilla eclipse, it works fine. But with my target
platform something weird happens: The first session test is executed
just fine, but for all subsequent tests, the test runner exits with an
IllegalArgumentException: Cannot find bundle "xyz", where that is the
bundle that contains my tests.

Any ideas on what might be going on?

Thanks,
Felix
Re: PluginTest runner cannot find test bundle for session test in all but the first session [message #1234986 is a reply to message #1234967] Thu, 23 January 2014 09:40 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
On 23/01/2014 09:45, Felix Dorner wrote:
> Any ideas on what might be going on?

This: The first test instance overwrites config.ini and so breaks all
the subsequent tests. I don't know if it's normal that the config is
overwritten.
Re: PluginTest runner cannot find test bundle for session test in all but the first session [message #1235005 is a reply to message #1234986] Thu, 23 January 2014 10:20 Go to previous message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
On 23/01/2014 10:40, Felix Dorner wrote:
> On 23/01/2014 09:45, Felix Dorner wrote:
>> Any ideas on what might be going on?
>
> This: The first test instance overwrites config.ini and so breaks all
> the subsequent tests. I don't know if it's normal that the config is
> overwritten.
>
>
For some obscure reason, the application advisor uses its postshutdown
hook to copy config.ini from the install location over to the
configuration location. Not in any way related to the platform. But
thanks for providing the SessionTestFramework, it's really useful.

Felix
Previous Topic:Status bar icons not working correctly in eclipse 4
Next Topic:Where does the data binding in Properties-View happen?
Goto Forum:
  


Current Time: Fri Mar 29 13:17:50 GMT 2024

Powered by FUDForum. Page generated in 0.03661 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top