Skip to content

Commit de9242c

Browse files
authored
Add JUnit tests for saas module coverage (Stirling-Tools#6699)
# Description of Changes <!-- Please provide a summary of the changes, including: - What was changed - Why the change was made - Any challenges encountered Closes #(issue_number) --> --- ## Checklist ### General - [ ] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [ ] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md) (if applicable) - [ ] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md) (if applicable) - [ ] I have performed a self-review of my own code - [ ] My changes generate no new warnings ### Documentation - [ ] I have updated relevant docs on [Stirling-PDF's doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) (if functionality has heavily changed) - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### Translations (if applicable) - [ ] I ran [`scripts/counter_translation.py`](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/docs/counter_translation.md) ### UI Changes (if applicable) - [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR) ### Testing (if applicable) - [ ] I have run `task check` to verify linters, typechecks, and tests pass - [ ] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md#7-testing) for more details.
1 parent 460c037 commit de9242c

22 files changed

Lines changed: 13831 additions & 0 deletions

app/saas/src/test/java/stirling/software/saas/ai/controller/AiCreateControllerTest.java

Lines changed: 1035 additions & 0 deletions
Large diffs are not rendered by default.

app/saas/src/test/java/stirling/software/saas/ai/controller/AiCreateInternalControllerTest.java

Lines changed: 457 additions & 0 deletions
Large diffs are not rendered by default.

app/saas/src/test/java/stirling/software/saas/ai/controller/AiProxyControllerTest.java

Lines changed: 802 additions & 0 deletions
Large diffs are not rendered by default.

app/saas/src/test/java/stirling/software/saas/ai/service/AiCreateProxyServiceTest.java

Lines changed: 676 additions & 0 deletions
Large diffs are not rendered by default.

app/saas/src/test/java/stirling/software/saas/ai/service/AiCreateSessionServiceTest.java

Lines changed: 783 additions & 0 deletions
Large diffs are not rendered by default.

app/saas/src/test/java/stirling/software/saas/ai/service/AiProxyServiceTest.java

Lines changed: 678 additions & 0 deletions
Large diffs are not rendered by default.

app/saas/src/test/java/stirling/software/saas/controller/SaasTeamControllerTest.java

Lines changed: 1355 additions & 0 deletions
Large diffs are not rendered by default.

app/saas/src/test/java/stirling/software/saas/controller/UserRoleWebhookControllerTest.java

Lines changed: 556 additions & 0 deletions
Large diffs are not rendered by default.

app/saas/src/test/java/stirling/software/saas/interceptor/CreditErrorAdviceTest.java

Lines changed: 725 additions & 0 deletions
Large diffs are not rendered by default.

app/saas/src/test/java/stirling/software/saas/interceptor/CreditSuccessAdviceTest.java

Lines changed: 679 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)