-
Notifications
You must be signed in to change notification settings - Fork 189
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
Migrate JFace Viewer tests to JUnit 4 #1222
Migrate JFace Viewer tests to JUnit 4 #1222
Conversation
Test Results 899 files + 899 899 suites +899 1h 31m 4s ⏱️ + 1h 31m 4s For more details on these failures, see this check. Results for commit 1bba52c. ± Comparison against base commit 5f47dac. ♻️ This comment has been updated with latest results. |
* Migrates the tests in org.eclipse.jface.tests.viewer to JUnit 4 * Replaces some test method precondition checks with assume calls * Replaces test name access with TestName rule
610daf7
to
1bba52c
Compare
@@ -275,6 +292,7 @@ public void testGetBackground() { | |||
// getDecoratingStyledLabelProvider().getBackground(ti)); | |||
} | |||
|
|||
@Test | |||
public void testGetFont() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be removed in another PR
@@ -229,6 +247,7 @@ public void testRefreshWithDuplicateChild() { | |||
* expanded, B is not - A gets deleted - B gets expanded because it reused A's | |||
* item | |||
*/ | |||
@Test | |||
public void testRefreshWithReusedItems() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be removed in another PR
@@ -272,6 +293,7 @@ public void testSetExpandedWithCycle() { | |||
* Test for Bug 41710 - assertion that an object may not be added to a given | |||
* TreeItem more than once. | |||
*/ | |||
@Test | |||
public void testSetDuplicateChild() { | |||
// Widget root = fViewer.testFindItem(fRootElement); | |||
// assertNotNull(root); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
Error failure documented here #1005 |
Thanks @HeikoKlare |
org.eclipse.jface.tests.viewer
to JUnit 4TestName
rule