Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 216080 - URL test type does not support encrypted datapools.
Summary: URL test type does not support encrypted datapools.
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Paul Slauenwhite CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 202695
Blocks:
  Show dependency tree
 
Reported: 2008-01-22 01:48 EST by Xin Ying Huang CLA
Modified: 2016-05-05 10:30 EDT (History)
5 users (show)

See Also:
dmorris: review+


Attachments
Patch. (14.24 KB, patch)
2008-05-06 16:47 EDT, Paul Slauenwhite CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xin Ying Huang CLA 2008-01-22 01:48:55 EST
In tptp45 ,it's proposed to support encrypted datapool variable functions in
order to protect confidential informations when running test suites/cases which
use datapool variables.

  To support this function in URL test suites/cases , developer
should implement extension point of launchconfigDatapoolHandler in plugin
org.eclipse.hyades.test.core .

  Detail information about steps how to implement this point ,pls refer
documenatation in schema of this extension point .  there are already has an
extension implementation named JUnitLaunchconfigDatapoolHandler in plugin
org.eclipse.hyades.test.core .

  This defect is depends on defect 202695 :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=202695
Comment 1 Paul Slauenwhite CLA 2008-04-22 08:30:13 EDT
Requires a test case added to /org.eclipse.hyades.test.ui.datapool.tests/manual/datapool/Test.UI.EncryptedDatapool_editing.testsuite for the URL test type.
Comment 2 Paul Slauenwhite CLA 2008-04-22 12:14:29 EDT
(In reply to comment #1)
> Requires a test case added to
> /org.eclipse.hyades.test.ui.datapool.tests/manual/datapool/Test.UI.EncryptedDatapool_editing.testsuite
> for the URL test type.
> 

These manual tests have been automated.  See:

/org.eclipse.hyades.test.ui.datapool.tests/junit/datapool/Test.UI.DatapoolEditor_running.testsuite
/org.eclipse.hyades.test.ui.datapool.tests/junit/datapool/Test.UI.EncryptedDatapoolEditor_running.testsuite
Comment 3 Paul Slauenwhite CLA 2008-05-06 16:05:41 EDT
In addition, the URL test type (org.eclipse.hyades.test.http.junit.testSuite) must be added to the implementation of the org.eclipse.hyades.test.core.launchDatapoolCheckPass extension point in the org.eclipse.hyades.test.ui plug-in.
Comment 4 Paul Slauenwhite CLA 2008-05-06 16:47:39 EDT
Hours worked to create/test patch.  

This patch resolves several small issues with the extension point (launchconfigDatapoolHandler and launchDatapoolCheckPass) documentation and implementations.

Also, a new test suite was added to test URL Tests using both encrypted and plain datapools:

/org.eclipse.hyades.test.ui.datapool.tests/manual/datapool/Test.UI.Datapool_Running.testsuite
Comment 5 Paul Slauenwhite CLA 2008-05-06 16:47:59 EDT
Created attachment 98949 [details]
Patch.
Comment 6 Paul Slauenwhite CLA 2008-05-09 06:00:26 EDT
Duwayne, please review this morning so we can request PMC approval to integrate in I8.
Comment 7 Paul Slauenwhite CLA 2008-05-09 14:09:01 EDT
Patch checked into CVS (HEAD).
Comment 8 Xin Ying Huang CLA 2008-05-19 03:21:29 EDT
closed