tl-api-client 0.1.10 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/testlink/client.rb +16 -14
- data/lib/testlink/client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d03f11ecaca128b40b5cca122518f0b9156e683c
|
4
|
+
data.tar.gz: '0279bf2a97acfeaeca606a3b523e2d8b4436cf21'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7a42d3c3bf078156328ec0ec7fe60675b834ccbcf33b5c8d56403a4d35d04dcdc732f720ae5842728b8bee7625bcc542aba35a541150052105177c1e57aa1b3
|
7
|
+
data.tar.gz: 871ac781c1f00fa2ede35cf04be27e66cfd72455b7b0b920ac64b7e13154d495e7aeacba23867eefc20fe6109c8f712fb1cd87733f61bea5196f46526b1471c8
|
data/lib/testlink/client.rb
CHANGED
@@ -125,20 +125,22 @@ module Testlink
|
|
125
125
|
end
|
126
126
|
|
127
127
|
|
128
|
-
def get_test_cases_for_test_plan tplanid, buildid =
|
129
|
-
|
130
|
-
input =
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
128
|
+
def get_test_cases_for_test_plan tplanid, buildid = nil, platformid = nil, testcaseid = nil, keywordid = nil, keywords = nil, executed = nil, assignedto = nil, executestatus = nil, executiontype = nil, getstepinfo = false, details = nil
|
129
|
+
|
130
|
+
input = Hash.new
|
131
|
+
input["testplanid"] = tplanid
|
132
|
+
input["buildid"] = buildid unless buildid.nil?
|
133
|
+
input["platformid"] = platformid unless platformid.nil?
|
134
|
+
input["testcaseid"] = testcaseid unless testcaseid.nil?
|
135
|
+
input["keywordid"] = keywordid unless keywordid.nil?
|
136
|
+
input["keywords"] = keywords unless keywords.nil?
|
137
|
+
input["executed"] = executed unless executed.nil?
|
138
|
+
input["assignedto"] = assignedto unless assignedto.nil?
|
139
|
+
input["executestatus"] = executestatus unless executedstatus.nil?
|
140
|
+
input["executiontype"] = executiontype unless executiontype.nil?
|
141
|
+
input["getstepinfo"] = getstepinfo unless getstepinfo.nil?
|
142
|
+
input["details"] = details unless details.nil?
|
143
|
+
|
142
144
|
get_result "tl.getTestCasesForTestPlan", input
|
143
145
|
end
|
144
146
|
|