Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2020-01-30 19:03:36 +0000
committerAlexander Kurtakov2020-01-30 19:03:36 +0000
commit76828191e86c6034d85e10d7680ed1813e27ff57 (patch)
treec14fc8cc06700acfe3d12b0600cce05391883a04 /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository
parente052381f77c5c51193509ae837400d269c892270 (diff)
downloadrt.equinox.p2-76828191e86c6034d85e10d7680ed1813e27ff57.tar.gz
rt.equinox.p2-76828191e86c6034d85e10d7680ed1813e27ff57.tar.xz
rt.equinox.p2-76828191e86c6034d85e10d7680ed1813e27ff57.zip
Move away of junit Assert.assertThat (take 2)I20200202-1800I20200201-1800I20200131-1800I20200130-1800
Use Hamcrest MatcherAssert.assertThat instead. Change-Id: I3eb6154f9e3861212107292f43007a66f937ddd1 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository/RepositoryExtensionPointTest.java11
1 files changed, 8 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository/RepositoryExtensionPointTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository/RepositoryExtensionPointTest.java
index 881b30e1a..fbd3b07e6 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository/RepositoryExtensionPointTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository/RepositoryExtensionPointTest.java
@@ -14,17 +14,22 @@
package org.eclipse.equinox.p2.tests.repository;
import static org.hamcrest.CoreMatchers.sameInstance;
-import static org.junit.Assert.assertThat;
+import static org.hamcrest.MatcherAssert.assertThat;
import java.net.URI;
import java.util.Map;
-import org.eclipse.core.runtime.*;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
import org.eclipse.equinox.p2.core.ProvisionException;
import org.eclipse.equinox.p2.repository.artifact.IArtifactRepository;
import org.eclipse.equinox.p2.repository.artifact.spi.ArtifactRepositoryFactory;
import org.eclipse.equinox.p2.repository.metadata.IMetadataRepository;
import org.eclipse.equinox.p2.repository.metadata.spi.MetadataRepositoryFactory;
-import org.eclipse.equinox.p2.tests.*;
+import org.eclipse.equinox.p2.tests.AbstractProvisioningTest;
+import org.eclipse.equinox.p2.tests.TestActivator;
+import org.eclipse.equinox.p2.tests.TestArtifactRepository;
+import org.eclipse.equinox.p2.tests.TestMetadataRepository;
public class RepositoryExtensionPointTest extends AbstractProvisioningTest {
/**

Back to the top