From 435675533c5842ca4b36ee9de1db38bd506f1c37 Mon Sep 17 00:00:00 2001 From: Luis Soares Date: Tue, 27 Feb 2024 17:36:05 +0000 Subject: [PATCH] Tweak interface name --- framework/src/source/BaseTestReporter.bs | 4 ++-- framework/src/source/ConsoleTestReporter.bs | 2 +- framework/src/source/JUnitTestReporter.bs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/src/source/BaseTestReporter.bs b/framework/src/source/BaseTestReporter.bs index e7fda9dd..15db20ef 100644 --- a/framework/src/source/BaseTestReporter.bs +++ b/framework/src/source/BaseTestReporter.bs @@ -1,5 +1,5 @@ namespace rooibos - interface TestReporterOnEndEvent + interface ITestReporterOnEndEvent stats as rooibos.Stats end interface @@ -19,7 +19,7 @@ namespace rooibos 'override me end function - function onEnd(ev as rooibos.TestReporterOnEndEvent) + function onEnd(ev as rooibos.ITestReporterOnEndEvent) 'override me end function diff --git a/framework/src/source/ConsoleTestReporter.bs b/framework/src/source/ConsoleTestReporter.bs index 2e0a7bde..d33abb0c 100644 --- a/framework/src/source/ConsoleTestReporter.bs +++ b/framework/src/source/ConsoleTestReporter.bs @@ -13,7 +13,7 @@ namespace rooibos end if end function - override function onEnd(ev as rooibos.TestReporterOnEndEvent) + override function onEnd(ev as rooibos.ITestReporterOnEndEvent) m.allStats = ev.stats m.startReport() for each testSuite in m.testRunner.testSuites diff --git a/framework/src/source/JUnitTestReporter.bs b/framework/src/source/JUnitTestReporter.bs index eacaff7e..4fe3346a 100644 --- a/framework/src/source/JUnitTestReporter.bs +++ b/framework/src/source/JUnitTestReporter.bs @@ -1,7 +1,7 @@ namespace rooibos class JUnitTestReporter extends rooibos.BaseTestReporter - override function onEnd(ev as rooibos.TestReporterOnEndEvent) + override function onEnd(ev as rooibos.ITestReporterOnEndEvent) root = createObject("roXMLElement") root.SetName("testsuites") properties = root.addElement("properties")