From 1a5c57155e95dbf11b170c336799f73934de2b79 Mon Sep 17 00:00:00 2001 From: Aaron Hurst Date: Fri, 2 Dec 2022 05:36:04 +0000 Subject: [PATCH] Update tested return type name to match Summit, which returns the syntactic type name. Change-Id: I6ea22b890e60f24c2684f85753223f240e33509a --- .../pmd/lang/vf/ApexClassPropertyTypesVisitorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd-visualforce/src/test/java/net/sourceforge/pmd/lang/vf/ApexClassPropertyTypesVisitorTest.java b/pmd-visualforce/src/test/java/net/sourceforge/pmd/lang/vf/ApexClassPropertyTypesVisitorTest.java index c1e3b8f5e8..c970f00d17 100644 --- a/pmd-visualforce/src/test/java/net/sourceforge/pmd/lang/vf/ApexClassPropertyTypesVisitorTest.java +++ b/pmd-visualforce/src/test/java/net/sourceforge/pmd/lang/vf/ApexClassPropertyTypesVisitorTest.java @@ -57,7 +57,7 @@ public class ApexClassPropertyTypesVisitorTest { assertTrue("ID".equalsIgnoreCase(variableNameToVariableType.get("ApexController.AccountIdProp"))); assertTrue("ID".equalsIgnoreCase(variableNameToVariableType.get("ApexController.AccountId"))); assertTrue("String".equalsIgnoreCase(variableNameToVariableType.get("ApexController.AccountName"))); - assertTrue("ApexController.InnerController".equalsIgnoreCase(variableNameToVariableType.get("ApexController.InnerController"))); + assertTrue("InnerController".equalsIgnoreCase(variableNameToVariableType.get("ApexController.InnerController"))); assertTrue("ID".equalsIgnoreCase(variableNameToVariableType.get("ApexController.InnerController.InnerAccountIdProp"))); assertTrue("ID".equalsIgnoreCase(variableNameToVariableType.get("ApexController.InnerController.InnerAccountId"))); assertTrue("String".equalsIgnoreCase(variableNameToVariableType.get("ApexController.InnerController.InnerAccountName")));