Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Enconding of SuperContext files
Enconding of SuperContext files [message #1802084] Thu, 31 January 2019 22:42 Go to next message
Agustin Celentano is currently offline Agustin CelentanoFriend
Messages: 51
Registered: June 2015
Member
Hi,

I would like to ask about the encoding used in supercontext files. We are trying to create them dinamically but we are not quite sure how to manually create them. Is it possible?

Thanks in advance.

Agustin.
Re: Enconding of SuperContext files [message #1802099 is a reply to message #1802084] Fri, 01 February 2019 06:47 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello,

Could you please explain this issue in more details?
Have you read documentation about supercontexts?
Please let me know if you have any questions on it.


Yours sincerely,
Olga.
Re: Enconding of SuperContext files [message #1802116 is a reply to message #1802099] Fri, 01 February 2019 12:21 Go to previous messageGo to next message
Agustin Celentano is currently offline Agustin CelentanoFriend
Messages: 51
Registered: June 2015
Member
Sure,

We are building an dynamic tests. So, our use case is to create context according the amount of files we have in a repository. We can do that because the format of a context file does not contain any encoding there. In order to be able to run those contexts, they need to be in a superContext. So, When trying to create superContext file (no from UI), by scripting it, we don't the enconding of it. I put an example here:

--- RCPTT testcase ---
Format-Version: 1.0
Context-Type: org.eclipse.rcptt.ctx.super
Element-Name: SCBeansTest
Element-Type: context
Element-Version: 2.0
Id: _yZ3Q0GqSEeS-YJqAvG6VGQ
Runtime-Version: 2.3.0.201806262310
Save-Time: 01/01/01 01:01 AM

------=_.q7.content-3d2e0690-ce48-3609-83e0-c704d49f1eaf
Content-Type: q7/binary
Entry-Name: .q7.content

UEsDBBQACAgIAAAAIQAAAAAAAAAAAAAAAAAIAAkALmNvbnRlbnRVVAUAAQAAAACNkV1rwjAUhu8H+w/h
3Ju4CWOUVnEyyoQxXMXN3ZSSHttA82ESbf33ixv1pgjenjzvcz4SzzrZkCNaJ7RK4IGOgaDiuhSqSuDg
d6NnmE3v72JtK4q8EcYhtdx4Tx1HVViho+xg0C608th50kkRXXSPZ11ooFwU6gnU3puIsbZtqZYVDU72
/f7WI9dbXJL98zn5hzCpS2xYD4a8tghEFRITyBYvWCi3RueBiDKB/PQzWY3TffaK2Wi73M+P6dMmXQHh
tWjK9cmE0HAK7jtqChuUPiwG4RqExPx/30/coQ0HQzfNZb6s5wN5zIboNcOHLSbbr9sMMbvxSwL7C1BL
BwhAdpMS+wAAAOYBAABQSwECFAAUAAgICAAAACEAQHaTEvsAAADmAQAACAAJAAAAAAAAAAAAAAAAAAAA
LmNvbnRlbnRVVAUAAQAAAABQSwUGAAAAAAEAAQA/AAAAOgEAAAAA
------=_.q7.content-3d2e0690-ce48-3609-83e0-c704d49f1eaf--


Makes sense? Is possible to "decode" that part in order to check how it is created?

Thanks in advance

Re: Enconding of SuperContext files [message #1802241 is a reply to message #1802116] Tue, 05 February 2019 04:37 Go to previous messageGo to next message
Vasili Gulevich is currently offline Vasili GulevichFriend
Messages: 28
Registered: July 2009
Junior Member
We do not yet support external generation of contexts. Most of encoded data is stored as a ZIP-archive encoded in base64. To check if you have a properly formed context, open it in IDE and check Error Log and Problem view.

Re: Enconding of SuperContext files [message #1802304 is a reply to message #1802116] Wed, 06 February 2019 07:04 Go to previous message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello,

As Vasiliy said, RCPTT doesn't support external generation of contexts.

We could discuss implementation of this feature in our paid support channel.
You can find all information here



Yours sincerely,
Olga.
Previous Topic:How to press 2 buttons at the same time
Next Topic:NPE in SWTUIPlayer.selectMenu (Using RCPTT nightly) (Resolved)
Goto Forum:
  


Current Time: Wed Feb 21 17:58:54 GMT 2024

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

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

Back to the top