From 968b7209418933e5552d7420ae8bb1aac582e740 Mon Sep 17 00:00:00 2001 From: Victor Rubezhny Date: Wed, 7 Jun 2023 11:18:55 +0200 Subject: [PATCH] org.eclipse.tips.core.TipTest.testEqualsObject() fails #140 --- org.eclipse.tips.tests/src/org/eclipse/tips/core/TipTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.eclipse.tips.tests/src/org/eclipse/tips/core/TipTest.java b/org.eclipse.tips.tests/src/org/eclipse/tips/core/TipTest.java index 37b9f94d1..920fea340 100644 --- a/org.eclipse.tips.tests/src/org/eclipse/tips/core/TipTest.java +++ b/org.eclipse.tips.tests/src/org/eclipse/tips/core/TipTest.java @@ -104,8 +104,8 @@ public void testGetSubject() { public void testEqualsObject() { TestTip testTip = new TestTip(fProvider.getID(), HTML, SUBJECT_TIP); TestTip testTipx = new TestTip(fProvider.getID(), HTML, SUBJECT_TIP); - assertNotNull(testTip); - assertEquals(testTip, testTip.equals(testTip)); + assertFalse(testTip.equals(fTip)); + assertTrue(testTip.equals(testTipx)); assertNotEquals(fTip, testTip); assertEquals(testTipx, testTip);