From 413c47f6fb74cdbb2c606ca9c222dfe103a45b89 Mon Sep 17 00:00:00 2001 From: Thevakumar-Luheerathan Date: Tue, 17 Dec 2024 13:54:57 +0530 Subject: [PATCH 1/3] Add proper waiting logic for the strands --- .../src/main/ballerina/execute.bal | 23 ++++++++-- .../src/main/ballerina/register.bal | 46 +++++++++++++------ 2 files changed, 50 insertions(+), 19 deletions(-) diff --git a/misc/testerina/modules/testerina-core/src/main/ballerina/execute.bal b/misc/testerina/modules/testerina-core/src/main/ballerina/execute.bal index b75e317f8d5d..369032e9ea07 100644 --- a/misc/testerina/modules/testerina-core/src/main/ballerina/execute.bal +++ b/misc/testerina/modules/testerina-core/src/main/ballerina/execute.bal @@ -74,6 +74,7 @@ function executeTests() returns error? { executionManager.addInitialParallelTest(testFunction); } } + map futures = {}; while !executionManager.isExecutionDone() { if executionManager.getSerialQueueLength() != 0 && executionManager.countTestInExecution() == 0 { TestFunction testFunction = executionManager.getSerialTest(); @@ -83,9 +84,23 @@ function executeTests() returns error? { TestFunction testFunction = executionManager.getParallelTest(); executionManager.addTestInExecution(testFunction); DataProviderReturnType? testFunctionArgs = dataDrivenTestParams[testFunction.name]; - _ = start executeTestIsolated(testFunction, testFunctionArgs); + future<()> futureEntity = start executeTestIsolated(testFunction, testFunctionArgs); + futures[testFunction.name] = futureEntity; + } else { + foreach [string, future] futureResult in futures.entries() { + string functionName = futureResult[0]; + any|error parallelResult = wait futureResult[1]; + if parallelResult is error { + reportData.onFailed(name = functionName, message = + string `[parallel execution for the function ` + + string `${functionName}]${"\n"} ${getErrorMessage(parallelResult)}`, testType = GENERAL_TEST); + println(string `${"\n\t"}${functionName} has failed.${"\n"}`); + enableExit(); + } + } + futures = {}; + executionManager.populateExecutionQueues(); } - executionManager.populateExecutionQueues(); } executionTime = currentTimeInMillis() - startTime; } @@ -326,7 +341,7 @@ isolated function handleTestFuncOutput(any|error output, TestFunction testFuncti return error(getErrorMessage(output), functionName = testFunction.name); } -isolated function prepareDataSet(DataProviderReturnType? testFunctionArgs, string[] keys, AnyOrError[][] values) +isolated function prepareDataSet(DataProviderReturnType? testFunctionArgs, string[] keys, AnyOrError[][] values) returns TestType { TestType testType = DATA_DRIVEN_MAP_OF_TUPLE; if testFunctionArgs is map { @@ -381,7 +396,7 @@ isolated function skipDataDrivenTest(TestFunction testFunction, string suffix, T string[] subTests = testOptions.getFilterSubTest(functionKey); foreach string subFilter in subTests { string updatedSubFilter = subFilter; - if testType == DATA_DRIVEN_MAP_OF_TUPLE && subFilter.startsWith(SINGLE_QUOTE) + if testType == DATA_DRIVEN_MAP_OF_TUPLE && subFilter.startsWith(SINGLE_QUOTE) && subFilter.endsWith(SINGLE_QUOTE) { updatedSubFilter = subFilter.substring(1, subFilter.length() - 1); } diff --git a/misc/testerina/modules/testerina-core/src/main/ballerina/register.bal b/misc/testerina/modules/testerina-core/src/main/ballerina/register.bal index b0558c0be7ca..bb85f9338c15 100644 --- a/misc/testerina/modules/testerina-core/src/main/ballerina/register.bal +++ b/misc/testerina/modules/testerina-core/src/main/ballerina/register.bal @@ -207,25 +207,37 @@ isolated class ExecutionManager { } isolated function populateExecutionQueues() { + int i = 0; + TestCompletionStatus executionCompletionStatus = YET_TO_COMPLETE; + int testCount = 0; lock { - int i = 0; - TestCompletionStatus executionCompletionStatus = YET_TO_COMPLETE; - while i < self.testsInExecution.length() { + testCount = self.testsInExecution.length(); + } + while i < testCount { + TestFunctionMetaData? inProgressTestMetaData = (); + lock { TestFunction testInProgress = self.testsInExecution[i]; - TestFunctionMetaData? inProgressTestMetaData = self.testMetaData[testInProgress.name]; - if inProgressTestMetaData == () { - continue; - } - executionCompletionStatus = inProgressTestMetaData.executionCompletionStatus; - if executionCompletionStatus == COMPLETED { - inProgressTestMetaData.dependents.reverse().forEach( + inProgressTestMetaData = self.testMetaData[testInProgress.name].cloneReadOnly(); + } + if inProgressTestMetaData == () { + i += 1; + continue; + } + executionCompletionStatus = inProgressTestMetaData.executionCompletionStatus; + if executionCompletionStatus == COMPLETED { + inProgressTestMetaData.dependents.reverse().forEach( dependent => self.checkExecutionReadiness(dependent)); + lock { _ = self.testsInExecution.remove(i); - } else if executionCompletionStatus == SUSPENDED { + testCount = self.testsInExecution.length(); + } + } else if executionCompletionStatus == SUSPENDED { + lock { _ = self.testsInExecution.remove(i); - } else { - i += 1; + testCount = self.testsInExecution.length(); } + } else { + i += 1; } } } @@ -241,9 +253,13 @@ isolated class ExecutionManager { return; } testFunctionMetaData.isReadyToExecute = true; - if !testFunction.serialExecution { + } + if !testFunction.serialExecution { + lock { self.parallelTestExecutionList.push(testFunction); - } else { + } + } else { + lock { self.serialTestExecutionList.push(testFunction); } } From bc53c9d2ec1ba708bb3297589a2f26d5982f3a2a Mon Sep 17 00:00:00 2001 From: Thevakumar-Luheerathan Date: Thu, 19 Dec 2024 15:52:41 +0530 Subject: [PATCH 2/3] Change test outputs --- ...iderTest-testArrayDataProviderWithFail.txt | 4 +- ...viderTest-testArrayDataRerunFailedTest.txt | 4 +- ...iderTest-testDataProviderSingleFailure.txt | 6 +- ...aProviderTest-testMapValueDataProvider.txt | 2 +- .../DataProviderTest-testRerunFailedTest.txt | 4 +- ...-testValidDataProviderWithAfterFailing.txt | 2 +- ...testValidDataProviderWithBeforeFailing.txt | 2 +- ...iderTest-testValidDataProviderWithFail.txt | 4 +- .../GroupingTest-failedBeforeEachTest.txt | 2 +- .../GroupingTest-failedBeforeGroupTest.txt | 2 +- ...pingTest-testNonExistingGroupExclusion.txt | 4 +- .../GroupingTest-testSingleGroupExclusion.txt | 2 +- .../GroupingTest-testWhenAfterGroupsFails.txt | 2 +- ...oviderTestCase-testInvalidDataProvider.txt | 6 +- ...viderTestCase-testInvalidDataProvider2.txt | 6 +- ...rTestCase-testInvalidTupleDataProvider.txt | 6 +- ...stMockingFunctionWithIncompatibleTypes.txt | 2 +- .../unix/MockTest-testFunctionMocking.txt | 6 +- ...ockTest-testFunctionMockingModuleLevel.txt | 6 +- ...FunctionMockingThenReturnWithNilRetVal.txt | 2 +- .../unix/MockTest-testObjectMocking.txt | 14 +-- ...kTest-testObjectMocking_NegativeCases1.txt | 2 +- ...kTest-testObjectMocking_NegativeCases2.txt | 2 +- ...kTest-testObjectMocking_NegativeCases3.txt | 2 +- ...kTest-testObjectMocking_NegativeCases4.txt | 2 +- ...kTest-testObjectMocking_NegativeCases5.txt | 2 +- ...kTest-testObjectMocking_NegativeCases6.txt | 2 +- ...kTest-testObjectMocking_NegativeCases7.txt | 2 +- ...kTest-testObjectMocking_NonPublicField.txt | 2 +- .../unix/MockTest-testResourceMocking.txt | 18 +-- .../ModuleExecutionWithInitStartFailures.txt | 2 +- ...racefulStopTest-test-listener-shutdown.txt | 6 +- .../unix/RerunFailedTest-testFullTest.txt | 4 +- .../RerunFailedTest-testRerunFailedTest.txt | 4 +- ...stsTestCase-testSkipWhenAfterEachFails.txt | 2 +- ...ipTestsTestCase-testSkipWhenAfterFails.txt | 4 +- ...tsTestCase-testSkipWhenBeforeEachFails.txt | 2 +- ...pTestsTestCase-testSkipWhenBeforeFails.txt | 4 +- ...TestCase-testSkipWhenBeforeGroupsFails.txt | 4 +- ...sTestCase-testSkipWhenBeforeSuiteFails.txt | 2 +- ...ase-testSkipWhenDependsOnFunctionFails.txt | 2 +- ...tTest-testWarningForCoverageFormatFlag.txt | 2 +- ...stReportTest-testWarningForReportTools.txt | 2 +- ...iderTest-testArrayDataProviderWithFail.txt | 8 +- ...viderTest-testArrayDataRerunFailedTest.txt | 6 +- ...iderTest-testDataProviderSingleFailure.txt | 8 +- ...aProviderTest-testMapValueDataProvider.txt | 2 +- .../DataProviderTest-testRerunFailedTest.txt | 4 +- ...-testValidDataProviderWithAfterFailing.txt | 2 +- ...testValidDataProviderWithBeforeFailing.txt | 2 +- ...iderTest-testValidDataProviderWithFail.txt | 4 +- .../GroupingTest-failedBeforeEachTest.txt | 2 +- .../GroupingTest-failedBeforeGroupTest.txt | 2 +- ...pingTest-testNonExistingGroupExclusion.txt | 4 +- .../GroupingTest-testSingleGroupExclusion.txt | 2 +- .../GroupingTest-testWhenAfterGroupsFails.txt | 2 +- ...oviderTestCase-testInvalidDataProvider.txt | 6 +- ...viderTestCase-testInvalidDataProvider2.txt | 6 +- ...rTestCase-testInvalidTupleDataProvider.txt | 6 +- ...stMockingFunctionWithIncompatibleTypes.txt | 64 +++++----- .../windows/MockTest-testFunctionMocking.txt | 6 +- ...ockTest-testFunctionMockingModuleLevel.txt | 6 +- ...FunctionMockingThenReturnWithNilRetVal.txt | 76 ++++++------ .../windows/MockTest-testObjectMocking.txt | 14 +-- ...kTest-testObjectMocking_NegativeCases1.txt | 2 +- ...kTest-testObjectMocking_NegativeCases2.txt | 2 +- ...kTest-testObjectMocking_NegativeCases3.txt | 2 +- ...kTest-testObjectMocking_NegativeCases4.txt | 8 +- ...kTest-testObjectMocking_NegativeCases5.txt | 2 +- ...kTest-testObjectMocking_NegativeCases6.txt | 2 +- ...kTest-testObjectMocking_NegativeCases7.txt | 2 +- ...kTest-testObjectMocking_NonPublicField.txt | 2 +- .../windows/MockTest-testResourceMocking.txt | 18 +-- .../ModuleExecutionWithInitStartFailures.txt | 2 +- ...racefulStopTest-test-listener-shutdown.txt | 6 +- .../windows/RerunFailedTest-testFullTest.txt | 4 +- .../RerunFailedTest-testRerunFailedTest.txt | 110 +++++++++--------- ...stsTestCase-testSkipWhenAfterEachFails.txt | 2 +- ...ipTestsTestCase-testSkipWhenAfterFails.txt | 4 +- ...tsTestCase-testSkipWhenBeforeEachFails.txt | 2 +- ...pTestsTestCase-testSkipWhenBeforeFails.txt | 4 +- ...TestCase-testSkipWhenBeforeGroupsFails.txt | 4 +- ...sTestCase-testSkipWhenBeforeSuiteFails.txt | 2 +- ...ase-testSkipWhenDependsOnFunctionFails.txt | 2 +- ...tTest-testWarningForCoverageFormatFlag.txt | 2 +- ...stReportTest-testWarningForReportTools.txt | 2 +- 86 files changed, 290 insertions(+), 290 deletions(-) diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testArrayDataProviderWithFail.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testArrayDataProviderWithFail.txt index 2f739aef2063..882c40211b57 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testArrayDataProviderWithFail.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testArrayDataProviderWithFail.txt @@ -30,7 +30,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 @@ -51,7 +51,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testArrayDataRerunFailedTest.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testArrayDataRerunFailedTest.txt index da2556a68913..7e4404948260 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testArrayDataRerunFailedTest.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testArrayDataRerunFailedTest.txt @@ -29,7 +29,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 @@ -50,7 +50,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testDataProviderSingleFailure.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testDataProviderSingleFailure.txt index c5e359a7b505..5c49d2de70fa 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testDataProviderSingleFailure.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testDataProviderSingleFailure.txt @@ -27,17 +27,17 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 ",functionName="testDividingValuesNegative") - callableName: handleTestFuncOutput moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 326 + callableName: handleTestFuncOutput moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 341 callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 130 callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 114 callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testMapValueDataProvider.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testMapValueDataProvider.txt index 7a89e052b865..eb98b766e1c5 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testMapValueDataProvider.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testMapValueDataProvider.txt @@ -27,7 +27,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testRerunFailedTest.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testRerunFailedTest.txt index 9a7f8c2e8dc7..0819abc55976 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testRerunFailedTest.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testRerunFailedTest.txt @@ -29,7 +29,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 @@ -50,7 +50,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testValidDataProviderWithAfterFailing.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testValidDataProviderWithAfterFailing.txt index 4cecc2dd7223..b464f17d2488 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testValidDataProviderWithAfterFailing.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testValidDataProviderWithAfterFailing.txt @@ -16,7 +16,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 106 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testValidDataProviderWithBeforeFailing.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testValidDataProviderWithBeforeFailing.txt index 36abfb3027e5..579c55098adb 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testValidDataProviderWithBeforeFailing.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testValidDataProviderWithBeforeFailing.txt @@ -16,7 +16,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 102 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testValidDataProviderWithFail.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testValidDataProviderWithFail.txt index c81da95491dd..b2ead65c1a53 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testValidDataProviderWithFail.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/DataProviderTest-testValidDataProviderWithFail.txt @@ -30,7 +30,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 @@ -51,7 +51,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-failedBeforeEachTest.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-failedBeforeEachTest.txt index c2a8163d0d71..1c4cb255d45c 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-failedBeforeEachTest.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-failedBeforeEachTest.txt @@ -17,7 +17,7 @@ Running Tests callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 callableName: executeBeforeEachFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 52 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 23 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: failed-before-each-with-groups.bal lineNumber: 95 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-failedBeforeGroupTest.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-failedBeforeGroupTest.txt index c8d39af4a546..d138ec2570ed 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-failedBeforeGroupTest.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-failedBeforeGroupTest.txt @@ -15,7 +15,7 @@ Running Tests callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 callableName: executeBeforeGroupFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 46 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 22 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: failed-before-groups-test.bal lineNumber: 110 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-testNonExistingGroupExclusion.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-testNonExistingGroupExclusion.txt index 4b27633ce68c..707ebb1bffcb 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-testNonExistingGroupExclusion.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-testNonExistingGroupExclusion.txt @@ -28,7 +28,7 @@ Running Tests callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: groups-test.bal lineNumber: 73 @@ -44,7 +44,7 @@ Running Tests callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: groups-test.bal lineNumber: 73 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-testSingleGroupExclusion.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-testSingleGroupExclusion.txt index fd4896903aba..a4a61995f44e 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-testSingleGroupExclusion.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-testSingleGroupExclusion.txt @@ -25,7 +25,7 @@ Running Tests callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: groups-test.bal lineNumber: 73 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-testWhenAfterGroupsFails.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-testWhenAfterGroupsFails.txt index a71cf1da0e3f..01b75f998c62 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-testWhenAfterGroupsFails.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/GroupingTest-testWhenAfterGroupsFails.txt @@ -16,7 +16,7 @@ Running Tests callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 callableName: executeAfterGroupFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 86 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 38 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: failed-after-groups-test.bal lineNumber: 91 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/InvalidDataProviderTestCase-testInvalidDataProvider.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/InvalidDataProviderTestCase-testInvalidDataProvider.txt index 85af93c109b3..1bde71e1f707 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/InvalidDataProviderTestCase-testInvalidDataProvider.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/InvalidDataProviderTestCase-testInvalidDataProvider.txt @@ -21,17 +21,17 @@ Running Tests callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: invalid-data-provider-test.bal lineNumber: 37 ",functionName="testInvalidDataProvider") - callableName: handleTestFuncOutput moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 326 + callableName: handleTestFuncOutput moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 341 callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 130 callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 114 callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: invalid-data-provider-test.bal lineNumber: 37 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/InvalidDataProviderTestCase-testInvalidDataProvider2.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/InvalidDataProviderTestCase-testInvalidDataProvider2.txt index 1bb37ae1fccd..15855a9f3dbf 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/InvalidDataProviderTestCase-testInvalidDataProvider2.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/InvalidDataProviderTestCase-testInvalidDataProvider2.txt @@ -23,17 +23,17 @@ Running Tests callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: invalid-data-provider-test2.bal lineNumber: 39 ",functionName="testInvalidDataProvider2") - callableName: handleTestFuncOutput moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 326 + callableName: handleTestFuncOutput moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 341 callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 130 callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 114 callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: invalid-data-provider-test2.bal lineNumber: 39 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/InvalidDataProviderTestCase-testInvalidTupleDataProvider.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/InvalidDataProviderTestCase-testInvalidTupleDataProvider.txt index dcdbb9b72e57..ecdd3d81df04 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/InvalidDataProviderTestCase-testInvalidTupleDataProvider.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/InvalidDataProviderTestCase-testInvalidTupleDataProvider.txt @@ -20,17 +20,17 @@ Running Tests callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: invalid-data-provider-test3.bal lineNumber: 36 ",functionName="testInvalidTupleDataProvider") - callableName: handleTestFuncOutput moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 326 + callableName: handleTestFuncOutput moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 341 callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 130 callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 114 callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: invalid-data-provider-test3.bal lineNumber: 36 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/InvalidFunctionMockingTestCase-testMockingFunctionWithIncompatibleTypes.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/InvalidFunctionMockingTestCase-testMockingFunctionWithIncompatibleTypes.txt index 43727b9efffc..ad97da0505a1 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/InvalidFunctionMockingTestCase-testMockingFunctionWithIncompatibleTypes.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/InvalidFunctionMockingTestCase-testMockingFunctionWithIncompatibleTypes.txt @@ -18,7 +18,7 @@ Running Tests callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.incompatible_type_mock$test.0.tests.test_execute-generated_*****lineNumber: 8 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testFunctionMocking.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testFunctionMocking.txt index baecd6f868a6..f94a6c6714fa 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testFunctionMocking.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testFunctionMocking.txt @@ -38,7 +38,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 24 @@ -53,7 +53,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 24 @@ -68,7 +68,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 24 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testFunctionMockingModuleLevel.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testFunctionMockingModuleLevel.txt index baecd6f868a6..f94a6c6714fa 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testFunctionMockingModuleLevel.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testFunctionMockingModuleLevel.txt @@ -38,7 +38,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 24 @@ -53,7 +53,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 24 @@ -68,7 +68,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 24 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testFunctionMockingThenReturnWithNilRetVal.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testFunctionMockingThenReturnWithNilRetVal.txt index eb2b395b803b..2da55ffa02d0 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testFunctionMockingThenReturnWithNilRetVal.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testFunctionMockingThenReturnWithNilRetVal.txt @@ -20,7 +20,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 10 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking.txt index 40e7094a2582..fb7cd0ba9a2c 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking.txt @@ -48,7 +48,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 @@ -64,7 +64,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 @@ -80,7 +80,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 @@ -96,7 +96,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 @@ -112,7 +112,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 @@ -128,7 +128,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 @@ -144,7 +144,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases1.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases1.txt index c7c7b4d4ec56..c3af76c4496a 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases1.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases1.txt @@ -21,7 +21,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases2.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases2.txt index 7a9c398dca0b..e2a94a3da880 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases2.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases2.txt @@ -21,7 +21,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases3.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases3.txt index d3162d3b4117..48a0a7dd665c 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases3.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases3.txt @@ -21,7 +21,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases4.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases4.txt index 675530c13ee6..339d497c8a41 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases4.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases4.txt @@ -21,7 +21,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases5.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases5.txt index c0982ce4221f..176efb7b92c1 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases5.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases5.txt @@ -21,7 +21,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases6.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases6.txt index d0888ebff9a5..edd0af6e7a2b 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases6.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases6.txt @@ -21,7 +21,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases7.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases7.txt index bf597411e41c..1105c28ae74e 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases7.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases7.txt @@ -21,7 +21,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NonPublicField.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NonPublicField.txt index c5ea2084d4ad..949a52833e45 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NonPublicField.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NonPublicField.txt @@ -19,7 +19,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.non_public_field_mock$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 8 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testResourceMocking.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testResourceMocking.txt index a32cf59b4aa1..b3a07543024c 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testResourceMocking.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/MockTest-testResourceMocking.txt @@ -62,7 +62,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 @@ -78,7 +78,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 @@ -94,7 +94,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 @@ -109,7 +109,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 @@ -125,7 +125,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 @@ -141,7 +141,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 @@ -157,7 +157,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 @@ -173,7 +173,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 @@ -189,7 +189,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/ModuleExecutionWithInitStartFailures.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/ModuleExecutionWithInitStartFailures.txt index c0425ad6cb0a..cf8ffb1a65ef 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/ModuleExecutionWithInitStartFailures.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/ModuleExecutionWithInitStartFailures.txt @@ -36,7 +36,7 @@ error: Error from start of moduleC callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: wso2.moduleExecutionInitStartFailure.moduleB$test.0.tests.test_execute-generated_*****lineNumber: 10 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/ModuleGracefulStopTest-test-listener-shutdown.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/ModuleGracefulStopTest-test-listener-shutdown.txt index 7c4622dc0896..39389e86b9da 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/ModuleGracefulStopTest-test-listener-shutdown.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/ModuleGracefulStopTest-test-listener-shutdown.txt @@ -31,7 +31,7 @@ Calling start for default module listener callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: wso2.moduleGracefulStopTest$test.0.tests.test_execute-generated_*****lineNumber: 11 @@ -50,7 +50,7 @@ Calling start for default module listener callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: wso2.moduleGracefulStopTest$test.0.tests.test_execute-generated_*****lineNumber: 11 @@ -86,7 +86,7 @@ Calling start for moduleA listener callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: wso2.moduleGracefulStopTest.moduleA$test.0.tests.test_execute-generated_*****lineNumber: 9 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/RerunFailedTest-testFullTest.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/RerunFailedTest-testFullTest.txt index dc906259e0c4..caef0533e5a8 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/RerunFailedTest-testFullTest.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/RerunFailedTest-testFullTest.txt @@ -24,7 +24,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.rerun_failed$test.0.tests.test_execute-generated_*****lineNumber: 11 @@ -40,7 +40,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.rerun_failed$test.0.tests.test_execute-generated_*****lineNumber: 11 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/RerunFailedTest-testRerunFailedTest.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/RerunFailedTest-testRerunFailedTest.txt index 7d0babe7dde1..0bf96faf589d 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/RerunFailedTest-testRerunFailedTest.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/RerunFailedTest-testRerunFailedTest.txt @@ -22,7 +22,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.rerun_failed$test.0.tests.test_execute-generated_*****lineNumber: 11 @@ -38,7 +38,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.rerun_failed$test.0.tests.test_execute-generated_*****lineNumber: 11 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenAfterEachFails.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenAfterEachFails.txt index fa34140a2219..31f2062263e2 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenAfterEachFails.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenAfterEachFails.txt @@ -16,7 +16,7 @@ Running Tests callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 callableName: executeAfterEachFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 80 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 37 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: skip-when-afterEach-fails.bal lineNumber: 63 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenAfterFails.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenAfterFails.txt index bc0252ec9d0a..17df990aed17 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenAfterFails.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenAfterFails.txt @@ -16,7 +16,7 @@ Running Tests callableName: executeAfterFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 136 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 76 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: skip-when-after-fails.bal lineNumber: 69 @@ -43,7 +43,7 @@ Running Tests callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 callableName: executeFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 142 callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 - callableName: executeAfterSuiteFunctions moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 104 + callableName: executeAfterSuiteFunctions moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 119 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 58 callableName: __execute__ fileName: skip-when-after-fails.bal lineNumber: 69 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenBeforeEachFails.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenBeforeEachFails.txt index 224ebb360ce8..2bb635bfc990 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenBeforeEachFails.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenBeforeEachFails.txt @@ -16,7 +16,7 @@ Running Tests callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 callableName: executeBeforeEachFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 52 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 23 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: skip-when-beforeEach-fails.bal lineNumber: 63 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenBeforeFails.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenBeforeFails.txt index 6e4e677bb568..7a819dfdb9ac 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenBeforeFails.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenBeforeFails.txt @@ -16,7 +16,7 @@ Running Tests callableName: executeBeforeFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 121 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 68 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: skip-when-before-fails.bal lineNumber: 66 @@ -43,7 +43,7 @@ Running Tests callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 callableName: executeFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 142 callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 - callableName: executeAfterSuiteFunctions moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 104 + callableName: executeAfterSuiteFunctions moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 119 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 58 callableName: __execute__ fileName: skip-when-before-fails.bal lineNumber: 66 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenBeforeGroupsFails.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenBeforeGroupsFails.txt index fb6ed0dcdba7..c7cb33b1c13b 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenBeforeGroupsFails.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenBeforeGroupsFails.txt @@ -16,7 +16,7 @@ Running Tests callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 callableName: executeBeforeGroupFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 46 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 22 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: skip-when-beforeGroups-fails.bal lineNumber: 97 @@ -43,7 +43,7 @@ Running Tests callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 callableName: executeFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 142 callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 - callableName: executeAfterSuiteFunctions moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 104 + callableName: executeAfterSuiteFunctions moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 119 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 58 callableName: __execute__ fileName: skip-when-beforeGroups-fails.bal lineNumber: 97 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenBeforeSuiteFails.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenBeforeSuiteFails.txt index 1ce1fbd9b50d..3884ee11bd3d 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenBeforeSuiteFails.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenBeforeSuiteFails.txt @@ -14,7 +14,7 @@ Running Tests callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 callableName: executeFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 142 callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 - callableName: executeBeforeSuiteFunctions moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 94 + callableName: executeBeforeSuiteFunctions moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 109 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 52 callableName: __execute__ fileName: skip-when-beforeSuite-fails.bal lineNumber: 87 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenDependsOnFunctionFails.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenDependsOnFunctionFails.txt index 2f1a3c84fd1d..2c1624c3d1db 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenDependsOnFunctionFails.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/SkipTestsTestCase-testSkipWhenDependsOnFunctionFails.txt @@ -22,7 +22,7 @@ Running Tests callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: dependson-skip-test.bal lineNumber: 67 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/TestReportTest-testWarningForCoverageFormatFlag.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/TestReportTest-testWarningForCoverageFormatFlag.txt index f9e12e7b0914..046f690a5b6b 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/TestReportTest-testWarningForCoverageFormatFlag.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/TestReportTest-testWarningForCoverageFormatFlag.txt @@ -22,7 +22,7 @@ Running Tests callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: testerina_report.foo$test.0.tests.test_execute-generated_*****lineNumber: 10 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/TestReportTest-testWarningForReportTools.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/TestReportTest-testWarningForReportTools.txt index d4990b9cf48f..e1cc2e9e7b4b 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/unix/TestReportTest-testWarningForReportTools.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/unix/TestReportTest-testWarningForReportTools.txt @@ -21,7 +21,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: testerina_report.foo$test.0.tests.test_execute-generated_*****lineNumber: 10 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testArrayDataProviderWithFail.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testArrayDataProviderWithFail.txt index cec97ac372ac..594ede74564a 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testArrayDataProviderWithFail.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testArrayDataProviderWithFail.txt @@ -30,7 +30,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 @@ -51,7 +51,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 @@ -71,6 +71,6 @@ Running Tests with Coverage Test execution time :*****s Generating Test Report - data-providers\target\report\test_results.json + data-providers/target/report/test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testArrayDataRerunFailedTest.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testArrayDataRerunFailedTest.txt index c9c2186ffb97..00867498d1a8 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testArrayDataRerunFailedTest.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testArrayDataRerunFailedTest.txt @@ -29,7 +29,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 @@ -50,7 +50,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 @@ -72,4 +72,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testDataProviderSingleFailure.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testDataProviderSingleFailure.txt index 6c71cc7db4aa..db43ae52d9a8 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testDataProviderSingleFailure.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testDataProviderSingleFailure.txt @@ -27,17 +27,17 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 ",functionName="testDividingValuesNegative") - callableName: handleTestFuncOutput moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 326 + callableName: handleTestFuncOutput moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 341 callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 130 callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 114 callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 @@ -59,4 +59,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testMapValueDataProvider.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testMapValueDataProvider.txt index e8a275a2d0e1..4b79bc3d98b3 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testMapValueDataProvider.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testMapValueDataProvider.txt @@ -27,7 +27,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testRerunFailedTest.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testRerunFailedTest.txt index e91f9eb0e13b..fb34d47290ae 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testRerunFailedTest.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testRerunFailedTest.txt @@ -29,7 +29,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 @@ -50,7 +50,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithAfterFailing.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithAfterFailing.txt index 23c5266031ce..4eeb59e11e35 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithAfterFailing.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithAfterFailing.txt @@ -16,7 +16,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 106 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithBeforeFailing.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithBeforeFailing.txt index b9ffa75f5e6e..98245648dd8f 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithBeforeFailing.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithBeforeFailing.txt @@ -16,7 +16,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 102 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithFail.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithFail.txt index 2445965deb0a..eab766c4b944 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithFail.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithFail.txt @@ -30,7 +30,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 @@ -51,7 +51,7 @@ Running Tests with Coverage callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.dataproviders$test.0.tests.test_execute-generated_*****lineNumber: 27 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-failedBeforeEachTest.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-failedBeforeEachTest.txt index c62c33763961..d36955026d43 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-failedBeforeEachTest.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-failedBeforeEachTest.txt @@ -17,7 +17,7 @@ Running Tests callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 callableName: executeBeforeEachFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 52 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 23 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: failed-before-each-with-groups.bal lineNumber: 95 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-failedBeforeGroupTest.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-failedBeforeGroupTest.txt index 68516b878beb..f06665ddfb23 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-failedBeforeGroupTest.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-failedBeforeGroupTest.txt @@ -15,7 +15,7 @@ Running Tests callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 callableName: executeBeforeGroupFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 46 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 22 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: failed-before-groups-test.bal lineNumber: 110 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-testNonExistingGroupExclusion.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-testNonExistingGroupExclusion.txt index b82d768e4c28..fe3f44b2052b 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-testNonExistingGroupExclusion.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-testNonExistingGroupExclusion.txt @@ -28,7 +28,7 @@ Running Tests callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: groups-test.bal lineNumber: 73 @@ -44,7 +44,7 @@ Running Tests callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: groups-test.bal lineNumber: 73 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-testSingleGroupExclusion.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-testSingleGroupExclusion.txt index 7fc696d17ffc..e51d518ca5a9 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-testSingleGroupExclusion.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-testSingleGroupExclusion.txt @@ -25,7 +25,7 @@ Running Tests callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: groups-test.bal lineNumber: 73 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-testWhenAfterGroupsFails.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-testWhenAfterGroupsFails.txt index 1575f5a9e4a5..618d012b8917 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-testWhenAfterGroupsFails.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/GroupingTest-testWhenAfterGroupsFails.txt @@ -16,7 +16,7 @@ Running Tests callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 callableName: executeAfterGroupFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 86 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 38 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: failed-after-groups-test.bal lineNumber: 91 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/InvalidDataProviderTestCase-testInvalidDataProvider.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/InvalidDataProviderTestCase-testInvalidDataProvider.txt index bcbe73b7d4c7..8fa29cccc8b0 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/InvalidDataProviderTestCase-testInvalidDataProvider.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/InvalidDataProviderTestCase-testInvalidDataProvider.txt @@ -21,17 +21,17 @@ Running Tests callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: invalid-data-provider-test.bal lineNumber: 37 ",functionName="testInvalidDataProvider") - callableName: handleTestFuncOutput moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 326 + callableName: handleTestFuncOutput moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 341 callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 130 callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 114 callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: invalid-data-provider-test.bal lineNumber: 37 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/InvalidDataProviderTestCase-testInvalidDataProvider2.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/InvalidDataProviderTestCase-testInvalidDataProvider2.txt index cecfee58b15f..b892f57d6d5e 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/InvalidDataProviderTestCase-testInvalidDataProvider2.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/InvalidDataProviderTestCase-testInvalidDataProvider2.txt @@ -23,17 +23,17 @@ Running Tests callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: invalid-data-provider-test2.bal lineNumber: 39 ",functionName="testInvalidDataProvider2") - callableName: handleTestFuncOutput moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 326 + callableName: handleTestFuncOutput moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 341 callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 130 callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 114 callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: invalid-data-provider-test2.bal lineNumber: 39 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/InvalidDataProviderTestCase-testInvalidTupleDataProvider.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/InvalidDataProviderTestCase-testInvalidTupleDataProvider.txt index 86770687cebc..a26b9aea8411 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/InvalidDataProviderTestCase-testInvalidTupleDataProvider.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/InvalidDataProviderTestCase-testInvalidTupleDataProvider.txt @@ -20,17 +20,17 @@ Running Tests callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: invalid-data-provider-test3.bal lineNumber: 36 ",functionName="testInvalidTupleDataProvider") - callableName: handleTestFuncOutput moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 326 + callableName: handleTestFuncOutput moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 341 callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 130 callableName: executeDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 114 callableName: prepareDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 105 callableName: executeDataDrivenTestSet moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 63 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 28 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: invalid-data-provider-test3.bal lineNumber: 36 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/InvalidFunctionMockingTestCase-testMockingFunctionWithIncompatibleTypes.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/InvalidFunctionMockingTestCase-testMockingFunctionWithIncompatibleTypes.txt index 56ce0d82ad7b..98979000245d 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/InvalidFunctionMockingTestCase-testMockingFunctionWithIncompatibleTypes.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/InvalidFunctionMockingTestCase-testMockingFunctionWithIncompatibleTypes.txt @@ -1,32 +1,32 @@ -Compiling source - intg_tests/incompatible_type_mock:0.1.0 - -Running Tests - - incompatible_type_mock - - functionMockingTest has failed. - - - [fail] functionMockingTest: - - error {ballerina/test:0}FunctionSignatureMismatchError ("Return type of function stringHello does not match function intAdd") - callableName: mockHandler moduleName: ballerina.test.0 fileName: mock.bal lineNumber: 590 - callableName: functionMockingTest moduleName: intg_tests.incompatible_type_mock$test.0.tests.test fileName: tests/test.bal lineNumber: 15 - callableName: functionMockingTest$lambda0$ moduleName: intg_tests.incompatible_type_mock$test.0.tests.test_execute-generated_*****lineNumber: 4 - callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 - callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 - callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 - callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 - callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 - callableName: __execute__ moduleName: intg_tests.incompatible_type_mock$test.0.tests.test_execute-generated_*****lineNumber: 8 - - - - 0 passing - 1 failing - 0 skipped - - Test execution time :*****s -error: there are test failures +Compiling source + intg_tests/incompatible_type_mock:0.1.0 + +Running Tests + + incompatible_type_mock + + functionMockingTest has failed. + + + [fail] functionMockingTest: + + error {ballerina/test:0}FunctionSignatureMismatchError ("Return type of function stringHello does not match function intAdd") + callableName: mockHandler moduleName: ballerina.test.0 fileName: mock.bal lineNumber: 590 + callableName: functionMockingTest moduleName: intg_tests.incompatible_type_mock$test.0.tests.test fileName: tests/test.bal lineNumber: 15 + callableName: functionMockingTest$lambda0$ moduleName: intg_tests.incompatible_type_mock$test.0.tests.test_execute-generated_*****lineNumber: 4 + callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 + callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 + callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 + callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 + callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 + callableName: __execute__ moduleName: intg_tests.incompatible_type_mock$test.0.tests.test_execute-generated_*****lineNumber: 8 + + + + 0 passing + 1 failing + 0 skipped + + Test execution time :*****s +error: there are test failures diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMocking.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMocking.txt index 56d21878ad65..e23f7b5d697d 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMocking.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMocking.txt @@ -38,7 +38,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 24 @@ -53,7 +53,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 24 @@ -68,7 +68,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 24 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingModuleLevel.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingModuleLevel.txt index 56d21878ad65..e23f7b5d697d 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingModuleLevel.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingModuleLevel.txt @@ -38,7 +38,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 24 @@ -53,7 +53,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 24 @@ -68,7 +68,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 24 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingThenReturnWithNilRetVal.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingThenReturnWithNilRetVal.txt index ac67c0905f91..61c6b1a70c43 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingThenReturnWithNilRetVal.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingThenReturnWithNilRetVal.txt @@ -1,38 +1,38 @@ -Compiling source - intg_tests/function_mocking:0.0.0 - -Running Tests with Coverage - - function_mocking - - testFunctionMock3 has failed. - - [pass] testFunctionMock - [pass] testFunctionMock2 - - [fail] testFunctionMock3: - - error {ballerina/test:0}FunctionCallError ("no return value or action registered for function") - callableName: mockHandler moduleName: ballerina.test.0 fileName: mock.bal lineNumber: 590 - callableName: testFunctionMock3 moduleName: intg_tests.function_mocking$test.0.tests.tests fileName: tests/tests.bal lineNumber: 43 - callableName: testFunctionMock3$lambda2$ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 6 - callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 - callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 - callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 - callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 - callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 - callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 10 - - - - 2 passing - 1 failing - 0 skipped - - Test execution time :*****s - -Generating Test Report - function-mocking-tests-then-return-with-nil-ret-val\target\report\test_results.json - -error: there are test failures +Compiling source + intg_tests/function_mocking:0.0.0 + +Running Tests with Coverage + + function_mocking + + testFunctionMock3 has failed. + + [pass] testFunctionMock + [pass] testFunctionMock2 + + [fail] testFunctionMock3: + + error {ballerina/test:0}FunctionCallError ("no return value or action registered for function") + callableName: mockHandler moduleName: ballerina.test.0 fileName: mock.bal lineNumber: 590 + callableName: testFunctionMock3 moduleName: intg_tests.function_mocking$test.0.tests.tests fileName: tests/tests.bal lineNumber: 43 + callableName: testFunctionMock3$lambda2$ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 6 + callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 + callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 + callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 + callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 + callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 + callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 10 + + + + 2 passing + 1 failing + 0 skipped + + Test execution time :*****s + +Generating Test Report + function-mocking-tests-then-return-with-nil-ret-val\target\report\test_results.json + +error: there are test failures diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking.txt index 79d948187c11..853e72892be9 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking.txt @@ -48,7 +48,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 @@ -64,7 +64,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 @@ -80,7 +80,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 @@ -96,7 +96,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 @@ -112,7 +112,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 @@ -128,7 +128,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 @@ -144,7 +144,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases1.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases1.txt index c285b9287a47..ba1598df1800 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases1.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases1.txt @@ -21,7 +21,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases2.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases2.txt index 315ab92fcc97..ed91c895677a 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases2.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases2.txt @@ -21,7 +21,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases3.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases3.txt index 9c23005ffcf9..c612b5767754 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases3.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases3.txt @@ -21,7 +21,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases4.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases4.txt index 83d1b1f02045..3dbd8d84e4a4 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases4.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases4.txt @@ -1,6 +1,6 @@ Compiling source intg_tests/object_mocking:0.0.0 -WARNING [modules\TestHttpClient\main.bal:(64:45,64:82)] this function should explicitly return a value +WARNING [modules/TestHttpClient/main.bal:(64:45,64:82)] this function should explicitly return a value WARNING [main.bal:(53:5,53:47)] unused variable 'closeErr' Running Tests with Coverage @@ -21,7 +21,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 @@ -33,6 +33,6 @@ Running Tests with Coverage Test execution time :*****s -Generating Test Report*****project-based-tests\object-mocking-tests\target\report\test_results.json +Generating Test Report*****project-based-tests/object-mocking-tests/target/report/test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases5.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases5.txt index 38594227cb42..d5f1b9aeaefa 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases5.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases5.txt @@ -21,7 +21,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases6.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases6.txt index 6146c74f0391..114e48e52cbe 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases6.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases6.txt @@ -21,7 +21,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases7.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases7.txt index 4ff1b75482f6..0d2d7baa6e73 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases7.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases7.txt @@ -21,7 +21,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.object_mocking$test.0.tests.test_execute-generated_*****lineNumber: 23 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NonPublicField.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NonPublicField.txt index 6127b886faee..2f6988b3cfdc 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NonPublicField.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NonPublicField.txt @@ -19,7 +19,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.non_public_field_mock$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 8 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testResourceMocking.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testResourceMocking.txt index b3c9d0eb2ab2..4c930512868d 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testResourceMocking.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testResourceMocking.txt @@ -62,7 +62,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 @@ -78,7 +78,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 @@ -94,7 +94,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 @@ -109,7 +109,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 @@ -125,7 +125,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 @@ -141,7 +141,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 @@ -157,7 +157,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 @@ -173,7 +173,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 @@ -189,7 +189,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: luheerathan.test1$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 36 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/ModuleExecutionWithInitStartFailures.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/ModuleExecutionWithInitStartFailures.txt index 506934039394..c055e1e5ec95 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/ModuleExecutionWithInitStartFailures.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/ModuleExecutionWithInitStartFailures.txt @@ -36,7 +36,7 @@ error: Error from start of moduleC callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: wso2.moduleExecutionInitStartFailure.moduleB$test.0.tests.test_execute-generated_*****lineNumber: 10 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/ModuleGracefulStopTest-test-listener-shutdown.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/ModuleGracefulStopTest-test-listener-shutdown.txt index 0bfed2889c08..b7a0d0e37550 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/ModuleGracefulStopTest-test-listener-shutdown.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/ModuleGracefulStopTest-test-listener-shutdown.txt @@ -31,7 +31,7 @@ Calling start for default module listener callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: wso2.moduleGracefulStopTest$test.0.tests.test_execute-generated_*****lineNumber: 11 @@ -50,7 +50,7 @@ Calling start for default module listener callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: wso2.moduleGracefulStopTest$test.0.tests.test_execute-generated_*****lineNumber: 11 @@ -86,7 +86,7 @@ Calling start for moduleA listener callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: wso2.moduleGracefulStopTest.moduleA$test.0.tests.test_execute-generated_*****lineNumber: 9 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/RerunFailedTest-testFullTest.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/RerunFailedTest-testFullTest.txt index 14e07f1a33d5..3920df5c032b 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/RerunFailedTest-testFullTest.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/RerunFailedTest-testFullTest.txt @@ -24,7 +24,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.rerun_failed$test.0.tests.test_execute-generated_*****lineNumber: 11 @@ -40,7 +40,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: intg_tests.rerun_failed$test.0.tests.test_execute-generated_*****lineNumber: 11 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/RerunFailedTest-testRerunFailedTest.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/RerunFailedTest-testRerunFailedTest.txt index ca61944fe8ac..5258b5b79c08 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/RerunFailedTest-testRerunFailedTest.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/RerunFailedTest-testRerunFailedTest.txt @@ -1,56 +1,56 @@ -Compiling source - intg_tests/rerun_failed:0.0.0 - -Running Tests with Coverage - - rerun_failed - - testFunctionFail1: has failed. - - - testFunctionFail2: has failed. - - - [fail] testFunctionFail1: - - error {ballerina/test:0}TestError ("Failed!") - callableName: createBallerinaError moduleName: ballerina.test.0 fileName: assert.bal lineNumber: 41 - callableName: assertTrue moduleName: ballerina.test.0 fileName: assert.bal lineNumber: 61 - callableName: testFunctionFail1 moduleName: intg_tests.rerun_failed$test.0.tests.main_test fileName: tests/main_test.bal lineNumber: 35 - callableName: testFunctionFail1$lambda2$ moduleName: intg_tests.rerun_failed$test.0.tests.test_execute-generated_*****lineNumber: 6 - callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 - callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 - callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 - callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 - callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 - callableName: __execute__ moduleName: intg_tests.rerun_failed$test.0.tests.test_execute-generated_*****lineNumber: 11 - - - [fail] testFunctionFail2: - - error {ballerina/test:0}TestError ("Failed!") - callableName: createBallerinaError moduleName: ballerina.test.0 fileName: assert.bal lineNumber: 41 - callableName: assertTrue moduleName: ballerina.test.0 fileName: assert.bal lineNumber: 61 - callableName: testFunctionFail2 moduleName: intg_tests.rerun_failed$test.0.tests.main_test fileName: tests/main_test.bal lineNumber: 41 - callableName: testFunctionFail2$lambda3$ moduleName: intg_tests.rerun_failed$test.0.tests.test_execute-generated_*****lineNumber: 7 - callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 - callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 - callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 - callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 - callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 - callableName: __execute__ moduleName: intg_tests.rerun_failed$test.0.tests.test_execute-generated_*****lineNumber: 11 - - - - 0 passing - 2 failing - 0 skipped - - Test execution time :*****s - -Generating Test Report - rerun-failed-tests\target\report\test_results.json - +Compiling source + intg_tests/rerun_failed:0.0.0 + +Running Tests with Coverage + + rerun_failed + + testFunctionFail1: has failed. + + + testFunctionFail2: has failed. + + + [fail] testFunctionFail1: + + error {ballerina/test:0}TestError ("Failed!") + callableName: createBallerinaError moduleName: ballerina.test.0 fileName: assert.bal lineNumber: 41 + callableName: assertTrue moduleName: ballerina.test.0 fileName: assert.bal lineNumber: 61 + callableName: testFunctionFail1 moduleName: intg_tests.rerun_failed$test.0.tests.main_test fileName: tests/main_test.bal lineNumber: 35 + callableName: testFunctionFail1$lambda2$ moduleName: intg_tests.rerun_failed$test.0.tests.test_execute-generated_*****lineNumber: 6 + callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 + callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 + callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 + callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 + callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 + callableName: __execute__ moduleName: intg_tests.rerun_failed$test.0.tests.test_execute-generated_*****lineNumber: 11 + + + [fail] testFunctionFail2: + + error {ballerina/test:0}TestError ("Failed!") + callableName: createBallerinaError moduleName: ballerina.test.0 fileName: assert.bal lineNumber: 41 + callableName: assertTrue moduleName: ballerina.test.0 fileName: assert.bal lineNumber: 61 + callableName: testFunctionFail2 moduleName: intg_tests.rerun_failed$test.0.tests.main_test fileName: tests/main_test.bal lineNumber: 41 + callableName: testFunctionFail2$lambda3$ moduleName: intg_tests.rerun_failed$test.0.tests.test_execute-generated_*****lineNumber: 7 + callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 + callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 + callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 + callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 + callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 + callableName: __execute__ moduleName: intg_tests.rerun_failed$test.0.tests.test_execute-generated_*****lineNumber: 11 + + + + 0 passing + 2 failing + 0 skipped + + Test execution time :*****s + +Generating Test Report + rerun-failed-tests\target\report\test_results.json + error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenAfterEachFails.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenAfterEachFails.txt index c6bf48194b89..9981d6ba1d0e 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenAfterEachFails.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenAfterEachFails.txt @@ -16,7 +16,7 @@ Running Tests callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 callableName: executeAfterEachFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 80 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 37 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: skip-when-afterEach-fails.bal lineNumber: 63 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenAfterFails.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenAfterFails.txt index 1a761706b872..c6d61110966b 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenAfterFails.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenAfterFails.txt @@ -16,7 +16,7 @@ Running Tests callableName: executeAfterFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 136 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 76 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: skip-when-after-fails.bal lineNumber: 69 @@ -43,7 +43,7 @@ Running Tests callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 callableName: executeFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 142 callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 - callableName: executeAfterSuiteFunctions moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 104 + callableName: executeAfterSuiteFunctions moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 119 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 58 callableName: __execute__ fileName: skip-when-after-fails.bal lineNumber: 69 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenBeforeEachFails.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenBeforeEachFails.txt index 5dd7a89ccc3c..7e1e034dce10 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenBeforeEachFails.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenBeforeEachFails.txt @@ -16,7 +16,7 @@ Running Tests callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 callableName: executeBeforeEachFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 52 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 23 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: skip-when-beforeEach-fails.bal lineNumber: 63 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenBeforeFails.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenBeforeFails.txt index ad742ce87f36..0556d2cc6146 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenBeforeFails.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenBeforeFails.txt @@ -16,7 +16,7 @@ Running Tests callableName: executeBeforeFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 121 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 68 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: skip-when-before-fails.bal lineNumber: 66 @@ -43,7 +43,7 @@ Running Tests callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 callableName: executeFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 142 callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 - callableName: executeAfterSuiteFunctions moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 104 + callableName: executeAfterSuiteFunctions moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 119 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 58 callableName: __execute__ fileName: skip-when-before-fails.bal lineNumber: 66 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenBeforeGroupsFails.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenBeforeGroupsFails.txt index 2ba3edb78fb7..0b00ad8577e2 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenBeforeGroupsFails.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenBeforeGroupsFails.txt @@ -16,7 +16,7 @@ Running Tests callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 callableName: executeBeforeGroupFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 46 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 22 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: skip-when-beforeGroups-fails.bal lineNumber: 97 @@ -43,7 +43,7 @@ Running Tests callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 callableName: executeFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 142 callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 - callableName: executeAfterSuiteFunctions moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 104 + callableName: executeAfterSuiteFunctions moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 119 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 58 callableName: __execute__ fileName: skip-when-beforeGroups-fails.bal lineNumber: 97 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenBeforeSuiteFails.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenBeforeSuiteFails.txt index 72e537d06c0a..72881a5e29d0 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenBeforeSuiteFails.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenBeforeSuiteFails.txt @@ -14,7 +14,7 @@ Running Tests callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 callableName: executeFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 142 callableName: executeFunctions moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 96 - callableName: executeBeforeSuiteFunctions moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 94 + callableName: executeBeforeSuiteFunctions moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 109 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 52 callableName: __execute__ fileName: skip-when-beforeSuite-fails.bal lineNumber: 87 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenDependsOnFunctionFails.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenDependsOnFunctionFails.txt index 7254eb90bf01..d5f9d12e697c 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenDependsOnFunctionFails.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/SkipTestsTestCase-testSkipWhenDependsOnFunctionFails.txt @@ -22,7 +22,7 @@ Running Tests callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ fileName: dependson-skip-test.bal lineNumber: 67 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/TestReportTest-testWarningForCoverageFormatFlag.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/TestReportTest-testWarningForCoverageFormatFlag.txt index 0e937091fff7..ad27da3c16d0 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/TestReportTest-testWarningForCoverageFormatFlag.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/TestReportTest-testWarningForCoverageFormatFlag.txt @@ -22,7 +22,7 @@ Running Tests callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: testerina_report.foo$test.0.tests.test_execute-generated_*****lineNumber: 10 diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/TestReportTest-testWarningForReportTools.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/TestReportTest-testWarningForReportTools.txt index b3a1813a2146..f4b553b753c5 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/TestReportTest-testWarningForReportTools.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/TestReportTest-testWarningForReportTools.txt @@ -21,7 +21,7 @@ Running Tests with Coverage callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 81 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 callableName: __execute__ moduleName: testerina_report.foo$test.0.tests.test_execute-generated_*****lineNumber: 10 From 59fb17284387a191082e74b1b2dc0c49662582c8 Mon Sep 17 00:00:00 2001 From: Thevakumar-Luheerathan Date: Wed, 1 Jan 2025 22:00:57 -0800 Subject: [PATCH 3/3] Add windows test results --- ...iderTest-testArrayDataProviderWithFail.txt | 4 +- ...viderTest-testArrayDataRerunFailedTest.txt | 2 +- ...DataProviderTest-testCodeFragmentKeys0.txt | 2 +- ...DataProviderTest-testCodeFragmentKeys1.txt | 2 +- ...DataProviderTest-testCodeFragmentKeys2.txt | 2 +- ...DataProviderTest-testCodeFragmentKeys3.txt | 2 +- ...DataProviderTest-testCodeFragmentKeys4.txt | 2 +- ...DataProviderTest-testCodeFragmentKeys5.txt | 2 +- ...DataProviderTest-testCodeFragmentKeys6.txt | 2 +- ...Test-testCodeFragmentKeysWithWildCard0.txt | 2 +- ...Test-testCodeFragmentKeysWithWildCard1.txt | 2 +- ...Test-testCodeFragmentKeysWithWildCard2.txt | 2 +- ...Test-testCodeFragmentKeysWithWildCard3.txt | 2 +- ...Test-testCodeFragmentKeysWithWildCard4.txt | 2 +- ...Test-testCodeFragmentKeysWithWildCard5.txt | 2 +- ...Test-testCodeFragmentKeysWithWildCard6.txt | 2 +- ...iderTest-testDataProviderSingleFailure.txt | 2 +- ...iderTest-testDataProviderWithMixedType.txt | 2 +- ...aProviderTest-testMapValueDataProvider.txt | 2 +- ...iderTest-testMultiModuleSingleTestExec.txt | 2 +- .../DataProviderTest-testRerunFailedTest.txt | 2 +- ...DataProviderTest-testValidDataProvider.txt | 2 +- ...ProviderTest-testValidDataProviderCase.txt | 2 +- ...-testValidDataProviderWithAfterFailing.txt | 2 +- ...idDataProviderWithBeforeAfterFunctions.txt | 2 +- ...testValidDataProviderWithBeforeFailing.txt | 2 +- ...iderTest-testValidDataProviderWithFail.txt | 2 +- .../DataProviderTest-testWithSpecialKeys.txt | 2 +- .../MockTest-testCoverageWithMocking.txt | 2 +- ...kTest-testFuncMockInMultiModulesWDepen.txt | 2 +- .../windows/MockTest-testFunctionMocking.txt | 2 +- .../MockTest-testFunctionMockingLegacy.txt | 2 +- ...ockTest-testFunctionMockingModuleLevel.txt | 2 +- ...FunctionMockingThenReturnWithNilRetVal.txt | 76 +++++++++---------- .../windows/MockTest-testObjectMockDouble.txt | 2 +- .../windows/MockTest-testObjectMocking.txt | 2 +- ...kTest-testObjectMocking_NegativeCases1.txt | 2 +- ...kTest-testObjectMocking_NegativeCases2.txt | 2 +- ...kTest-testObjectMocking_NegativeCases3.txt | 2 +- ...kTest-testObjectMocking_NegativeCases4.txt | 6 +- ...kTest-testObjectMocking_NegativeCases5.txt | 2 +- ...kTest-testObjectMocking_NegativeCases6.txt | 2 +- ...kTest-testObjectMocking_NegativeCases7.txt | 2 +- ...kTest-testObjectMocking_NonPublicField.txt | 2 +- .../windows/MockTest-testResourceMocking.txt | 2 +- 45 files changed, 85 insertions(+), 85 deletions(-) diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testArrayDataProviderWithFail.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testArrayDataProviderWithFail.txt index 594ede74564a..b201cda064a9 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testArrayDataProviderWithFail.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testArrayDataProviderWithFail.txt @@ -71,6 +71,6 @@ Running Tests with Coverage Test execution time :*****s Generating Test Report - data-providers/target/report/test_results.json + data-providers\target\report\test_results.json -error: there are test failures \ No newline at end of file +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testArrayDataRerunFailedTest.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testArrayDataRerunFailedTest.txt index 00867498d1a8..56eeeba1a081 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testArrayDataRerunFailedTest.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testArrayDataRerunFailedTest.txt @@ -72,4 +72,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json -error: there are test failures \ No newline at end of file +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys0.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys0.txt index 36e950726ca0..54034e214132 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys0.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys0.txt @@ -24,4 +24,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys1.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys1.txt index 39b96e58df95..1a64d683931e 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys1.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys1.txt @@ -24,4 +24,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys2.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys2.txt index 846fbfc0eab9..8a5c9ed04b68 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys2.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys2.txt @@ -26,4 +26,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys3.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys3.txt index 8df54d7c847a..8d92ad74d5a4 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys3.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys3.txt @@ -24,4 +24,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys4.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys4.txt index a9da367d8d27..5bfb1f07df17 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys4.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys4.txt @@ -24,4 +24,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys5.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys5.txt index ce01863d1b3e..28aca76372a4 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys5.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys5.txt @@ -24,4 +24,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys6.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys6.txt index 59daf1e51894..e10c3f965f5b 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys6.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeys6.txt @@ -24,4 +24,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard0.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard0.txt index 36e950726ca0..54034e214132 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard0.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard0.txt @@ -24,4 +24,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard1.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard1.txt index 39b96e58df95..1a64d683931e 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard1.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard1.txt @@ -24,4 +24,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard2.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard2.txt index 846fbfc0eab9..8a5c9ed04b68 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard2.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard2.txt @@ -26,4 +26,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard3.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard3.txt index 8df54d7c847a..8d92ad74d5a4 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard3.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard3.txt @@ -24,4 +24,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard4.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard4.txt index a9da367d8d27..5bfb1f07df17 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard4.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard4.txt @@ -24,4 +24,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard5.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard5.txt index ce01863d1b3e..28aca76372a4 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard5.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard5.txt @@ -24,4 +24,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard6.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard6.txt index 59daf1e51894..e10c3f965f5b 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard6.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testCodeFragmentKeysWithWildCard6.txt @@ -24,4 +24,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testDataProviderSingleFailure.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testDataProviderSingleFailure.txt index db43ae52d9a8..abd9a1f4f6c4 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testDataProviderSingleFailure.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testDataProviderSingleFailure.txt @@ -59,4 +59,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json -error: there are test failures \ No newline at end of file +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testDataProviderWithMixedType.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testDataProviderWithMixedType.txt index 63796d312b20..192ff4317acd 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testDataProviderWithMixedType.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testDataProviderWithMixedType.txt @@ -25,4 +25,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testMapValueDataProvider.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testMapValueDataProvider.txt index 4b79bc3d98b3..db96c8d57e7c 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testMapValueDataProvider.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testMapValueDataProvider.txt @@ -49,4 +49,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testMultiModuleSingleTestExec.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testMultiModuleSingleTestExec.txt index 81d65f58a0a3..f00009fb4c42 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testMultiModuleSingleTestExec.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testMultiModuleSingleTestExec.txt @@ -24,4 +24,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testRerunFailedTest.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testRerunFailedTest.txt index fb34d47290ae..a27f17e070ee 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testRerunFailedTest.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testRerunFailedTest.txt @@ -72,4 +72,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProvider.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProvider.txt index 6be496f855a4..6a968dd2f011 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProvider.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProvider.txt @@ -25,4 +25,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderCase.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderCase.txt index 24d228d4e228..fe3268391839 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderCase.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderCase.txt @@ -24,4 +24,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithAfterFailing.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithAfterFailing.txt index 4eeb59e11e35..c24657c26de1 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithAfterFailing.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithAfterFailing.txt @@ -44,4 +44,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithBeforeAfterFunctions.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithBeforeAfterFunctions.txt index 7b00744184aa..8824ffd51cc2 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithBeforeAfterFunctions.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithBeforeAfterFunctions.txt @@ -29,4 +29,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithBeforeFailing.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithBeforeFailing.txt index 98245648dd8f..5d689321973f 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithBeforeFailing.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithBeforeFailing.txt @@ -43,4 +43,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithFail.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithFail.txt index eab766c4b944..91ec1a5885c2 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithFail.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testValidDataProviderWithFail.txt @@ -73,4 +73,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testWithSpecialKeys.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testWithSpecialKeys.txt index 4b115af65bcd..148b8f8a0e8d 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testWithSpecialKeys.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/DataProviderTest-testWithSpecialKeys.txt @@ -26,4 +26,4 @@ Running Tests with Coverage Generating Test Report data-providers\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testCoverageWithMocking.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testCoverageWithMocking.txt index 37f2595db232..2039f4c157d6 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testCoverageWithMocking.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testCoverageWithMocking.txt @@ -27,4 +27,4 @@ Running Tests with Coverage Generating Test Report mocking-coverage-tests\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFuncMockInMultiModulesWDepen.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFuncMockInMultiModulesWDepen.txt index 2c69a8a8f108..84fd7de0506c 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFuncMockInMultiModulesWDepen.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFuncMockInMultiModulesWDepen.txt @@ -25,4 +25,4 @@ Running Tests with Coverage Generating Test Report function-mocking-tests-with-dependencies\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMocking.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMocking.txt index e23f7b5d697d..2922b2df1407 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMocking.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMocking.txt @@ -95,4 +95,4 @@ Running Tests with Coverage Generating Test Report function-mocking-tests\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingLegacy.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingLegacy.txt index 899385d91a57..89c9d618def3 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingLegacy.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingLegacy.txt @@ -16,4 +16,4 @@ Running Tests with Coverage Generating Test Report legacy-function-mocking-tests\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingModuleLevel.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingModuleLevel.txt index e23f7b5d697d..2922b2df1407 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingModuleLevel.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingModuleLevel.txt @@ -95,4 +95,4 @@ Running Tests with Coverage Generating Test Report function-mocking-tests\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingThenReturnWithNilRetVal.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingThenReturnWithNilRetVal.txt index 61c6b1a70c43..f3613cb9a1a1 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingThenReturnWithNilRetVal.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testFunctionMockingThenReturnWithNilRetVal.txt @@ -1,38 +1,38 @@ -Compiling source - intg_tests/function_mocking:0.0.0 - -Running Tests with Coverage - - function_mocking - - testFunctionMock3 has failed. - - [pass] testFunctionMock - [pass] testFunctionMock2 - - [fail] testFunctionMock3: - - error {ballerina/test:0}FunctionCallError ("no return value or action registered for function") - callableName: mockHandler moduleName: ballerina.test.0 fileName: mock.bal lineNumber: 590 - callableName: testFunctionMock3 moduleName: intg_tests.function_mocking$test.0.tests.tests fileName: tests/tests.bal lineNumber: 43 - callableName: testFunctionMock3$lambda2$ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 6 - callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 - callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 - callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 - callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 - callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 - callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 - callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 10 - - - - 2 passing - 1 failing - 0 skipped - - Test execution time :*****s - -Generating Test Report - function-mocking-tests-then-return-with-nil-ret-val\target\report\test_results.json - -error: there are test failures +Compiling source + intg_tests/function_mocking:0.0.0 + +Running Tests with Coverage + + function_mocking + + testFunctionMock3 has failed. + + [pass] testFunctionMock + [pass] testFunctionMock2 + + [fail] testFunctionMock3: + + error {ballerina/test:0}FunctionCallError ("no return value or action registered for function") + callableName: mockHandler moduleName: ballerina.test.0 fileName: mock.bal lineNumber: 590 + callableName: testFunctionMock3 moduleName: intg_tests.function_mocking$test.0.tests.tests fileName: tests/tests.bal lineNumber: 43 + callableName: testFunctionMock3$lambda2$ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 6 + callableName: call moduleName: ballerina.lang.function.0 fileName: function.bal lineNumber: 37 + callableName: executeTestFunction moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 128 + callableName: executeNonDataDrivenTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 74 + callableName: executeTest moduleName: ballerina.test.0 fileName: serialExecuter.bal lineNumber: 30 + callableName: executeTests moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 82 + callableName: startSuite moduleName: ballerina.test.0 fileName: execute.bal lineNumber: 53 + callableName: __execute__ moduleName: intg_tests.function_mocking$test.0.tests.test_execute-generated_*****lineNumber: 10 + + + + 2 passing + 1 failing + 0 skipped + + Test execution time :*****s + +Generating Test Report + function-mocking-tests-then-return-with-nil-ret-val\target\report\test_results.json + +error: there are test failures diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMockDouble.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMockDouble.txt index 3ff96bd67d87..18e58b0decff 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMockDouble.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMockDouble.txt @@ -15,4 +15,4 @@ Running Tests with Coverage Generating Test Report object-mocking-tests2\target\report\test_results.json - + \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking.txt index 853e72892be9..b7eff5ffb2e5 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking.txt @@ -159,4 +159,4 @@ Running Tests with Coverage Generating Test Report object-mocking-tests\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases1.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases1.txt index ba1598df1800..000adac921a6 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases1.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases1.txt @@ -35,4 +35,4 @@ Running Tests with Coverage Generating Test Report*****project-based-tests\object-mocking-tests\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases2.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases2.txt index ed91c895677a..e2a26b0155db 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases2.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases2.txt @@ -35,4 +35,4 @@ Running Tests with Coverage Generating Test Report*****project-based-tests\object-mocking-tests\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases3.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases3.txt index c612b5767754..88f92b14d55b 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases3.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases3.txt @@ -35,4 +35,4 @@ Running Tests with Coverage Generating Test Report*****project-based-tests\object-mocking-tests\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases4.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases4.txt index 3dbd8d84e4a4..98bca06f8dbe 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases4.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases4.txt @@ -1,6 +1,6 @@ Compiling source intg_tests/object_mocking:0.0.0 -WARNING [modules/TestHttpClient/main.bal:(64:45,64:82)] this function should explicitly return a value +WARNING [modules\TestHttpClient\main.bal:(64:45,64:82)] this function should explicitly return a value WARNING [main.bal:(53:5,53:47)] unused variable 'closeErr' Running Tests with Coverage @@ -33,6 +33,6 @@ Running Tests with Coverage Test execution time :*****s -Generating Test Report*****project-based-tests/object-mocking-tests/target/report/test_results.json +Generating Test Report*****project-based-tests\object-mocking-tests\target\report\test_results.json -error: there are test failures \ No newline at end of file +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases5.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases5.txt index d5f1b9aeaefa..da12c5f0e6d9 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases5.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases5.txt @@ -35,4 +35,4 @@ Running Tests with Coverage Generating Test Report*****project-based-tests\object-mocking-tests\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases6.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases6.txt index 114e48e52cbe..792a8a81882b 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases6.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases6.txt @@ -35,4 +35,4 @@ Running Tests with Coverage Generating Test Report*****project-based-tests\object-mocking-tests\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases7.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases7.txt index 0d2d7baa6e73..d659e3b61b48 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases7.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases7.txt @@ -35,4 +35,4 @@ Running Tests with Coverage Generating Test Report*****project-based-tests\object-mocking-tests\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NonPublicField.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NonPublicField.txt index 2f6988b3cfdc..76c5c2caa73f 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NonPublicField.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NonPublicField.txt @@ -33,4 +33,4 @@ Running Tests with Coverage Generating Test Report*****project-based-tests\non-public-field-mock\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file diff --git a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testResourceMocking.txt b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testResourceMocking.txt index 4c930512868d..44aa8d1d22ef 100644 --- a/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testResourceMocking.txt +++ b/tests/testerina-integration-test/src/test/resources/command-outputs/windows/MockTest-testResourceMocking.txt @@ -204,4 +204,4 @@ Running Tests with Coverage Generating Test Report resource-mocking-tests\target\report\test_results.json -error: there are test failures +error: there are test failures \ No newline at end of file