Class TestCaseFolders
java.lang.Object
com.testmonitor.actions.TestCaseFolders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone(TestCaseFolder source) Clone a test case folderclone(TestCaseFolder source, String name) Clone a test case folderclone(TestCaseFolder source, String name, boolean includeSubfolders, boolean includeTestCases) Clone a test case foldercreate(TestCaseFolder testCaseFolder) Create a test case folderCreate a test case foldercreateSubfolder(TestCaseFolder child, TestCaseFolder parent) Create a test case subfoldercreateSubfolder(String name, TestCaseFolder parent) Create a test case subfolderlist()update(TestCaseFolder testCaseFolder) Update a test case folder.
-
Constructor Details
-
TestCaseFolders
-
-
Method Details
-
list
- Returns:
- A list of test case folders
- Throws:
IOExceptionURISyntaxException
-
list
- Parameters:
page- Page number- Returns:
- A list of test case folders
- Throws:
IOExceptionURISyntaxException
-
list
public ArrayList<TestCaseFolder> list(Integer page, Integer limit) throws IOException, URISyntaxException - Parameters:
page- Page numberlimit- Paging limit- Returns:
- A list of test case folders
- Throws:
IOExceptionURISyntaxException
-
list
public ArrayList<TestCaseFolder> list(Integer parentId, Integer page, Integer limit) throws IOException, URISyntaxException - Parameters:
parentId- test case folder parent idpage- Page numberlimit- Paging limit- Returns:
- A list of test case folders
- Throws:
IOExceptionURISyntaxException
-
get
- Parameters:
id- The test case folder ID- Returns:
- The test case folder matching the ID
- Throws:
IOExceptionURISyntaxException
-
create
Create a test case folder- Parameters:
testCaseFolder- The test case your want to create- Returns:
- The created test case folder
- Throws:
IOException
-
create
Create a test case folder- Parameters:
name- The test case folder name you want to create- Returns:
- The created test case folder
- Throws:
IOException
-
createSubfolder
Create a test case subfolder- Parameters:
name- The name of the test case folderparent- The parent folder- Returns:
- The created test case folder
- Throws:
IOException
-
createSubfolder
public TestCaseFolder createSubfolder(TestCaseFolder child, TestCaseFolder parent) throws IOException Create a test case subfolder- Parameters:
child- The name of the test case folderparent- The parent folder- Returns:
- The created test case folder
- Throws:
IOException
-
clone
public TestCaseFolder clone(TestCaseFolder source, String name, boolean includeSubfolders, boolean includeTestCases) throws IOException Clone a test case folder- Parameters:
source- The test case folder you want to clonename- The name of the cloneincludeSubfolders- Sets the option to include subfoldersincludeTestCases- Sets the option to include testcases- Returns:
- The cloned test case folder
- Throws:
IOException
-
clone
Clone a test case folder- Parameters:
source- The test case folder you want to clone- Returns:
- The cloned test case folder
- Throws:
IOException
-
clone
Clone a test case folder- Parameters:
source- The test case folder you want to clonename- The name of the clone- Returns:
- The cloned test case folder
- Throws:
IOException
-
update
Update a test case folder.- Parameters:
testCaseFolder- The test case folder you want to update- Returns:
- The updated test case folder
- Throws:
IOException
-