Skip to content

Instantly share code, notes, and snippets.

@andrewriver
Created October 23, 2020 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewriver/da130a3885a2d47a897d9c353c9665d3 to your computer and use it in GitHub Desktop.
Save andrewriver/da130a3885a2d47a897d9c353c9665d3 to your computer and use it in GitHub Desktop.
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