public class GeneralSingleCookieServiceTest
extends java.lang.Object
| Constructor and Description |
|---|
GeneralSingleCookieServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStudy_appendsWhenExistingCookie() |
void |
addStudy_createsNewWhenNoExistingCookie() |
void |
fetchWorkerIdByStudy_ignoresMalformedEntries() |
void |
fetchWorkerIdByStudy_returnsLatestWorkerIdWhenMultipleForSameStudy() |
void |
fetchWorkerIdByStudy_returnsNullWhenNoCookie() |
void |
fetchWorkerIdByStudy_returnsWorkerIdWhenSingleMatch() |
static void |
initStatics() |
void |
set_String_buildsCookieWithExpectedAttributes() |
void |
setup() |
static void |
tearDownStatics() |
public static void initStatics()
public static void tearDownStatics()
public void setup()
public void fetchWorkerIdByStudy_returnsNullWhenNoCookie()
public void fetchWorkerIdByStudy_returnsWorkerIdWhenSingleMatch()
public void fetchWorkerIdByStudy_returnsLatestWorkerIdWhenMultipleForSameStudy()
public void fetchWorkerIdByStudy_ignoresMalformedEntries()
public void addStudy_createsNewWhenNoExistingCookie()
public void addStudy_appendsWhenExistingCookie()
public void set_String_buildsCookieWithExpectedAttributes()