Created
October 23, 2020 15:40
-
-
Save andrewriver/da130a3885a2d47a897d9c353c9665d3 to your computer and use it in GitHub Desktop.
Roku Unit Test Framework Bug - Component naming
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub init() | |
Runner = TestRunner() | |
Runner.SetFunctions([ | |
TestSuite__MainComponent | |
]) | |
end sub | |
function TestSuite__MainComponent() as object | |
this = BaseTestSuite() | |
this.name = "TestSuite__MainComponent" | |
this.addTest("Simple unit test for MainComponent", simpleTest) | |
return this | |
end function | |
' @Test | |
function simpleTest() as string | |
return m.assertEqual(1, 1) | |
end function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub init() | |
Runner = TestRunner() | |
Runner.SetFunctions([ | |
TestSuite__MainComponentItem | |
]) | |
end sub | |
function TestSuite__MainComponentItem() as object | |
this = BaseTestSuite() | |
this.name = "TestSuite__MainComponentItem" | |
this.addTest("Simple unit test for MainComponentItem", simpleTest) | |
return this | |
end function | |
' @Test | |
function simpleTest() as string | |
return m.assertEqual(1, 1) | |
end function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment