Package services.gui
Class WorkerServiceTest
- java.lang.Object
-
- services.gui.WorkerServiceTest
-
public class WorkerServiceTest extends java.lang.ObjectUnit tests for WorkerService.
-
-
Constructor Summary
Constructors Constructor Description WorkerServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidretrieveStudyResultCountsPerWorker_returnsCountsForAllTypes()voidsetUp()voidvalidateAndExtractWorkerType_mappings_allAliases()voidvalidateAndExtractWorkerType_null_returnsNull()voidvalidateAndExtractWorkerType_unknown()voidvalidateAndExtractWorkerType_unknown_throws()voidvalidateWorker_ok_noException()voidvalidateWorker_withErrors_throwsWithFirstMessage()
-
-
-
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
-
-