-
Notifications
You must be signed in to change notification settings - Fork 490
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
8251 refactor api tests #8254
8251 refactor api tests #8254
Commits on Nov 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for bbc802b - Browse repository at this point
Copy the full SHA bbc802bView commit details -
feat(api-test): add JUnit5 Tags into helpers package IQSS#8251
This will allow for a standardized collection of Strings thus avoid typos
Configuration menu - View commit details
-
Copy full SHA for 414f8e0 - Browse repository at this point
Copy the full SHA 414f8e0View commit details -
feat(api-test): add new JUnit5 extension @DBSetting IQSS#8251
This extension allows to set and reset database settings within a target Dataverse instance. It will make sure to reset to old setting or remove the setting if not set before the test. This was introduced for three reasons: 1. Don't execute a test if the setting did not go through 2. Don't forget to reset or remove to keep a consistent state after a test execution 3. Make the code more readable, as setting the setting has been part of the test before (which is bad design and might go booboo, see 2)
Configuration menu - View commit details
-
Copy full SHA for 45ae750 - Browse repository at this point
Copy the full SHA 45ae750View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ab8609 - Browse repository at this point
Copy the full SHA 6ab8609View commit details -
fix(api-test): make DatasetsIT not fail tests when no stored procedure …
…IQSS#8251 When no stored procedure has been set up in the instance under test, test running after DatasetsIT.testStoredProcGeneratedAsIdentifierGenerationStyle() failed, as the database setting was never reverted. Making use of the new @DBSetting extension helps with that.
Configuration menu - View commit details
-
Copy full SHA for e34d71e - Browse repository at this point
Copy the full SHA e34d71eView commit details
Commits on Nov 30, 2021
-
feat(api-test): add JUnit5 extension for RandomUser IQSS#8251
Many API tests require the use of a random user, which is no SuT (subject under test). To gather such a user and ensure its deletion from a target Dataverse instance after a test, this extension provides a convenient way. Simple use ExtendWith and provide a RandomUser parameter, you're done.
Configuration menu - View commit details
-
Copy full SHA for 4b3a941 - Browse repository at this point
Copy the full SHA 4b3a941View commit details -
feat(api-test): create storage helper for JUnit 5 extensions IQSS#8215
This helper class tries to abstract the store retrieval and handles all the tiny details on retrieving in-depth context for a store.
Configuration menu - View commit details
-
Copy full SHA for b19f8f5 - Browse repository at this point
Copy the full SHA b19f8f5View commit details -
feat(api-test): enhance RandomUserExtension IQSS#8251
With this commit, the RandomUserExtension may be used on a test class, @BeforeEach/All, @AfterEach/All methods and test methods. It will take care of deletion in the appropriate ways to ensure a healthy target environment. Using it on @AfterEach/All will return the formerly created user via @BeforeEach/All and enabled aftermath reuse of the user.
Configuration menu - View commit details
-
Copy full SHA for 6f7d96b - Browse repository at this point
Copy the full SHA 6f7d96bView commit details
Commits on Dec 15, 2021
-
changed handleCommandClick() to call isRequestAccessPopupRequired() s…
…o that only the terms of use and access are considered (and not the guestbook which should only be considered at file download in isDownloadPopupRequired).
Configuration menu - View commit details
-
Copy full SHA for c1dceb6 - Browse repository at this point
Copy the full SHA c1dceb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8f1d28 - Browse repository at this point
Copy the full SHA b8f1d28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9085bf3 - Browse repository at this point
Copy the full SHA 9085bf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c4b7e3 - Browse repository at this point
Copy the full SHA 6c4b7e3View commit details -
allow Tika to detect content type when not supplied IQSS#8241
"application/octet-stream" is the default when the user doesn't supply a content type. So if it's this, send it through Tika. Yes, a user can supply "application/octet-stream" and this will also be sent through Tika.
Configuration menu - View commit details
-
Copy full SHA for 17a4c49 - Browse repository at this point
Copy the full SHA 17a4c49View commit details -
skip validation when embargo isn't enabled.
This avoids an NPE when the empty embargo (from the dialog that isn't shown) is found to be invalid and then getMaxDate() returns null and the code tries to format it for display in the error message (which also wouldn't show).
Configuration menu - View commit details
-
Copy full SHA for cbcb7cf - Browse repository at this point
Copy the full SHA cbcb7cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for eba6d08 - Browse repository at this point
Copy the full SHA eba6d08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 804b908 - Browse repository at this point
Copy the full SHA 804b908View commit details -
missing anoymization in files version table for anon PrivateURLs
verified that the names withheld bundle entry already exists.
Configuration menu - View commit details
-
Copy full SHA for 55824dc - Browse repository at this point
Copy the full SHA 55824dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for da6bc21 - Browse repository at this point
Copy the full SHA da6bc21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17dddce - Browse repository at this point
Copy the full SHA 17dddceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 853572d - Browse repository at this point
Copy the full SHA 853572dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ddb375 - Browse repository at this point
Copy the full SHA 7ddb375View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae2dc8a - Browse repository at this point
Copy the full SHA ae2dc8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc58428 - Browse repository at this point
Copy the full SHA cc58428View commit details -
Configuration menu - View commit details
-
Copy full SHA for af9a551 - Browse repository at this point
Copy the full SHA af9a551View commit details -
Configuration menu - View commit details
-
Copy full SHA for e123cd9 - Browse repository at this point
Copy the full SHA e123cd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7c263a - Browse repository at this point
Copy the full SHA e7c263aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6efc0f5 - Browse repository at this point
Copy the full SHA 6efc0f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c1d83a - Browse repository at this point
Copy the full SHA 7c1d83aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6947b77 - Browse repository at this point
Copy the full SHA 6947b77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 771f63b - Browse repository at this point
Copy the full SHA 771f63bView commit details -
Configuration menu - View commit details
-
Copy full SHA for aef79d2 - Browse repository at this point
Copy the full SHA aef79d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8aedc79 - Browse repository at this point
Copy the full SHA 8aedc79View commit details -
Configuration menu - View commit details
-
Copy full SHA for f07ad57 - Browse repository at this point
Copy the full SHA f07ad57View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa3d22c - Browse repository at this point
Copy the full SHA fa3d22cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1282d6 - Browse repository at this point
Copy the full SHA f1282d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45104dc - Browse repository at this point
Copy the full SHA 45104dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf333c5 - Browse repository at this point
Copy the full SHA bf333c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82f20a4 - Browse repository at this point
Copy the full SHA 82f20a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75aa5b9 - Browse repository at this point
Copy the full SHA 75aa5b9View commit details