Package services.gui

Class WorkerServiceTest


  • public class WorkerServiceTest
    extends java.lang.Object
    Unit tests for WorkerService.
    • Constructor Detail

      • WorkerServiceTest

        public WorkerServiceTest()
    • Method Detail

      • setUp

        public void setUp()
      • validateWorker_ok_noException

        public void validateWorker_ok_noException()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • validateWorker_withErrors_throwsWithFirstMessage

        public void validateWorker_withErrors_throwsWithFirstMessage()
                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • retrieveStudyResultCountsPerWorker_returnsCountsForAllTypes

        public void retrieveStudyResultCountsPerWorker_returnsCountsForAllTypes()
      • validateAndExtractWorkerType_mappings_allAliases

        public void validateAndExtractWorkerType_mappings_allAliases()
                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • validateAndExtractWorkerType_null_returnsNull

        public void validateAndExtractWorkerType_null_returnsNull()
      • validateAndExtractWorkerType_unknown

        public void validateAndExtractWorkerType_unknown()
      • validateAndExtractWorkerType_unknown_throws

        public void validateAndExtractWorkerType_unknown_throws()
                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception