| Package | Description |
|---|---|
| com.whitestein.lsps.test | |
| com.whitestein.lsps.test.web |
| Modifier and Type | Method and Description |
|---|---|
static TestPerson |
TestPerson.admin()
Returns the predefined person 'admin'.
|
static TestPerson |
TestPerson.findOrCreate(String login)
Finds a person with a given login, if not found, it creates one.
|
static TestPerson |
TestPerson.guest()
Returns the predefined person 'guest'.
|
| Modifier and Type | Method and Description |
|---|---|
static LspsRemote |
LspsRemote.create(TestPerson person,
String password) |
List<Todo> |
ModelInstance.findAliveTodosForUser(TestPerson person)
Finds Todos created by this model instance in the given person todo list.
|
static List<Todo> |
LspsRemote.getTodoList(TestPerson person)
Returns the current to-do list of given person.
|
void |
TestPerson.setSubstitutes(TestPerson substitute)
Sets one substitute to the person.
|
| Modifier and Type | Method and Description |
|---|---|
protected TestPerson |
UITester.getLoggedInPerson() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
UITester.mockLogIn(TestPerson login,
String password)
When your app differs greatly from the default app and
UIDefaultAppTester.login(String, String) wouldn't work,
you can log in via your custom TestBench/Selenium code. |
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.