Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-7798

Unit tests for the Configuration Checker

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.1.0
    • Component/s: None
    • Labels:

      Description

      The Issue Checker should have unit tests. At least the Issue.getTickets() methods, but there might be other parts that could be tested as well.

      Since the Issue classes are coupled with EJBs, I guess that the best way is through mock testing.

      Currently there are only two Issue classes, EccWithKeyEncipherment and NotInProduction mode, and I guess that it doesn't make much sense to test the latter (the functionality is also indirectly tested by developers). So the 4 hour estimate is for a test of EccWithKeyEncipherment ony.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bastianf Bastian Fredriksson
              Reporter:
              samuel Samuel Lidén Borell
              Verified by:
              Samuel Lidén Borell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 45 minutes
                  4h 45m