From 24ec6985c095120a9f0db7bdfbaed25b74c4b57c Mon Sep 17 00:00:00 2001 From: youbowu Date: Fri, 10 Mar 2017 15:38:37 +0800 Subject: Add log for debugger Issue-ID: HOLMES-50 Change-Id: I9761d207cb6d55378592021e42c9398e6343040f Signed-off-by: youbowu --- .../rulemgt/bolt/enginebolt/EngineWrapperTest.java | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'rulemgt/src/test/java/org/openo') diff --git a/rulemgt/src/test/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapperTest.java b/rulemgt/src/test/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapperTest.java index 8d25d6a..7746394 100644 --- a/rulemgt/src/test/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapperTest.java +++ b/rulemgt/src/test/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapperTest.java @@ -178,23 +178,6 @@ public class EngineWrapperTest { PowerMock.verifyAll(); } - @Test - public void checkRuleFromEngine_http_status_not_200() throws Exception { - thrown.expect(CorrelationException.class); - thrown.expectMessage(I18nProxy.RULE_MANAGEMENT_CHECK_NO_PASS); - - EasyMock.expect(engineServiceMock.check(EasyMock.anyObject(CorrelationCheckRule4Engine.class))) - .andReturn(httpResponseMock); - EasyMock.expect(httpResponseMock.getStatusLine()).andReturn(statusLineMock); - EasyMock.expect(statusLineMock.getStatusCode()).andReturn(400); - - PowerMock.replayAll(); - - engineWrapper.checkRuleFromEngine(new CorrelationCheckRule4Engine()); - - PowerMock.verifyAll(); - } - @Test public void checkRuleFromEngine_success() throws Exception { EasyMock.expect(engineServiceMock.check(EasyMock.anyObject(CorrelationCheckRule4Engine.class))) -- cgit 1.2.3-korg