internal StepType GetEventPropertiesTest(out string[] target, out bool FixedTopicSet, out TopicSetType TopicSet, out string[] TopicExpressionDialect, out string[] MessageContentFilterDialect, out string[] ProducerPropertiesFilterDialect, out string[] MessageContentSchemaLocation, out XmlElement[] Any, out SoapException ex, out int timeOut) { StepType res = StepType.None; target = new string[1]; timeOut = 0; ex = null; bool passed = true; string logMessage = ""; FixedTopicSet = true; TopicSet = new TopicSetType(); TopicExpressionDialect = new string[1]; MessageContentFilterDialect = new string[1]; ProducerPropertiesFilterDialect = new string[1]; MessageContentSchemaLocation = new string[1]; Any = new XmlElement[1]; //Get step list for command XmlNodeList m_testList = m_TestCommon.GetStepsForCommand("GetEventProperties"); if (m_testList != null) { //Get current step XmlNode test = m_testList[m_commandCount[GetEventProperties]]; //Generate response object targetObj; //TopicNamespaceLocation res = m_TestCommon.GenerateResponseStepTypeNotVoidSpecificXPath(test, out targetObj, out ex, out timeOut, typeof(string[]), "TopicNamespaceLocation"); target = (string[])targetObj; #region Serialization Temp //bool dsr = false; //XmlSerializer serializer1 = new XmlSerializer(typeof(bool)); //TextWriter textWriter = new StreamWriter("c:\\2.txt"); //serializer1.Serialize(textWriter, dsr); #endregion //Serialization Temp //FixedTopicSet res = m_TestCommon.GenerateResponseStepTypeNotVoidSpecificXPath(test, out targetObj, out ex, out timeOut, typeof(bool), "FixedTopicSet"); FixedTopicSet = (bool)targetObj; //TopicSet res = m_TestCommon.GenerateResponseStepTypeNotVoidSpecificXPath(test, out targetObj, out ex, out timeOut, typeof(TopicSetType), "TopicSet"); TopicSet = (TopicSetType)targetObj; //TopicExpressionDialect res = m_TestCommon.GenerateResponseStepTypeNotVoidSpecificXPath(test, out targetObj, out ex, out timeOut, typeof(string[]), "TopicExpressionDialect"); TopicExpressionDialect = (string[])targetObj; //MessageContentFilterDialect res = m_TestCommon.GenerateResponseStepTypeNotVoidSpecificXPath(test, out targetObj, out ex, out timeOut, typeof(string[]), "MessageContentFilterDialect"); MessageContentFilterDialect = (string[])targetObj; //ProducerPropertiesFilterDialect res = m_TestCommon.GenerateResponseStepTypeNotVoidSpecificXPath(test, out targetObj, out ex, out timeOut, typeof(string[]), "ProducerPropertiesFilterDialect"); ProducerPropertiesFilterDialect = (string[])targetObj; //MessageContentSchemaLocation res = m_TestCommon.GenerateResponseStepTypeNotVoidSpecificXPath(test, out targetObj, out ex, out timeOut, typeof(string[]), "MessageContentSchemaLocation"); MessageContentSchemaLocation = (string[])targetObj; //Any res = m_TestCommon.GenerateResponseStepTypeNotVoidSpecificXPath(test, out targetObj, out ex, out timeOut, typeof(XmlElement[]), "Any"); Any = (XmlElement[])targetObj; //Log message m_TestCommon.writeToLog(test, logMessage, passed); Increment(m_testList.Count, GetEventProperties); } else { timeOut = 0; target = null; ex = null; res = StepType.None; } return(res); }