-
1. Re: Eclipse Tooling - Generating Test
rcernich Dec 6, 2011 10:27 AM (in response to mageshbk)Hey Magesh,
Is there anything in the Eclipse error log? I've been using this for a while now with Eclipse 3.7 and haven't seen any issues like the one you're describing. I've even been able to create a test class in a project that is not a SY project.
If you could provide more information, or some some steps to recreate, that would certainly help.
Best,
Rob
-
2. Re: Eclipse Tooling - Generating Test
mageshbk Dec 7, 2011 4:38 AM (in response to rcernich)Here is what I did.
1. Upgraded my 3.6.0 Eclipse's m2eclipse to 1.0.100.xxx as per the docs.
2. Created new SwitchYard 0.3.0.Final project.
3. Created a new Java Interface called ExampleService with one method
String sayHello(String name);
4. Selecting this Interface created a new Bean Service
5. Selecting the same Interface trying to create a Service Test shows warning
com.example.switchyard.switchyard_example.ExampleService is not used as a SwitchYard service.
6. Clicking Finish generates an empty ExampleServiceTest file.
-
3. Re: Eclipse Tooling - Generating Test
rcernich Dec 19, 2011 11:49 AM (in response to mageshbk)Hey Magesh,
Sorry for taking so long to get to this.
I'm in the process of tracking this down. It looks like this is an issue when running the SY tools in Eclipse 3.6. I'll let you know what I find.
Best,
Rob
-
4. Re: Eclipse Tooling - Generating Test
rcernich Dec 19, 2011 12:03 PM (in response to rcernich)Hey Magesh,
I've confirmed that this is an issue when using SY tools on top of Eclipse 3.6. (I should have tested this, as opposed to assuming it would work.) I should have a fix committed shortly. Here's the JIRA: https://issues.jboss.org/browse/SWITCHYARD-593
Best,
Rob
-
5. Re: Eclipse Tooling - Generating Test
rcernich Dec 19, 2011 12:36 PM (in response to rcernich)Hey Magesh,
I've committed a fix for this. Once the pull is processed, the new Service Test wizard should work in 3.6, just as it works in 3.7.
Sorry, er, thanks for testing this out.
Best,
Rob