Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Fix org.eclipse.mylyn.team.tests.ChangeSetManagerTest #9

Open
ruspl-afed opened this issue Dec 6, 2022 · 0 comments
Open

Fix org.eclipse.mylyn.team.tests.ChangeSetManagerTest #9

ruspl-afed opened this issue Dec 6, 2022 · 0 comments

Comments

@ruspl-afed
Copy link
Contributor

ruspl-afed commented Dec 6, 2022

Currently we have the following failure:

junit.framework.AssertionFailedError: expected:<1> but was:<0>
	at org.eclipse.mylyn.team.tests.ChangeSetManagerTest.testContentsAfterDecay(ChangeSetManagerTest.java:119)

It seems that ContextActiveChangeSetManager#contextActivated is called without active task and activeChangeSet is not filled.
It may be fixed by activating the task prior to InteractionContext activation, but there is an asserion in the test

		assertNull(TasksUiPlugin.getTaskActivityManager().getActiveTask());

that declares the opposite expectation.

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

No branches or pull requests

1 participant