Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1324

POP3ServerTest.testKnownUserInboxWithMessages() fails

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.3.2
    • 2.3.3
    • James Core
    • None

    Description

      POP3ServerTest.setupTestMails() creates two emails

      • a proper one with 92 bytes length
      • the second one is empty

      The testKnownUserInboxWithMessages() deletes the first messages and checks for the size of the second message to ensure it has 92 bytes BUT we get the empty message.

      To make things worse

      • this test fails for the tagged release
      • I think this only went unnoticed because the Ant build was used which does not run the unit tests per default
      • the Ant test can't be run because there is no JUnit library in "./tools/lib"
      • the (outdated) M2 reports the problem as expected

      I attach a patch which fixes the broken test and please add junit to the Ant test class path

      Attachments

        1. POP3ServerTest.patch
          0.9 kB
          Siegfried Goeschl

        Activity

          People

            Unassigned Unassigned
            sgoeschl Siegfried Goeschl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: