Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » getDeployment in beforelaunch() function
getDeployment in beforelaunch() function [message #93949] Thu, 22 March 2007 16:11 Go to next message
Eclipse UserFriend
Originally posted by: ddesseignet.axway.com

Hello,

I'm working on a test platform which is based on TPTP. I would like to use
the TPTP Automation Service in order to launch test automatically but an
error occurs with the command line tools (automation-client-adapter.bat).
Indeed, in the
org.eclipse.hyades.test.core.services.AbstractTestExecutionS ervice class,
beforeLaunch() function calls getDeployment() function, if a connection is
specified in the configuration file (for example :
tptp:rac://localhost:8002/default). But this function get a TPTP
deployment and I would like to recover my own deployment (which is an
evolution of a TPTP deployment). I saw that getDeployment() function is
called through
org.eclipse.hyades.test.core.launch.configurations.Deploymen tLaunchConfigurationFacade
class so is it possible for me to put an extension on my project in order
to call my own getDeployment() function ? And in this case, which
extension point is available on TPTP ?

Thanks.

Regards.

Damien.
Re: getDeployment in beforelaunch() function [message #99452 is a reply to message #93949] Wed, 30 May 2007 13:43 Go to previous message
Joe Toomey is currently offline Joe ToomeyFriend
Messages: 79
Registered: July 2009
Member
Hi Damien,

Sorry for the late response.

There is not an extension point to provide custom deployment types to
the test execution service, but there is a straightforward way to
accomplish what you want. The logic of the test execution service is
all implemented in the class
org.eclipse.hyades.test.core.services.AbstractTestExecutionS ervice. You
can easily extend this class with your own execution service, and
override the implementation of the beforeLaunch() method (which is where
the deployment is retrieved.) You can then expose that new service via
the Automatable Services Framework, as described in this tutorial.

http://www.eclipse.org/tptp/test/documents/tutorials/eclipse Con2006/Achieving_Continuous_Integration_with_the_Eclipse_Te st_and_Performance_Tools_Platform.htm


If you have questions about how to expose your own service, please let
us know.

Thanks,
--Joe

Damien wrote:
> Hello,
>
> I'm working on a test platform which is based on TPTP. I would like to
> use the TPTP Automation Service in order to launch test automatically
> but an error occurs with the command line tools
> (automation-client-adapter.bat). Indeed, in the
> org.eclipse.hyades.test.core.services.AbstractTestExecutionS ervice
> class, beforeLaunch() function calls getDeployment() function, if a
> connection is specified in the configuration file (for example :
> tptp:rac://localhost:8002/default). But this function get a TPTP
> deployment and I would like to recover my own deployment (which is an
> evolution of a TPTP deployment). I saw that getDeployment() function is
> called through
> org.eclipse.hyades.test.core.launch.configurations.Deploymen tLaunchConfigurationFacade
> class so is it possible for me to put an extension on my project in
> order to call my own getDeployment() function ? And in this case, which
> extension point is available on TPTP ?
>
> Thanks.
>
> Regards.
>
> Damien.
>
Previous Topic:How to map "Proxy" to the particular class?
Next Topic:<junitreport/> with Eclipse Test Framework?
Goto Forum:
  


Current Time: Wed Sep 25 11:07:41 GMT 2024

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

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

Back to the top