This is an automated email from the ASF dual-hosted git repository. ggrzybek pushed a commit to branch KARAF-5376-overrides_v2 in repository https://gitbox.apache.org/repos/asf/karaf.git
commit 4a2ac643f13554bc0e8340a76a861c53ebe0f4dc Author: Grzegorz Grzybek <[email protected]> AuthorDate: Sun Dec 3 16:24:32 2017 +0100 [KARAF-5376] Fix ListFeaturesCommandTest --- .../java/org/apache/karaf/features/command/ListFeaturesCommandTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/command/src/test/java/org/apache/karaf/features/command/ListFeaturesCommandTest.java b/features/command/src/test/java/org/apache/karaf/features/command/ListFeaturesCommandTest.java index 18ca254..a56347c 100644 --- a/features/command/src/test/java/org/apache/karaf/features/command/ListFeaturesCommandTest.java +++ b/features/command/src/test/java/org/apache/karaf/features/command/ListFeaturesCommandTest.java @@ -41,6 +41,7 @@ public class ListFeaturesCommandTest { EasyMock.expect(service.listRepositories()).andReturn(new Repository[] { repo }); EasyMock.expect(repo.getFeatures()).andReturn(new Feature[] { feature }); EasyMock.expect(feature.isHidden()).andReturn(true); + EasyMock.expect(feature.isBlacklisted()).andReturn(false); EasyMock.replay(service, repo, feature); @@ -69,6 +70,7 @@ public class ListFeaturesCommandTest { EasyMock.expect(service.listRepositories()).andReturn(new Repository[] { repo }); EasyMock.expect(repo.getFeatures()).andReturn(new Feature[] { feature }); EasyMock.expect(feature.isHidden()).andReturn(true).anyTimes(); + EasyMock.expect(feature.isBlacklisted()).andReturn(false).anyTimes(); EasyMock.expect(feature.getName()).andReturn("feature"); EasyMock.expect(feature.getId()).andReturn("feature/1.0.0"); EasyMock.expect(service.getState(EasyMock.eq("feature/1.0.0"))).andReturn(FeatureState.Started); -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
