Add tests via TestDriverAI (#1957) (#2005)

* initial Commit

* update prerun

* tweak the prompt

* update the test

* finetune prompt

* change the prompt

* minor change to retry test

* add debug

---------

# Description

Please provide a summary of the changes, including relevant motivation
and context.

Closes #(issue_number)

## Checklist

- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md)
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] My changes generate no new warnings
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags)
(for new translation tags only)

---------

Signed-off-by: GitHub Action <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Ludovic Ortega <[email protected]>
Co-authored-by: Tarun Kumar S <[email protected]>
Co-authored-by: Ian Jennings <[email protected]>
Co-authored-by: Corbinian Grimm <[email protected]>
Co-authored-by: albanobattistella <[email protected]>
Co-authored-by: Eric <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: swanemar <[email protected]>
Co-authored-by: pixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Manuel Mora Gordillo <[email protected]>
Co-authored-by: Manu <[email protected]>
Co-authored-by: Ludy <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Florian Fish <[email protected]>
Co-authored-by: reecebrowne <[email protected]>
Co-authored-by: Dimitrios Kaitantzidis <[email protected]>
Co-authored-by: Rania Amina <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Ludovic Ortega <[email protected]>
Co-authored-by: Philip H. <[email protected]>
Co-authored-by: Saud Fatayerji <[email protected]>
Co-authored-by: MaratheHarshad <[email protected]>
Co-authored-by: Harshad Marathe <harshad@DESKTOP-1MNKUHA>
Co-authored-by: ninjat <[email protected]>
Co-authored-by: Peter Dave Hello <[email protected]>
Co-authored-by: Rafael Encinas <[email protected]>
Co-authored-by: Renan <[email protected]>
Co-authored-by: leo-jmateo <[email protected]>
Co-authored-by: S. Neuhaus <[email protected]>
Co-authored-by: Dimitris Kaitantzidis <[email protected]>
This commit is contained in:
Anthony Stirling
2025-01-13 19:06:48 +00:00
committed by GitHub
co-authored by Tarun Kumar S Ian Jennings Corbinian Grimm albanobattistella Eric github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> GitHub Action swanemar pixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com> github-actions[bot] <github-actions[bot]@users.noreply.github.com> Manuel Mora Gordillo Manu Ludy dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Florian Fish reecebrowne Dimitrios Kaitantzidis Rania Amina Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Ludovic Ortega Philip H. Saud Fatayerji MaratheHarshad Harshad Marathe ninjat Peter Dave Hello Rafael Encinas Renan leo-jmateo S. Neuhaus Dimitris Kaitantzidis
parent 89d319332a
commit e0f553c15a
4 changed files with 296 additions and 1 deletions
@@ -25,7 +25,7 @@ public class EEAppConfig {
@Bean(name = "runningEE")
public boolean runningEnterpriseEdition() {
return licenseKeyChecker.getEnterpriseEnabledResult();
return licenseKeyChecker.getEnterpriseEnabledResult();
}
@Bean(name = "SSOAutoLogin")
@@ -214,6 +214,7 @@ public class WatermarkController {
+ Math.abs(watermarkHeight * Math.cos(radians)));
// Calculating the number of rows and columns.
int watermarkRows = (int) (pageHeight / newWatermarkHeight + 1);
int watermarkCols = (int) (pageWidth / newWatermarkWidth + 1);