Skip to content

Remove empty lines #503

Remove empty lines

Remove empty lines #503

GitHub Actions / orcid-scheduler-web Unit Tests failed Jul 1, 2024 in 0s

orcid-scheduler-web Unit Tests ❌

Tests failed

Report Passed Failed Skipped Time
TEST-org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest.xml 1✅ 1❌ 21s
TEST-org.orcid.scheduler.email.trickle.manager.impl.TrickleManagerImplTest.xml 10✅ 69ms
TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml 6✅ 221ms
TEST-org.orcid.scheduler.loader.io.FtpsFileDownloaderTest.xml 9✅ 187ms
TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml 4✅ 10ms
TEST-org.orcid.scheduler.loader.manager.OrgLoadManagerTest.xml 4✅ 20ms
TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml 12✅ 127ms
TEST-org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest.xml 2✅ 21ms

❌ TEST-org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest.xml

2 tests were completed in 21s with 1 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest 1✅ 1❌ 21s

❌ org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest

✅ testAddWorksToRecordEmail
❌ testCreateDigest
	java.lang.ClassCastException: class org.orcid.jaxb.model.v3.release.record.ExternalIDs cannot be cast to class java.util.Map (org.orcid.jaxb.model.v3.release.record.ExternalIDs is in unnamed module of loader 'app'; java.util.Map is in module java.base of loader 'bootstrap')

✅ TEST-org.orcid.scheduler.email.trickle.manager.impl.TrickleManagerImplTest.xml

10 tests were completed in 69ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.email.trickle.manager.impl.TrickleManagerImplTest 10✅ 69ms

✅ org.orcid.scheduler.email.trickle.manager.impl.TrickleManagerImplTest

✅ testAttemptSendSkippedAccountDeprecated
✅ testAttemptSendMarketingSuccess
✅ testAttemptSendAlreadyProcessed
✅ testAttemptSendSkipped
✅ testAttemptMarketingSendFailure
✅ testAttemptSendSuccess
✅ testAttemptSendSkippedAccountDeactivated
✅ testAttemptSendEmailNoLongerExists
✅ testAttemptSendFailure
✅ testAttemptSendSkippedAccountLocked

✅ TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml

6 tests were completed in 221ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.FundrefOrgLoadSourceTest 6✅ 221ms

✅ org.orcid.scheduler.loader.FundrefOrgLoadSourceTest

✅ testDownloadOrgData
✅ testLoadLatestOrgsNoExistingOrgs
✅ testGetSourceName
✅ testLoadLatestOrgsDownloadFailed
✅ testSetDisabled
✅ testLoadLatestOrgsTwoExistingOrgs

✅ TEST-org.orcid.scheduler.loader.io.FtpsFileDownloaderTest.xml

9 tests were completed in 187ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.io.FtpsFileDownloaderTest 9✅ 187ms

✅ org.orcid.scheduler.loader.io.FtpsFileDownloaderTest

✅ testDownloadFileNoPropsSet
✅ testDownloadFileNoUsername
✅ testDownloadFileNoLocalFilePath
✅ testDownloadFileNoPassword
✅ testDownloadFileSuccess
✅ testDownloadFileNoRemoteFilePath
✅ testDownloadFileErrorOccurs
✅ testDownloadFileNoHost
✅ testDownloadFileNoPort

✅ TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml

4 tests were completed in 10ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.io.OrgDataClientTest 4✅ 10ms

✅ org.orcid.scheduler.loader.io.OrgDataClientTest

✅ testGet
✅ testGetFailure
✅ testDownloadFileSuccess
✅ testDownloadFileFailure

✅ TEST-org.orcid.scheduler.loader.manager.OrgLoadManagerTest.xml

4 tests were completed in 20ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.manager.OrgLoadManagerTest 4✅ 20ms

✅ org.orcid.scheduler.loader.manager.OrgLoadManagerTest

✅ testLoadOrgs
✅ testLoadOrgsDownloadOrgDataFailure
✅ testLoadOrgsNextSourceDisabled
✅ testLoadOrgsLoadOrgDataFailure

✅ TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml

12 tests were completed in 127ms with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.RorOrgLoadSourceTest 12✅ 127ms

✅ org.orcid.scheduler.loader.RorOrgLoadSourceTest

✅ execute_Stats_Test_1
✅ execute_Stats_Test_2
✅ execute_Stats_Test_3
✅ execute_UpdateExistingInstitute_Test
✅ execute_NothingToCreateNothingToUpdate_Test
✅ testDownloadOrgData
✅ execute_DeprecatedObsoleteInstitutes_1_Test
✅ execute_DeprecatedObsoleteInstitutes_2_Test
✅ execute_JustAddOneExeternalIdentifier_Test
✅ testGetSourceName
✅ execute_UpdatePreferredIndicator_Test
✅ testSetDisabled

✅ TEST-org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest.xml

2 tests were completed in 21ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest 2✅ 21ms

✅ org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest

✅ testCreateEntityFromXmlWithLegacyNames
✅ testCreateEntityFromXml

Annotations

Check failure on line 125 in orcid-scheduler-web/src/test/java/org/orcid/scheduler/email/cli/manager/EmailMessageSenderTest.java

See this annotation in the file changed.

@github-actions github-actions / orcid-scheduler-web Unit Tests

org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest ► testCreateDigest

Failed test found in:
  TEST-org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest.xml
Error:
  java.lang.ClassCastException: class org.orcid.jaxb.model.v3.release.record.ExternalIDs cannot be cast to class java.util.Map (org.orcid.jaxb.model.v3.release.record.ExternalIDs is in unnamed module of loader 'app'; java.util.Map is in module java.base of loader 'bootstrap')
Raw output
java.lang.ClassCastException: class org.orcid.jaxb.model.v3.release.record.ExternalIDs cannot be cast to class java.util.Map (org.orcid.jaxb.model.v3.release.record.ExternalIDs is in unnamed module of loader 'app'; java.util.Map is in module java.base of loader 'bootstrap')
	at org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest.testCreateDigest(EmailMessageSenderTest.java:125)