Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when testStatObj is uninitialized #30

Closed
ronenbit1 opened this issue Oct 9, 2018 · 1 comment
Closed

Exception when testStatObj is uninitialized #30

ronenbit1 opened this issue Oct 9, 2018 · 1 comment

Comments

@ronenbit1
Copy link

Current Function:
Thread selected: 1* 1532:
1533: m.logger.AppendSuiteStatistic(totalStatObj, suiteStatObj)
1534:
1535: if TF_Utils__IsFunction(testSuite.TearDown)
1536: ...amework/UnitTestFramework.brs(1540) m.logger.PrintSuiteTeiafr Dtoewsnt(SttaesttOSbju.itRee.Nsaulmte)

"Fail" and m.failFast
1537: testSuite.TearDown()
1538: end if
1539:
1540:* if testStatObj.Result = "Fail" and m.failFast
1541: exit for
1542: end if
1543: end for
1544:
'Dot' Operator attempted with invalid BrightScript Component or interface reference. (runtime error &hec) in pkg:/source/testFramework/UnitTestFramework.brs(1540)
1540: if testStatObj.Result = "Fail" and m.failFast

The code should add :
if testStatObj = "uninitialized" ...

@RokuDevTools
Copy link
Contributor

@ronenbit1 @catalin-ursachi thanks for the help. fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants