Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Custom Contexts
Custom Contexts [message #1708099] Sun, 13 September 2015 05:20 Go to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi,

To test my framework's UI it seems necessary to create a custom context that properly initializes the state of my views.
Is that reasonable? Is there any documentation on this?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: Custom Contexts [message #1708115 is a reply to message #1708099] Mon, 14 September 2015 01:14 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Eike,

Can you initialize your views using UI?
If yes you could create ECL Script Context which has view initialization.

What king of properly initialization your AUT has? Could you please give more details?

Kind regards,
Ulyana.
Re: Custom Contexts [message #1708124 is a reply to message #1708115] Mon, 14 September 2015 05:56 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Ulyana,<br>
<br>
Thank you for your quick reply. My UI consists of a custom view part
that displays configured "repository connections" and of a CNF
contribution that displays "checkouts" from those repositories:<br>
<br>
<img src="https://www.eclipse.org/forums/index.php?t=getfile&amp;id=23248" alt=""><br>
<br>
When a repository connection is deleted, all existing checkouts from
this repository are also deleted (after an extra confirmation
dialog). So that's kind of the initialization procedure I'd have in
mind. But there's no "Delete all repositories" action anywhere.<br>
<br>
Cheers<br>
/Eike<br>
<br>
----<br>
<a class="moz-txt-link-freetext" href="http://www.esc-net.de">http://www.esc-net.de</a><br>
<a class="moz-txt-link-freetext" href="http://thegordian.blogspot.com">http://thegordian.blogspot.com</a><br>
<a class="moz-txt-link-freetext" href="http://twitter.com/eikestepper">http://twitter.com/eikestepper</a><br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Am 14.09.2015 um 03:14 schrieb Ulyana
Skorokhodova:<br>
</div>
<blockquote cite="mid:mt572a$o0b$1@xxxxxxxxe.org" type="cite">Hi
Eike,
<br>
<br>
Can you initialize your views using UI? If yes you could create
ECL Script Context which has view initialization. <br>
What king of properly initialization your AUT has?  Could you
please give more details? <br>
Kind regards,
<br>
Ulyana. </blockquote>
<br>
</body>
</html>
  • Attachment: jacidccf.png
    (Size: 24.85KB, Downloaded 69 times)


Re: Custom Contexts [message #1709235 is a reply to message #1708124] Fri, 25 September 2015 07:36 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Eike,

You probably need to create a ECL Script context and do deletion foreach repository connection. You can create a ECL procedure to do it.

Please share your thoughts.

Kind regards,
Ulyana.
Re: Custom Contexts [message #1709245 is a reply to message #1709235] Fri, 25 September 2015 08:33 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Ulyana,

Thanks for your help. I'll go on vacation tomorrow, but I'll report my experiences of playing with ECL scripts when I'm
back.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Am 25.09.2015 um 09:36 schrieb Ulyana Skorokhodova:
> Hi Eike,
>
> You probably need to create a ECL Script context and do deletion foreach repository connection. You can create a ECL
> procedure to do it.
> Please share your thoughts.
> Kind regards,
> Ulyana.


Re: Custom Contexts [message #1709515 is a reply to message #1709245] Tue, 29 September 2015 06:40 Go to previous message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Eike,

Sure, have a nice vacation.

Kind regards,
Ulyana.
Previous Topic:Memory Settings for AUT VM
Next Topic:Possible to implement a search in the assertions window?
Goto Forum:
  


Current Time: Fri Apr 19 21:50:19 GMT 2024

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

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

Back to the top