Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Roku Unit Test Framework Bug - Component naming
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
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