-
Notifications
You must be signed in to change notification settings - Fork 736
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into master-typref-38717
- Loading branch information
Showing
5 changed files
with
50 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
...est/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NegativeCases8.txt
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
...est/src/test/resources/command-outputs/unix/MockTest-testObjectMocking_NonPublicField.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Compiling source | ||
intg_tests/non_public_field_mock:0.0.0 | ||
|
||
Running Tests with Coverage | ||
|
||
non_public_field_mock | ||
|
||
[fail] testNonPublicMemberFieldMock: | ||
|
||
error("NonPublicMemberFieldError",message="member field should be public to be mocked. The provided field 'url' is not public") | ||
callableName: thenReturnExt moduleName: ballerina.test.0 fileName: mock.bal lineNumber: 355 | ||
callableName: thenReturn moduleName: ballerina.test.0.MemberVariableStub fileName: mock.bal lineNumber: 212 | ||
callableName: testNonPublicMemberFieldMock moduleName: intg_tests.non_public_field_mock$test.0.tests.main_error_test fileName: tests/main_error_test.bal lineNumber: 23 | ||
callableName: testNonPublicMemberFieldMock$lambda0$ moduleName: intg_tests.non_public_field_mock$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 3 | ||
|
||
|
||
|
||
0 passing | ||
1 failing | ||
0 skipped | ||
|
||
Generating Test Report*****project-based-tests/non-public-field-mock/target/report/test_results.json | ||
|
||
error: there are test failures |
4 changes: 0 additions & 4 deletions
4
.../src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NegativeCases8.txt
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
.../src/test/resources/command-outputs/windows/MockTest-testObjectMocking_NonPublicField.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Compiling source | ||
intg_tests/non_public_field_mock:0.0.0 | ||
|
||
Running Tests with Coverage | ||
|
||
non_public_field_mock | ||
|
||
[fail] testNonPublicMemberFieldMock: | ||
|
||
error("NonPublicMemberFieldError",message="member field should be public to be mocked. The provided field 'url' is not public") | ||
callableName: thenReturnExt moduleName: ballerina.test.0 fileName: mock.bal lineNumber: 355 | ||
callableName: thenReturn moduleName: ballerina.test.0.MemberVariableStub fileName: mock.bal lineNumber: 212 | ||
callableName: testNonPublicMemberFieldMock moduleName: intg_tests.non_public_field_mock$test.0.tests.main_error_test fileName: tests/main_error_test.bal lineNumber: 23 | ||
callableName: testNonPublicMemberFieldMock$lambda0$ moduleName: intg_tests.non_public_field_mock$test.0.tests.test_execute-generated_1 fileName: tests/test_execute-generated_1.bal lineNumber: 3 | ||
|
||
|
||
|
||
0 passing | ||
1 failing | ||
0 skipped | ||
|
||
Generating Test Report*****project-based-tests\non-public-field-mock\target\report\test_results.json | ||
|
||
error: there are test failures |