diff options
author | Taka Cho <takamune.cho@att.com> | 2020-06-09 12:04:20 -0400 |
---|---|---|
committer | Taka Cho <takamune.cho@att.com> | 2020-06-09 12:04:51 -0400 |
commit | fbd144a2442fa7273c8b1d920cd2f7611b2aefcd (patch) | |
tree | d8daf38b5c83e55573fc25af4ffc07e336832768 /controlloop/common/feature-controlloop-usecases | |
parent | 442a2a8dd64c724363433e6e4794eb19da66314b (diff) |
reduce sonar issue - drool-applications
In some conditions for assertTrue, sonarcloud
recommends using assertEquals
Assert.assertTrue(a.equals(b));
Assert.assertTrue(a == b);
Assert.assertTrue(a == null);
Assert.assertTrue(a != null);
Assert.assertFalse(a.equals(b));
Compliant Solution
Assert.assertEquals(a, b);
Assert.assertSame(a, b);
Assert.assertNull(a);
Assert.assertNotNull(a);
Assert.assertNotEquals(a, b);
Change-Id: Ic50bf6e961b74abcc698c2cc0347dd0472fefe71
Issue-ID: POLICY-2616
Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'controlloop/common/feature-controlloop-usecases')
0 files changed, 0 insertions, 0 deletions