Skip to content

Variable "NumberOfTestsToAnalyse" is limited to the wrong boundaries #194

Merged
sagatowski merged 5 commits intotcunit:masterfrom
JoergWitt:master
Apr 20, 2023
Merged

Variable "NumberOfTestsToAnalyse" is limited to the wrong boundaries #194
sagatowski merged 5 commits intotcunit:masterfrom
JoergWitt:master

Conversation

@JoergWitt
Copy link
Contributor

This pull request solves #187.

Correction of the definition of variable NumberOfTestsToAnalyse in the two blocks FB_TestResults (one time) and FB_TestSuite (five times). A wrong limit was used.
Old:
NumberOfTestsToAnalyse : UINT(1..GVL_Param_TcUnit.MaxNumberOfTestSuites);
New:
NumberOfTestsToAnalyse : UINT(1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite);

JoergWitt and others added 5 commits May 31, 2022 09:30
In FB_testSuite in method AssertEquals_WORD in line 18 exchange the parameter Type_UINT with Type_WORD.
Old: SetTestFailed(AssertionType := E_AssertionType.Type_UINT,
New: SetTestFailed(AssertionType := E_AssertionType.Type_WORD,
In FB_testSuite in method AssertEquals_WORD in line 18 exchange the parameter Type_UINT with Type_WORD.
Old: SetTestFailed(AssertionType := E_AssertionType.Type_UINT,
New: SetTestFailed(AssertionType := E_AssertionType.Type_WORD,
…g boundaries

Correction of the definition of variable "NumberOfTestsToAnalyse" in the two blocks "FB_TestResults" (one time) and "FB_TestSuite" (five times). A wrong limit was used.
Old: NumberOfTestsToAnalyse : UINT(1..GVL_Param_TcUnit.MaxNumberOfTestSuites);
New: NumberOfTestsToAnalyse : UINT(1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite);
@sagatowski sagatowski merged commit 93314b0 into tcunit:master Apr 20, 2023
@sagatowski
Copy link
Member

Sorry for late merge. Thanks for your contribution @JoergWitt!

@sagatowski sagatowski added this to the Release 1.3.0.0 milestone Apr 30, 2023
@sagatowski sagatowski changed the title Solve a bug: Variable "NumberOfTestsToAnalyse" is limited to the wrong boundaries Variable "NumberOfTestsToAnalyse" is limited to the wrong boundaries Dec 2, 2023
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

Successfully merging this pull request may close these issues.

2 participants