|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tszadel.qctools4j.clients.AbstractClient
com.tszadel.qctools4j.clients.TestClient
public class TestClient
The client that manages the tests.
| Field Summary | |
|---|---|
static int |
WITH_STEPS
Steps have to be added. |
| Fields inherited from class com.tszadel.qctools4j.clients.AbstractClient |
|---|
connection, NONE, WITH_ATTACHMENTS, WITH_CHILDREN |
| Method Summary | |
|---|---|
void |
deleteTest(Test pTest)
Delete a test. |
Map<String,FieldDescription> |
getFieldDescriptions()
Overrides getFieldDescriptions. |
TestFolder |
getRootFolder()
Returns the root test folder with all its children. |
TestFolder |
getTestFolder(String pFolderPath)
Fills the folder with all its children (recursively). |
TestFolder |
getTestFolder(TestFolder pFolder)
Fills the folder with all its children (recursively). |
List<Test> |
getTests()
Returns the list of tests. |
List<Test> |
getTests(TestFolder pFolder)
Returns the list of tests from a given folder (without children). |
List<Test> |
getTests(TestFolder pFolder,
int pFlag)
Returns the list of tests from a given folder. |
boolean |
isExistingFolder(String pFolder)
Check if the folder exists. |
boolean |
isExistingFolder(TestFolder pFolder)
Check if the folder exists. |
boolean |
isExistingTest(String pName,
String pPath)
Check if the given test name already exists. |
void |
saveTest(Test pTest)
Save a test (with attachments). |
| Methods inherited from class com.tszadel.qctools4j.clients.AbstractClient |
|---|
canExecuteAction, checkConnection, checkLogin, checkPermission, containsFlag, getEncodedString, loadFields, retrieveAttachments, retrieveCustomFields, storeAttachments, storeFields, toAttachment |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int WITH_STEPS
| Method Detail |
|---|
public void deleteTest(Test pTest)
throws QcException
pTest - The test.
QcException - QC Error.
public Map<String,FieldDescription> getFieldDescriptions()
throws QcException
getFieldDescriptions in class AbstractClientQcException - Qc Error.AbstractClient.getFieldDescriptions()
public TestFolder getRootFolder()
throws QcException
QcException - QC Error.
public TestFolder getTestFolder(String pFolderPath)
throws QcException
pFolderPath - The test path.
QcException - QC Error.
public TestFolder getTestFolder(TestFolder pFolder)
throws QcException
pFolder - The folder.
QcException - QC Error.
public List<Test> getTests()
throws QcException
QcException - QC Error.
public List<Test> getTests(TestFolder pFolder)
throws QcException
pFolder - The folder.
QcException - QC Error.
public List<Test> getTests(TestFolder pFolder,
int pFlag)
throws QcException
pFolder - The folder.pFlag - The flags.
QcException - QC Error.
public boolean isExistingFolder(String pFolder)
throws QcException
pFolder - The folder.
QcException - QC Error.
public boolean isExistingFolder(TestFolder pFolder)
throws QcException
pFolder - The folder.
QcException - QC Error.
public boolean isExistingTest(String pName,
String pPath)
throws QcException
pName - The name of the test.pPath - The path of the test.
QcException - QC Error.
public void saveTest(Test pTest)
throws QcException
pTest - The test.
QcException - QC Error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||