smeyn / gallio-testlink-adapter

Moved From Google Code
3 stars 9 forks source link

Using TestLink.GetTestSuitesFromTestSuite when the from test suite has one suite fails. #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Call TestLink.GetTestSuitesFromTestSuite() with a Test Suite with only one 
child Test Suite.

What is the expected output? What do you see instead?
A List<TestSuite> object should be returned, but an exception is thrown because 
it can't cast from System.String to XmlRpcStruct.

What version of the product are you using? On what operating system?
1.3, Windows 7 (x64)

Please provide any additional information below.
I've fixed it by checking if one of the keys in XmlRpcStruct is "id", if it is 
then I assumed a single XmlRpcStruct is returned not a collection of 
XmlRpcStructs. You can contact me for the actual code. There may be a better 
way of doing this, but this works for my needs at least.

Original issue reported on code.google.com by xeeks...@gmail.com on 8 Jan 2013 at 11:53

GoogleCodeExporter commented 9 years ago
Thanks. I will eventually update the SVN repository to make this all easier

Original comment by StephanMeyn on 17 Jan 2013 at 10:41

GoogleCodeExporter commented 9 years ago
fix has been applied and added to SVN (rev 84)

Original comment by StephanMeyn on 24 Jan 2013 at 10:41