Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add negative tests for constraint mapper #1559

Merged

Conversation

SachinAkash01
Copy link
Member

  • Add negative test cases for Ballerina to OpenAPI constraint mapper.

Resolves: #4945
See Also: #4788

@SachinAkash01 SachinAkash01 changed the title Add Negative Tests for Constraint Mapper Add negative tests for constraint mapper Oct 18, 2023
@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (858fd56) 79.98% compared to head (de2be12) 80.05%.
Report is 1 commits behind head on constraint_support.

Additional details and impacted files
@@                   Coverage Diff                    @@
##             constraint_support    #1559      +/-   ##
========================================================
+ Coverage                 79.98%   80.05%   +0.07%     
- Complexity                 1841     1844       +3     
========================================================
  Files                       125      125              
  Lines                     10301    10309       +8     
  Branches                   1699     1699              
========================================================
+ Hits                       8239     8253      +14     
+ Misses                     1475     1470       -5     
+ Partials                    587      586       -1     
Files Coverage Δ
...java/io/ballerina/openapi/converter/Constants.java 73.86% <ø> (ø)
...enapi/converter/diagnostic/DiagnosticMessages.java 100.00% <100.00%> (ø)
...napi/converter/service/OpenAPIComponentMapper.java 90.96% <100.00%> (+1.26%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

SachinAkash01 and others added 2 commits October 19, 2023 09:09
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ayeshLK ayeshLK merged commit adbdc1e into ballerina-platform:constraint_support Oct 19, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants