From d3cedfce1a6671069f17073ba9f27b5a5a063ad0 Mon Sep 17 00:00:00 2001 From: ZhouYixun <291028775@qq.com> Date: Wed, 12 Oct 2022 23:16:09 +0800 Subject: [PATCH] feat: add unittest --- .../poco/service/impl/PocoClientImpl.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/org/cloud/sonic/driver/poco/service/impl/PocoClientImpl.java b/src/main/java/org/cloud/sonic/driver/poco/service/impl/PocoClientImpl.java index 826178d..8237d39 100644 --- a/src/main/java/org/cloud/sonic/driver/poco/service/impl/PocoClientImpl.java +++ b/src/main/java/org/cloud/sonic/driver/poco/service/impl/PocoClientImpl.java @@ -137,16 +137,6 @@ public PocoElement findElement(String expression) throws SonicRespException { return pocoElement; } - @Override - public void freezeSource() { - isFrozen = true; - } - - @Override - public void thawSource() { - isFrozen = false; - } - private List parseAttr(PocoElement pocoElement, String express) { String attrExpression = express.substring(express.indexOf("(") + 1, express.indexOf(")")); if (attrExpression.startsWith("\"") && attrExpression.endsWith("\"")) { @@ -211,6 +201,16 @@ private List findElementsByAttr(PocoElement sourceElement, List