br.eti.kinoshita.testlinkjavaapi.util
public final class Util extends Object
| Modifier and Type | Field and Description |
|---|---|
static Object[] |
EMPTY_ARRAY |
static Map<String,Object> |
EMPTY_MAP |
public static final Object[] EMPTY_ARRAY
public static final Map<String,Object> getTestProjectMap(TestProject project)
project - public static final TestProject getTestProject(Map<String,Object> map)
map - Map with properties of a Test Project.public static Boolean getBoolean(Map<String,Object> map, String key)
map - key - public static final String getString(Map<String,Object> map, String key)
map - key - public static final Integer getInteger(Map<String,Object> map, String key)
map - key - public static final Map<String,Object> getTestPlanMap(TestPlan plan)
plan - public static final TestPlan getTestPlan(Map<String,Object> map)
map - public static final Platform getPlatform(Map<String,Object> map)
map - public static final Map<String,Object> getTestCaseMap(TestCase testCase)
testCase - public static final List<Map<String,Object>> getTestCaseStepsMap(List<TestCaseStep> testCaseSteps)
testCaseSteps - public static final List<Integer> getTestCaseStepsIdList(List<TestCaseStep> testCaseSteps)
testCaseSteps - public static TestCaseStep getTestCaseStep(Map<String,Object> map)
map - Case Step mappublic static final Map<String,Object> getTestCaseStepMap(TestCaseStep testCaseStep)
testCaseStep - public static final Map<String,Object> getTestCaseStepMap(TestCaseStep testCaseStep, boolean internal)
testCaseStep - internal - the API uses different names for the the same parameter in different methods.public static final Map<String,Object> getTestSuiteMap(TestSuite testSuite)
testSuite - public static final TestSuite getTestSuite(Map<String,Object> map)
map - public static final TestCase getTestCase(Map<String,Object> map)
map - public static Object[] getArray(Map<String,Object> map, String key)
map - key - public static Object[] castToArray(Object object)
object - public static Map<String,Object> castToMap(Object object)
object - public static final Map<String,Object> getBuildMap(Build build)
build - public static final Map<String,Object> getAttachmentMap(Attachment attachment)
attachment - public static final Map<String,Object> getTestCaseAttachmentMap(Attachment attachment)
attachment - public static final Map<String,Object> getTestSuiteAttachmentMap(Attachment attachment)
attachment - public static final Map<String,Object> getTestProjectAttachmentMap(Attachment attachment)
attachment - public static final Map<String,Object> getRequirementAttachmentMap(Attachment attachment)
attachment - public static final Map<String,Object> getRequirementSpecificationAttachmentMap(Attachment attachment)
attachment - public static final Map<String,Object> getExecutionAttachmentMap(Attachment attachment)
attachment - public static final Attachment getAttachment(Map<String,Object> map)
map - public static final List<Map<String,Object>> getRequirementsGroupedByReqSpecMap(List<Requirement> requirements)
requirements - public static final Execution getExecution(Map<String,Object> map)
map - public static final ReportTCResultResponse getReportTCResultResponse(Map<String,Object> map)
map - public static final CustomField getCustomField(Map<String,Object> map)
map - public static final void putIfNotNullAndTrue(Map<String,Object> map, String key, Boolean boolValue)
map - Map.key - Key.boolValue - Boolean value.Copyright © 2010-2011 the testlink-java-api team-2013. All Rights Reserved.