TestLinkClient 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. data/lib/TestLinkClient.rb +84 -84
  2. metadata +2 -2
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby
1
+ #!/usr/bin/env ruby
2
2
  require 'xmlrpc/client'
3
3
  # Author:: Sadahiko Hantani (garyohosu@gmail.com)
4
4
  # Copyright:: Copyright (c) 2008 Sadahiko Hantani
@@ -6,11 +6,11 @@ require 'xmlrpc/client'
6
6
 
7
7
  class TestLinkClient
8
8
  #
9
- #=== 概要
9
+ #=== �T�v
10
10
  #
11
11
  # initialize
12
12
  #
13
- #=== 引数
13
+ #=== ����
14
14
  #
15
15
  #+server_url+::
16
16
  # TestLink Server URL
@@ -19,26 +19,26 @@ class TestLinkClient
19
19
  #+api_path+::
20
20
  # xmlrpc.php path (Option)
21
21
  #
22
- #=== 戻り値
22
+ #=== �߂�l
23
23
  #
24
- # なし
24
+ # �Ȃ�
25
25
  #
26
- #=== 例外
26
+ #=== ��O
27
27
  #
28
- #=== 詳細
28
+ #=== �ڍ�
29
29
  #
30
- # TestLinkを設置したサーバーのURLPersonal API access keyを設定します。
31
- # Personal API access keyを入手するには以下を実行してください。
30
+ # TestLink��ݒu�����T�[�o�[��URL��Personal API access key��ݒ肵�܂��B
31
+ # Personal API access key����肷��ɂ͈ȉ������s���Ă��������B
32
32
  #
33
- #1. TestLinkconfig.inc.phpを変更します
33
+ #1. TestLink��config.inc.php��ύX���܂�
34
34
  # /** SOAP API availability (disabled by default) */
35
35
  # $tlCfg->api_enabled = TRUE;
36
- #2. user_api_keyを取得
37
- # TestLinkを開き「Personal」を開く。
38
- # 「Generate a new key」ボタンをクリック
36
+ #2. user_api_key���擾
37
+ # TestLink���J���uPersonal�v���J���B
38
+ # �uGenerate a new key�v�{�^�����N���b�N
39
39
  # Personal API access key = xxxxxxxxxxxxxxxxxxxxxxxxxxxx
40
40
  #
41
- #===
41
+ #=== ��
42
42
  # client = TestLinkClient.new("http://foo.org/testlink_18RC1","413a5f43341axxxxxx91f166501740ec")
43
43
  #
44
44
  def initialize(server_url,dev_key,api_path = "/lib/api/xmlrpc.php")
@@ -47,36 +47,36 @@ class TestLinkClient
47
47
  end
48
48
 
49
49
  #
50
- #=== 概要
50
+ #=== �T�v
51
51
  #
52
52
  # getProjects
53
53
  #
54
- #=== 引数
54
+ #=== ����
55
55
  #
56
- # なし
56
+ # �Ȃ�
57
57
  #
58
- #=== 戻り値
58
+ #=== �߂�l
59
59
  #
60
- # 現在のテストプロジェクト情報が返ります
61
- #
60
+ # ���݂̃e�X�g�v���W�F�N�g��񂪕Ԃ�܂�
61
+ # ��
62
62
  #[{"name"=>"project", "prefix"=>"test", "tc_counter"=>"15", "option_automation"=>"1", "option_priority"=>"1", "notes"=>"", "id"=>"1", "color"=>"", "option_reqs"=>"1", "active"=>"0"}, {"name"=>"testproject2", "prefix"=>"tp2", "tc_counter"=>"6", "option_automation"=>"1", "option_priority"=>"1", "notes"=>"<p>comment</p>","id"=>"35", "color"=>"", "option_reqs"=>"1", "active"=>"1"}]
63
63
  #
64
- #=== 詳細
64
+ #=== �ڍ�
65
65
  #
66
- # プロジェクト毎に以下の値を得ることができます
66
+ # �v���W�F�N�g���Ɉȉ��̒l�𓾂邱�Ƃ��ł��܂�
67
67
  #
68
- # name:テストプロジェクト名
69
- # prefix:プレフィックス
70
- # tc_counter:テストケース数
71
- # option_automation:automationを使用するか
72
- # option_priority:優先度を使用するか
73
- # notes:ノート
74
- # id:テストプロジェクトID
68
+ # name:�e�X�g�v���W�F�N�g��
69
+ # prefix:�v���t�B�b�N�X
70
+ # tc_counter:�e�X�g�P�[�X��
71
+ # option_automation:automation���g�p���邩
72
+ # option_priority:�D��x���g�p���邩
73
+ # notes:�m�[�g
74
+ # id:�e�X�g�v���W�F�N�gID
75
75
  # color:
76
- # option_reqs:要件管理を使用するか
77
- # active:アクティブプロジェクトか
76
+ # option_reqs:�v���Ǘ����g�p���邩
77
+ # active:�A�N�e�B�u�v���W�F�N�g��
78
78
  #
79
- #===
79
+ #=== ��
80
80
  # getProjects #=>[{"name"=>"project", "prefix"=>"test", "tc_counter"=>"15", "option_automation"=>"1", "option_priority"=>"1", "notes"=>"", "id"=>"1", "color"=>"", "option_reqs"=>"1", "active"=>"0"}]
81
81
  #
82
82
  def getProjects
@@ -85,33 +85,33 @@ class TestLinkClient
85
85
  end
86
86
 
87
87
  #
88
- #=== 概要
88
+ #=== �T�v
89
89
  #
90
90
  # getProjectTestPlans(pid)
91
91
  #
92
- #=== 引数
92
+ #=== ����
93
93
  #
94
94
  #+pid+::
95
- # テストプロジェクトID
95
+ # �e�X�g�v���W�F�N�gID
96
96
  #
97
- #=== 戻り値
98
- #
97
+ #=== �߂�l
98
+ # ��
99
99
  # [{"3"=>{"name"=>"test plan", "notes"=>"note", "id"=>"3", "testproject_id"=>"1", "active"=>"1"}}]
100
100
  #
101
- #=== 例外
101
+ #=== ��O
102
102
  #
103
- #=== 詳細
103
+ #=== �ڍ�
104
104
  #
105
- # テストプロジェクトIDを渡すとテスト計画の詳細情報を返す
105
+ # �e�X�g�v���W�F�N�gID��n���ƃe�X�g�v��̏ڍ׏���Ԃ�
106
106
  #
107
- # - :テスト計画ID
108
- # name:テスト計画名
109
- # notes:ノート
110
- # id:自ID
111
- # testproject_id:テストプロジェクトID
112
- # active:アクティブか
107
+ # - :�e�X�g�v��ID
108
+ # name:�e�X�g�v�於
109
+ # notes:�m�[�g
110
+ # id:��ID
111
+ # testproject_id:�e�X�g�v���W�F�N�gID
112
+ # active:�A�N�e�B�u��
113
113
  #
114
- #===
114
+ #=== ��
115
115
  #
116
116
  # getProjectTestPlans(pid) #=>[{"3"=>{"name"=>"test plan", "notes"=>"note", "id"=>"3", "testproject_id"=>"1", "active"=>"1"}}]
117
117
  #
@@ -121,32 +121,32 @@ class TestLinkClient
121
121
  end
122
122
 
123
123
  #
124
- #=== 概要
124
+ #=== �T�v
125
125
  #
126
126
  # getBuildsForTestPlan(tpid)
127
127
  #
128
- #=== 引数
128
+ #=== ����
129
129
  #
130
130
  #+tpid+::
131
- # テスト計画ID
131
+ # �e�X�g�v��ID
132
132
  #
133
- #=== 戻り値
134
- #
133
+ #=== �߂�l
134
+ # ��
135
135
  # [{"name"=>"build1", "notes"=>"", "id"=>"1", "is_open"=>"1", "testplan_id"=>"3", "active"=>"1"}]
136
136
  #
137
- #=== 例外
137
+ #=== ��O
138
138
  #
139
- #=== 詳細
139
+ #=== �ڍ�
140
140
  #
141
- # テスト計画IDを渡すとビルドの詳細情報を返す
142
- # name:ビルド名
143
- # notes:ノート
144
- # id:自ID
145
- # is_open:オープンか?
146
- # testplan_id:テスト計画ID
147
- # active:アクティブか
141
+ # �e�X�g�v��ID��n���ƃr���h�̏ڍ׏���Ԃ�
142
+ # name:�r���h��
143
+ # notes:�m�[�g
144
+ # id:��ID
145
+ # is_open:�I�[�v�����H
146
+ # testplan_id:�e�X�g�v��ID
147
+ # active:�A�N�e�B�u��
148
148
  #
149
- #===
149
+ #=== ��
150
150
  #
151
151
  # getBuildsForTestPlan(tpid) #=>[{"name"=>"build1", "notes"=>"", "id"=>"1", "is_open"=>"1", "testplan_id"=>"3", "active"=>"1"}]
152
152
  #
@@ -156,28 +156,28 @@ class TestLinkClient
156
156
  end
157
157
 
158
158
  #
159
- #=== 概要
159
+ #=== �T�v
160
160
  #
161
161
  # getTestSuitesForTestPlan(tpid)
162
162
  #
163
- #=== 引数
163
+ #=== ����
164
164
  #
165
165
  #+tpid+::
166
- # テスト計画ID
166
+ # �e�X�g�v��ID
167
167
  #
168
- #=== 戻り値
169
- #
168
+ #=== �߂�l
169
+ # ��
170
170
  # {"name"=>"testsuite1", "id"=>"36"}
171
171
  #
172
- #=== 例外
172
+ #=== ��O
173
173
  #
174
- #=== 詳細
174
+ #=== �ڍ�
175
175
  #
176
- # テスト計画IDを渡すとテストスイートの詳細情報を返す
177
- # name:テストスイート名
178
- # id:自ID
176
+ # �e�X�g�v��ID��n���ƃe�X�g�X�C�[�g�̏ڍ׏���Ԃ�
177
+ # name:�e�X�g�X�C�[�g��
178
+ # id:��ID
179
179
  #
180
- #===
180
+ #=== ��
181
181
  #
182
182
  # getTestSuitesForTestPlan(tpid) #=>{"name"=>"testsuite1", "id"=>"36"}
183
183
  #
@@ -186,28 +186,28 @@ class TestLinkClient
186
186
  ret = @server.call("tl.getTestSuitesForTestPlan",args)
187
187
  end
188
188
  #
189
- #=== 概要
189
+ #=== �T�v
190
190
  #
191
191
  # getTestSuitesForTestPlan(tpid)
192
192
  #
193
- #=== 引数
193
+ #=== ����
194
194
  #
195
195
  #+tpid+::
196
- # テスト計画ID
196
+ # �e�X�g�v��ID
197
197
  #
198
- #=== 戻り値
199
- #
198
+ #=== �߂�l
199
+ # ��
200
200
  # {"name"=>"testsuite1", "id"=>"36"}
201
201
  #
202
- #=== 例外
202
+ #=== ��O
203
203
  #
204
- #=== 詳細
204
+ #=== �ڍ�
205
205
  #
206
- # テスト計画IDを渡すとテストスイートの詳細情報を返す
207
- # name:テストスイート名
208
- # id:自ID
206
+ # �e�X�g�v��ID��n���ƃe�X�g�X�C�[�g�̏ڍ׏���Ԃ�
207
+ # name:�e�X�g�X�C�[�g��
208
+ # id:��ID
209
209
  #
210
- #===
210
+ #=== ��
211
211
  #
212
212
  # getTestSuitesForTestPlan(tpid) #=>{"name"=>"testsuite1", "id"=>"36"}
213
213
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: TestLinkClient
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - SADAHIKO Hantani
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-12 00:00:00 +09:00
12
+ date: 2008-12-15 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies: []
15
15