A Python UPnP Media Server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

348 lines
11 KiB

  1. <ServiceControlSyntaxTestCases>
  2. <ServiceType>RenderingControl</ServiceType>
  3. <ServiceVersion>1</ServiceVersion>
  4. <TestCaseList>
  5. <TestCase>
  6. <Id>1</Id>
  7. <Category>Valid Action And Valid InArgs</Category>
  8. <ActionName>ListPresets</ActionName>
  9. <InArgs>
  10. <InstanceID>0</InstanceID>
  11. </InArgs>
  12. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  13. </TestCase>
  14. <TestCase>
  15. <Id>2</Id>
  16. <Category>Valid Action And Valid InArgs</Category>
  17. <ActionName>SelectPreset</ActionName>
  18. <InArgs>
  19. <InstanceID>0</InstanceID>
  20. <PresetName>FactoryDefaults</PresetName>
  21. </InArgs>
  22. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  23. </TestCase>
  24. <TestCase>
  25. <Id>3</Id>
  26. <Category>Valid Action And Valid InArgs</Category>
  27. <ActionName>GetBrightness</ActionName>
  28. <InArgs>
  29. <InstanceID>0</InstanceID>
  30. </InArgs>
  31. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  32. </TestCase>
  33. <TestCase>
  34. <Id>4</Id>
  35. <Category>Valid Action And Valid InArgs</Category>
  36. <ActionName>SetBrightness</ActionName>
  37. <InArgs>
  38. <InstanceID>0</InstanceID>
  39. <DesiredBrightness>0</DesiredBrightness>
  40. </InArgs>
  41. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  42. </TestCase>
  43. <TestCase>
  44. <Id>5</Id>
  45. <Category>Valid Action And Valid InArgs</Category>
  46. <ActionName>GetContrast</ActionName>
  47. <InArgs>
  48. <InstanceID>0</InstanceID>
  49. </InArgs>
  50. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  51. </TestCase>
  52. <TestCase>
  53. <Id>6</Id>
  54. <Category>Valid Action And Valid InArgs</Category>
  55. <ActionName>SetContrast</ActionName>
  56. <InArgs>
  57. <InstanceID>0</InstanceID>
  58. <DesiredContrast>0</DesiredContrast>
  59. </InArgs>
  60. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  61. </TestCase>
  62. <TestCase>
  63. <Id>7</Id>
  64. <Category>Valid Action And Valid InArgs</Category>
  65. <ActionName>GetRedVideoGain</ActionName>
  66. <InArgs>
  67. <InstanceID>0</InstanceID>
  68. </InArgs>
  69. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  70. </TestCase>
  71. <TestCase>
  72. <Id>8</Id>
  73. <Category>Valid Action And Valid InArgs</Category>
  74. <ActionName>SetRedVideoGain</ActionName>
  75. <InArgs>
  76. <InstanceID>0</InstanceID>
  77. <DesiredRedVideoGain>0</DesiredRedVideoGain>
  78. </InArgs>
  79. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  80. </TestCase>
  81. <TestCase>
  82. <Id>9</Id>
  83. <Category>Valid Action And Valid InArgs</Category>
  84. <ActionName>GetGreenVideoGain</ActionName>
  85. <InArgs>
  86. <InstanceID>0</InstanceID>
  87. </InArgs>
  88. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  89. </TestCase>
  90. <TestCase>
  91. <Id>10</Id>
  92. <Category>Valid Action And Valid InArgs</Category>
  93. <ActionName>SetGreenVideoGain</ActionName>
  94. <InArgs>
  95. <InstanceID>0</InstanceID>
  96. <DesiredGreenVideoGain>0</DesiredGreenVideoGain>
  97. </InArgs>
  98. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  99. </TestCase>
  100. <TestCase>
  101. <Id>11</Id>
  102. <Category>Valid Action And Valid InArgs</Category>
  103. <ActionName>GetBlueVideoGain</ActionName>
  104. <InArgs>
  105. <InstanceID>0</InstanceID>
  106. </InArgs>
  107. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  108. </TestCase>
  109. <TestCase>
  110. <Id>12</Id>
  111. <Category>Valid Action And Valid InArgs</Category>
  112. <ActionName>SetBlueVideoGain</ActionName>
  113. <InArgs>
  114. <InstanceID>0</InstanceID>
  115. <DesiredBlueVideoGain>0</DesiredBlueVideoGain>
  116. </InArgs>
  117. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  118. </TestCase>
  119. <TestCase>
  120. <Id>13</Id>
  121. <Category>Valid Action And Valid InArgs</Category>
  122. <ActionName>GetRedVideoBlackLevel</ActionName>
  123. <InArgs>
  124. <InstanceID>0</InstanceID>
  125. </InArgs>
  126. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  127. </TestCase>
  128. <TestCase>
  129. <Id>14</Id>
  130. <Category>Valid Action And Valid InArgs</Category>
  131. <ActionName>SetRedVideoBlackLevel</ActionName>
  132. <InArgs>
  133. <InstanceID>0</InstanceID>
  134. <DesiredRedVideoBlackLevel>0</DesiredRedVideoBlackLevel>
  135. </InArgs>
  136. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  137. </TestCase>
  138. <TestCase>
  139. <Id>15</Id>
  140. <Category>Valid Action And Valid InArgs</Category>
  141. <ActionName>GetGreenVideoBlackLevel</ActionName>
  142. <InArgs>
  143. <InstanceID>0</InstanceID>
  144. </InArgs>
  145. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  146. </TestCase>
  147. <TestCase>
  148. <Id>16</Id>
  149. <Category>Valid Action And Valid InArgs</Category>
  150. <ActionName>SetGreenVideoBlackLevel</ActionName>
  151. <InArgs>
  152. <InstanceID>0</InstanceID>
  153. <DesiredGreenVideoBlackLevel>0</DesiredGreenVideoBlackLevel>
  154. </InArgs>
  155. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  156. </TestCase>
  157. <TestCase>
  158. <Id>17</Id>
  159. <Category>Valid Action And Valid InArgs</Category>
  160. <ActionName>GetBlueVideoBlackLevel</ActionName>
  161. <InArgs>
  162. <InstanceID>0</InstanceID>
  163. </InArgs>
  164. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  165. </TestCase>
  166. <TestCase>
  167. <Id>18</Id>
  168. <Category>Valid Action And Valid InArgs</Category>
  169. <ActionName>SetBlueVideoBlackLevel</ActionName>
  170. <InArgs>
  171. <InstanceID>0</InstanceID>
  172. <DesiredBlueVideoBlackLevel>0</DesiredBlueVideoBlackLevel>
  173. </InArgs>
  174. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  175. </TestCase>
  176. <TestCase>
  177. <Id>19</Id>
  178. <Category>Valid Action And Valid InArgs</Category>
  179. <ActionName>GetColorTemperature</ActionName>
  180. <InArgs>
  181. <InstanceID>0</InstanceID>
  182. </InArgs>
  183. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  184. </TestCase>
  185. <TestCase>
  186. <Id>20</Id>
  187. <Category>Valid Action And Valid InArgs</Category>
  188. <ActionName>SetColorTemperature</ActionName>
  189. <InArgs>
  190. <InstanceID>0</InstanceID>
  191. <DesiredColorTemperature>0</DesiredColorTemperature>
  192. </InArgs>
  193. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  194. </TestCase>
  195. <TestCase>
  196. <Id>21</Id>
  197. <Category>Valid Action And Valid InArgs</Category>
  198. <ActionName>GetHorizontalKeystone</ActionName>
  199. <InArgs>
  200. <InstanceID>0</InstanceID>
  201. </InArgs>
  202. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  203. </TestCase>
  204. <TestCase>
  205. <Id>22</Id>
  206. <Category>Valid Action And Valid InArgs</Category>
  207. <ActionName>SetHorizontalKeystone</ActionName>
  208. <InArgs>
  209. <InstanceID>0</InstanceID>
  210. <DesiredHorizontalKeystone>0</DesiredHorizontalKeystone>
  211. </InArgs>
  212. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  213. </TestCase>
  214. <TestCase>
  215. <Id>23</Id>
  216. <Category>Valid Action And Valid InArgs</Category>
  217. <ActionName>GetVerticalKeystone</ActionName>
  218. <InArgs>
  219. <InstanceID>0</InstanceID>
  220. </InArgs>
  221. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  222. </TestCase>
  223. <TestCase>
  224. <Id>24</Id>
  225. <Category>Valid Action And Valid InArgs</Category>
  226. <ActionName>SetVerticalKeystone</ActionName>
  227. <InArgs>
  228. <InstanceID>0</InstanceID>
  229. <DesiredVerticalKeystone>0</DesiredVerticalKeystone>
  230. </InArgs>
  231. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  232. </TestCase>
  233. <TestCase>
  234. <Id>25</Id>
  235. <Category>Valid Action And Valid InArgs</Category>
  236. <ActionName>GetSharpness</ActionName>
  237. <InArgs>
  238. <InstanceID>0</InstanceID>
  239. </InArgs>
  240. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  241. </TestCase>
  242. <TestCase>
  243. <Id>26</Id>
  244. <Category>Valid Action And Valid InArgs</Category>
  245. <ActionName>SetSharpness</ActionName>
  246. <InArgs>
  247. <InstanceID>0</InstanceID>
  248. <DesiredSharpness>0</DesiredSharpness>
  249. </InArgs>
  250. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  251. </TestCase>
  252. <TestCase>
  253. <Id>27</Id>
  254. <Category>Valid Action And Valid InArgs</Category>
  255. <ActionName>GetMute</ActionName>
  256. <InArgs>
  257. <InstanceID>0</InstanceID>
  258. <Channel>Master</Channel>
  259. </InArgs>
  260. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  261. </TestCase>
  262. <TestCase>
  263. <Id>28</Id>
  264. <Category>Valid Action And Valid InArgs</Category>
  265. <ActionName>SetMute</ActionName>
  266. <InArgs>
  267. <InstanceID>0</InstanceID>
  268. <Channel>Master</Channel>
  269. <DesiredMute>1</DesiredMute>
  270. </InArgs>
  271. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  272. </TestCase>
  273. <TestCase>
  274. <Id>29</Id>
  275. <Category>Valid Action And Valid InArgs</Category>
  276. <ActionName>GetVolume</ActionName>
  277. <InArgs>
  278. <InstanceID>0</InstanceID>
  279. <Channel>Master</Channel>
  280. </InArgs>
  281. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  282. </TestCase>
  283. <TestCase>
  284. <Id>30</Id>
  285. <Category>Valid Action And Valid InArgs</Category>
  286. <ActionName>SetVolume</ActionName>
  287. <InArgs>
  288. <InstanceID>0</InstanceID>
  289. <Channel>Master</Channel>
  290. <DesiredVolume>0</DesiredVolume>
  291. </InArgs>
  292. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  293. </TestCase>
  294. <TestCase>
  295. <Id>31</Id>
  296. <Category>Valid Action And Valid InArgs</Category>
  297. <ActionName>GetVolumeDB</ActionName>
  298. <InArgs>
  299. <InstanceID>0</InstanceID>
  300. <Channel>Master</Channel>
  301. </InArgs>
  302. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  303. </TestCase>
  304. <TestCase>
  305. <Id>32</Id>
  306. <Category>Valid Action And Valid InArgs</Category>
  307. <ActionName>SetVolumeDB</ActionName>
  308. <InArgs>
  309. <InstanceID>0</InstanceID>
  310. <Channel>Master</Channel>
  311. <DesiredVolume>0</DesiredVolume>
  312. </InArgs>
  313. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  314. </TestCase>
  315. <TestCase>
  316. <Id>33</Id>
  317. <Category>Valid Action And Valid InArgs</Category>
  318. <ActionName>GetVolumeDBRange</ActionName>
  319. <InArgs>
  320. <InstanceID>0</InstanceID>
  321. <Channel>Master</Channel>
  322. </InArgs>
  323. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  324. </TestCase>
  325. <TestCase>
  326. <Id>34</Id>
  327. <Category>Valid Action And Valid InArgs</Category>
  328. <ActionName>GetLoudness</ActionName>
  329. <InArgs>
  330. <InstanceID>0</InstanceID>
  331. <Channel>Master</Channel>
  332. </InArgs>
  333. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  334. </TestCase>
  335. <TestCase>
  336. <Id>35</Id>
  337. <Category>Valid Action And Valid InArgs</Category>
  338. <ActionName>SetLoudness</ActionName>
  339. <InArgs>
  340. <InstanceID>0</InstanceID>
  341. <Channel>Master</Channel>
  342. <DesiredLoudness>1</DesiredLoudness>
  343. </InArgs>
  344. <ExpectedReturnCode>ACTION_AND_INARGS_ARE_VALID</ExpectedReturnCode>
  345. </TestCase>
  346. </TestCaseList>
  347. </ServiceControlSyntaxTestCases>