aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2020-04-19 20:33:54 +0000
committerAndreas Beeker <kiwiwings@apache.org>2020-04-19 20:33:54 +0000
commitc41dee931f95c3d9747c5747316b49504bd15477 (patch)
tree3f10137fe5dd367b91230742ac6b02e8027e961b /src/testcases/org
parentfbcf0c81bad91b194dc0b801e3e179d17ce2ea9f (diff)
downloadpoi-c41dee931f95c3d9747c5747316b49504bd15477.tar.gz
poi-c41dee931f95c3d9747c5747316b49504bd15477.zip
#63745 - Add traversing and debugging interface to HSSF
a few more HSSF / Old Excel classes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876732 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org')
-rw-r--r--src/testcases/org/apache/poi/ss/usermodel/BaseTestConditionalFormatting.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/ss/usermodel/BaseTestConditionalFormatting.java b/src/testcases/org/apache/poi/ss/usermodel/BaseTestConditionalFormatting.java
index fd33cf0319..5b17cc964d 100644
--- a/src/testcases/org/apache/poi/ss/usermodel/BaseTestConditionalFormatting.java
+++ b/src/testcases/org/apache/poi/ss/usermodel/BaseTestConditionalFormatting.java
@@ -563,8 +563,8 @@ public abstract class BaseTestConditionalFormatting {
ConditionalFormatting cf = sheetCF.getConditionalFormattingAt(i);
if (cf instanceof HSSFConditionalFormatting) {
String str = cf.toString();
- if (str.contains("[CF]")) fCF++;
- if (str.contains("[CF12]")) fCF12++;
+ if (str.contains("/* CF_RULE */")) fCF++;
+ if (str.contains("/* CF_RULE_12 */")) fCF12++;
if (str.contains("[CFEX]")) fCFEX++;
} else {
ConditionType type = cf.getRule(cf.getNumberOfRules() - 1).getConditionType();