Community
Participate
Working Groups
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 Junit plug-in 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 a 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
Requires a test case added to /org.eclipse.hyades.test.ui.datapool.tests/manual/datapool/Test.UI.EncryptedDatapool_editing.testsuite for the JUnit Plug-in test type.
(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 JUnit Plug-in 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
Implementations of the org.eclipse.hyades.test.core.launchDatapoolCheckPass and org.eclipse.hyades.test.core.launchconfigDatapoolHandler extension points for the JUnit Plug-in test type (org.eclipse.hyades.test.plugin.junit.testSuite) must be added to the org.eclipse.tptp.test.tools.junit.plugin plug-in.
Hours worked to create/test patch. Also, new test suites were added to test JUnit Plug-in Tests using both encrypted and plain datapools: /org.eclipse.hyades.test.ui.datapool.tests/junit_plugin/datapool/Test.UI.Datapool_Running.testsuite /org.eclipse.hyades.test.ui.datapool.tests/junit_plugin/datapool/Test.UI.EncryptedDatapool_Running.testsuite
Created attachment 99347 [details] Patch.
Duwayne, please review this morning so we can request PMC approval to integrate in I8.
Patch checked into CVS (HEAD).
Created attachment 100371 [details] workspace I used to verify this defect I have tried both projects of datapoolPlugin and org.eclipse.hyades.test.ui.datapool.tests\junit_plugin\AllTests.testsuite ,but both are met errors : java.lang.RuntimeException: org.eclipse.hyades.internal.execution.local.control.InactiveProcessException at org.eclipse.hyades.execution.harness.TestExecutionHarnessExecutorStub.handleException(TestExecutionHarnessExecutorStub.java:346) at org.eclipse.hyades.execution.harness.TestExecutionHarnessExecutorStub.launch(TestExecutionHarnessExecutorStub.java:433) at org.eclipse.hyades.execution.harness.TestExecutionHarness.launchTestExecution(TestExecutionHarness.java:2076) at org.eclipse.hyades.execution.harness.TestExecutionHarness.access$1(TestExecutionHarness.java:1808) at org.eclipse.hyades.execution.harness.TestExecutionHarness$2.run(TestExecutionHarness.java:728) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: org.eclipse.hyades.internal.execution.local.control.InactiveProcessException at org.eclipse.hyades.execution.harness.TestExecutionHarnessExecutorStub.launch(TestExecutionHarnessExecutorStub.java:421) ... 4 more For more error info ,pls refer .log file of this workspace and try to run Junit Plugin testsuites under my workspace again
(In reply to comment #8) > Created an attachment (id=100371) [details] > workspace I used to verify this defect > > I have tried both projects of datapoolPlugin and > org.eclipse.hyades.test.ui.datapool.tests\junit_plugin\AllTests.testsuite ,but > both are met errors : > > java.lang.RuntimeException: > org.eclipse.hyades.internal.execution.local.control.InactiveProcessException > at > org.eclipse.hyades.execution.harness.TestExecutionHarnessExecutorStub.handleException(TestExecutionHarnessExecutorStub.java:346) > at > org.eclipse.hyades.execution.harness.TestExecutionHarnessExecutorStub.launch(TestExecutionHarnessExecutorStub.java:433) > at > org.eclipse.hyades.execution.harness.TestExecutionHarness.launchTestExecution(TestExecutionHarness.java:2076) > at > org.eclipse.hyades.execution.harness.TestExecutionHarness.access$1(TestExecutionHarness.java:1808) > at > org.eclipse.hyades.execution.harness.TestExecutionHarness$2.run(TestExecutionHarness.java:728) > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) > Caused by: > org.eclipse.hyades.internal.execution.local.control.InactiveProcessException > at > org.eclipse.hyades.execution.harness.TestExecutionHarnessExecutorStub.launch(TestExecutionHarnessExecutorStub.java:421) > ... 4 more > > > > For more error info ,pls refer .log file of this workspace and try to run > Junit Plugin testsuites under my workspace again Using the TPTP-4.5.0-200805150100 build, this is working as designed. Please try running /org.eclipse.hyades.test.ui.datapool.tests/junit_plugin/datapool/Test.UI.EncryptedDatapool_Running.testsuite and note the instrucitons in the description of the test suite.
Closed