Skip to content

Commit

Permalink
Tweak interface name
Browse files Browse the repository at this point in the history
  • Loading branch information
luis-j-soares committed Apr 9, 2024
1 parent c2f0b2f commit 4356755
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions framework/src/source/BaseTestReporter.bs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
namespace rooibos
interface TestReporterOnEndEvent
interface ITestReporterOnEndEvent
stats as rooibos.Stats
end interface

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion framework/src/source/ConsoleTestReporter.bs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion framework/src/source/JUnitTestReporter.bs
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit 4356755

Please sign in to comment.