From f9d63c0266bf9c9ce3e198f6f6e409ff3c5118df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=91?= Date: Sun, 8 Sep 2024 04:28:04 +0800 Subject: [PATCH] =?UTF-8?q?1.1.3=20=E4=BF=AE=E5=A4=8D=20Test=20unit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/org/tabooproject/reflex/AnalyserTestAsm.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/analyser/src/test/kotlin/org/tabooproject/reflex/AnalyserTestAsm.kt b/analyser/src/test/kotlin/org/tabooproject/reflex/AnalyserTestAsm.kt index b70c0d4..0f72145 100644 --- a/analyser/src/test/kotlin/org/tabooproject/reflex/AnalyserTestAsm.kt +++ b/analyser/src/test/kotlin/org/tabooproject/reflex/AnalyserTestAsm.kt @@ -83,10 +83,10 @@ class AnalyserTestAsm { @Test fun testAnalyse() { - // intVal, range, bitField, stringVar, intRangeVal, Companion == 6 - assert(analyse.fields.size == 6) - // getRange, setRange, getStringVar, setStringVar, method, method, methodStatic == 7 - assert(analyse.methods.size == 7) + // intVal, range, bitField, stringVar, stringArrayVar, intRangeVal, Companion == 7 + assert(analyse.fields.size == 7) + // getRange, setRange, getStringVar, setStringVar, getStringArrayVar, setStringArrayVar, method, method, methodArray, methodStatic == 10 + assert(analyse.methods.size == 10) assert(analyse.constructors.size == 2) }