Package controllers.publix.workers
Class GeneralSinglePublixTest
- java.lang.Object
-
- controllers.publix.workers.GeneralSinglePublixTest
-
public class GeneralSinglePublixTest extends java.lang.ObjectUnit tests for GeneralSinglePublix methods (class-local logic only).
-
-
Constructor Summary
Constructors Constructor Description GeneralSinglePublixTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidstartStudy_firstCall_noWorkerCookie_createsWorkerAndStudyResult_andRedirects()voidstartStudy_previewAllowed_withWorkerCookie_andExistingIdCookie_doesNotFinishOldest_orSetCookie()voidstartStudy_withWorkerCookie_butWorkerMissing_throws()voidstartStudy_withWorkerCookie_missingIdCookie_finishesOldest_andSetsCookie()voidstartStudy_withWorkerCookie_noLastStudyResult_throws()
-
-
-
Method Detail
-
setUp
public void setUp()
-
startStudy_firstCall_noWorkerCookie_createsWorkerAndStudyResult_andRedirects
public void startStudy_firstCall_noWorkerCookie_createsWorkerAndStudyResult_andRedirects() throws java.lang.Exception- Throws:
java.lang.Exception
-
startStudy_previewAllowed_withWorkerCookie_andExistingIdCookie_doesNotFinishOldest_orSetCookie
public void startStudy_previewAllowed_withWorkerCookie_andExistingIdCookie_doesNotFinishOldest_orSetCookie() throws java.lang.Exception- Throws:
java.lang.Exception
-
startStudy_withWorkerCookie_missingIdCookie_finishesOldest_andSetsCookie
public void startStudy_withWorkerCookie_missingIdCookie_finishesOldest_andSetsCookie() throws java.lang.Exception- Throws:
java.lang.Exception
-
startStudy_withWorkerCookie_butWorkerMissing_throws
public void startStudy_withWorkerCookie_butWorkerMissing_throws() throws java.lang.Exception- Throws:
java.lang.Exception
-
startStudy_withWorkerCookie_noLastStudyResult_throws
public void startStudy_withWorkerCookie_noLastStudyResult_throws() throws java.lang.Exception- Throws:
java.lang.Exception
-
-