summaryrefslogtreecommitdiffstats
path: root/rulemgt/src/test/java/org
diff options
context:
space:
mode:
authoryoubowu <wu.youbo@zte.com.cn>2017-03-10 15:38:37 +0800
committer6092002067 <wu.youbo@zte.com.cn>2017-03-10 15:48:01 +0800
commit24ec6985c095120a9f0db7bdfbaed25b74c4b57c (patch)
treedc053f8254c7e96a038df20a5a65db786910c37d /rulemgt/src/test/java/org
parent0e04a9ffc4f146a4edef2723163408a91dd1f6f3 (diff)
Add log for debugger
Issue-ID: HOLMES-50 Change-Id: I9761d207cb6d55378592021e42c9398e6343040f Signed-off-by: youbowu <wu.youbo@zte.com.cn>
Diffstat (limited to 'rulemgt/src/test/java/org')
-rw-r--r--rulemgt/src/test/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapperTest.java17
1 files changed, 0 insertions, 17 deletions
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
@@ -179,23 +179,6 @@ public class EngineWrapperTest {
}
@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)))
.andReturn(httpResponseMock);