Skip to content

Commit

Permalink
Fix line numbers in test output files
Browse files Browse the repository at this point in the history
  • Loading branch information
gayaldassanayake committed Feb 6, 2024
1 parent f1eb8ad commit 631f85e
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Running Tests with Coverage
callableName: testDividingValuesNegative moduleName: intg_tests.dataproviders$test.0.tests.new-data-provider-tests fileName: tests/new-data-provider-tests.bal lineNumber: 191
callableName: testDividingValuesNegative$lambda14$ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 18
",functionName="testDividingValuesNegative")
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 349
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 346
callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 136
callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 123
callableName: executeTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 83
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ Running Tests
[fail data provider for the function testInvalidDataProvider]
error {ballerina/test:0}ExecutionError ("error("{ballerina/lang.function}IncompatibleArguments",message="arguments of incompatible types: argument list '(int)' cannot be passed to function expecting parameter list '(string)'")
callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 339
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 336
callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 136
callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 123
callableName: executeTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 83
callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 58
callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 48
callableName: __execute__ fileName: invalid-data-provider-test.bal lineNumber: 37
",functionName="testInvalidDataProvider")
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 349
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 346
callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 136
callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 123
callableName: executeTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 83
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ Running Tests
[fail data provider for the function testInvalidDataProvider2]
error {ballerina/test:0}ExecutionError ("error("{ballerina/lang.function}IncompatibleArguments",message="arguments of incompatible types: argument list '(int,int,int)' cannot be passed to function expecting parameter list '(string,string,string)'")
callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 339
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 336
callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 136
callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 123
callableName: executeTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 83
callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 58
callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 48
callableName: __execute__ fileName: invalid-data-provider-test2.bal lineNumber: 39
",functionName="testInvalidDataProvider2")
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 349
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 346
callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 136
callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 123
callableName: executeTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 83
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ Running Tests
[fail data provider for the function testInvalidTupleDataProvider]
error {ballerina/test:0}ExecutionError ("error("{ballerina/lang.function}IncompatibleArguments",message="arguments of incompatible types: argument list '(string,int)' cannot be passed to function expecting parameter list '(string,string)'")
callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 339
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 336
callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 136
callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 123
callableName: executeTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 83
callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 58
callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 48
callableName: __execute__ fileName: invalid-data-provider-test3.bal lineNumber: 36
",functionName="testInvalidTupleDataProvider")
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 349
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 346
callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 136
callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 123
callableName: executeTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 83
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Running Tests with Coverage
callableName: testDividingValuesNegative moduleName: intg_tests.dataproviders$test.0.tests.new-data-provider-tests fileName: tests/new-data-provider-tests.bal lineNumber: 191
callableName: testDividingValuesNegative$lambda14$ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 18
",functionName="testDividingValuesNegative")
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 349
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 346
callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 136
callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 123
callableName: executeTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 83
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ Running Tests
[fail data provider for the function testInvalidDataProvider]
error {ballerina/test:0}ExecutionError ("error("{ballerina/lang.function}IncompatibleArguments",message="arguments of incompatible types: argument list '(int)' cannot be passed to function expecting parameter list '(string)'")
callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 339
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 336
callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 136
callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 123
callableName: executeTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 83
callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 58
callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 48
callableName: __execute__ fileName: invalid-data-provider-test.bal lineNumber: 37
",functionName="testInvalidDataProvider")
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 349
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 346
callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 136
callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 123
callableName: executeTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 83
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ Running Tests
[fail data provider for the function testInvalidDataProvider2]
error {ballerina/test:0}ExecutionError ("error("{ballerina/lang.function}IncompatibleArguments",message="arguments of incompatible types: argument list '(int,int,int)' cannot be passed to function expecting parameter list '(string,string,string)'")
callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 339
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 336
callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 136
callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 123
callableName: executeTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 83
callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 58
callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 48
callableName: __execute__ fileName: invalid-data-provider-test2.bal lineNumber: 39
",functionName="testInvalidDataProvider2")
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 349
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 346
callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 136
callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 123
callableName: executeTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 83
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ Running Tests
[fail data provider for the function testInvalidTupleDataProvider]
error {ballerina/test:0}ExecutionError ("error("{ballerina/lang.function}IncompatibleArguments",message="arguments of incompatible types: argument list '(string,int)' cannot be passed to function expecting parameter list '(string,string)'")
callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 339
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 336
callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 136
callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 123
callableName: executeTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 83
callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 58
callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 48
callableName: __execute__ fileName: invalid-data-provider-test3.bal lineNumber: 36
",functionName="testInvalidTupleDataProvider")
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 349
callableName: executeTestFunction moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 346
callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 136
callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 123
callableName: executeTest moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 83
Expand Down

0 comments on commit 631f85e

Please sign in to comment.