Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No TestSuiteController? #66

Open
aiotcms opened this issue Oct 4, 2021 · 1 comment
Open

No TestSuiteController? #66

aiotcms opened this issue Oct 4, 2021 · 1 comment

Comments

@aiotcms
Copy link

aiotcms commented Oct 4, 2021

Hello,

I was working creating a plugin, which has a TestSuite Integration view. I am saving the settings from the TestSuite Integration view into an Integration object of TestSuite.

My ask is that post execution of the suite, I need to get the data from the Suite integration object, and so I need the TestSuiteEntity object in the EventListenerInitializer implementation.

I am able to get the Suite execution context as below:

ExecutionEvent eventObject = (ExecutionEvent) event.getProperty("org.eclipse.e4.data"); ProjectEntity project = ApplicationManager.getInstance().getProjectManager().getCurrentProject(); TestSuiteExecutionContext testSuiteContext = (TestSuiteExecutionContext) eventObject.getExecutionContext();

However, I am not able to get a handle of the TestSuiteEntity, since the only controllers available are:
ApplicationManager.getInstance().getControllerManager().getController(TestSuiteCollectionController.class);

If a suite is not added to a collection, then the suite doesn't appear in the collection.

Any help will be appreciated.

@aiotcms
Copy link
Author

aiotcms commented Oct 26, 2021

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant