commit | 66e7cc8bcd332305d02f20e59f2dd1fc9d27ece3 | [log] [tgz] |
---|---|---|
author | Alexander Kurtakov <akurtako@redhat.com> | Sat Dec 04 08:02:10 2021 +0200 |
committer | Alexander Kurtakov <akurtako@redhat.com> | Sat Dec 04 01:02:46 2021 -0500 |
tree | 17a5bf4905df1b5bc5da969c82cb3d2b40ca9b05 | |
parent | b9c72bc15fb2efca106addaa7fcd31689d8d0f9a [diff] |
Bug 577522 - Update test framework dependencies Move away of deprecated mockito api that's gone in 4.x Change-Id: I14640ea517f76c3977b54141e389a4254fb0e87d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/188530
diff --git a/tests/org.eclipse.e4.ui.tests.css.swt/src/org/eclipse/e4/ui/css/swt/properties/preference/EclipsePreferencesHandlerTest.java b/tests/org.eclipse.e4.ui.tests.css.swt/src/org/eclipse/e4/ui/css/swt/properties/preference/EclipsePreferencesHandlerTest.java index c5ecfa3..dff4ab1 100644 --- a/tests/org.eclipse.e4.ui.tests.css.swt/src/org/eclipse/e4/ui/css/swt/properties/preference/EclipsePreferencesHandlerTest.java +++ b/tests/org.eclipse.e4.ui.tests.css.swt/src/org/eclipse/e4/ui/css/swt/properties/preference/EclipsePreferencesHandlerTest.java
@@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2014 IBM Corporation and others. + * Copyright (c) 2014, 2021 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -21,7 +21,7 @@ import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; -import static org.mockito.Matchers.any; +import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.spy;