diff options
author | Carsten Reckord | 2015-03-16 20:59:16 +0000 |
---|---|---|
committer | Carsten Reckord | 2015-03-16 21:00:02 +0000 |
commit | fc99d44f20088aa7952b5bfce392712ed053fb64 (patch) | |
tree | 4cb023e38e5fcef1b5843ea0a2b7b59b03691aa6 | |
parent | fa8d459aeffd5bbd132060fb8140a4de9dcceb30 (diff) | |
download | org.eclipse.epp.mpc-fc99d44f20088aa7952b5bfce392712ed053fb64.tar.gz org.eclipse.epp.mpc-fc99d44f20088aa7952b5bfce392712ed053fb64.tar.xz org.eclipse.epp.mpc-fc99d44f20088aa7952b5bfce392712ed053fb64.zip |
418865: Marketplace needs to filter out incompatible software
- Enabled search tests
Bug: 418865
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=418865
-rw-r--r-- | org.eclipse.epp.mpc.tests/src/org/eclipse/epp/mpc/tests/service/SolutionCompatibilityFilterTest.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/org.eclipse.epp.mpc.tests/src/org/eclipse/epp/mpc/tests/service/SolutionCompatibilityFilterTest.java b/org.eclipse.epp.mpc.tests/src/org/eclipse/epp/mpc/tests/service/SolutionCompatibilityFilterTest.java index 34286538..8f89414e 100644 --- a/org.eclipse.epp.mpc.tests/src/org/eclipse/epp/mpc/tests/service/SolutionCompatibilityFilterTest.java +++ b/org.eclipse.epp.mpc.tests/src/org/eclipse/epp/mpc/tests/service/SolutionCompatibilityFilterTest.java @@ -44,7 +44,6 @@ import org.junit.Assert; import org.junit.Before; import org.junit.ClassRule; import org.junit.ComparisonFailure; -import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExternalResource; @@ -716,9 +715,9 @@ public class SolutionCompatibilityFilterTest { } protected void assertSearchResultSanity(ISearchResult result) { - assertNotNull(result); - assertNotNull(result.getNodes()); - assertNotNull(result.getMatchCount()); + assertNotNull("Search result is null", result); + assertNotNull("Result node list is null (internal error)", result.getNodes()); + assertNotNull("Result match count is null ('count' attribute missing)", result.getMatchCount()); assertTrue("Total search result count {1} has to be at least the number of returned nodes {2}", result .getMatchCount() >= result.getNodes().size(), result.getMatchCount(), result.getNodes().size()); @@ -790,7 +789,6 @@ public class SolutionCompatibilityFilterTest { } @Test - @Ignore public void testSearchResult() throws CoreException { if (compatible) { testCompatibleSearchResult(); |