public static void TransUserTypes(TestCase testCase) { Console.WriteLine(); Console.WriteLine(UserTypesXmlTranslator.transID(testCase)); Console.WriteLine(UserTypesXmlTranslator.transAuthor(testCase)); Console.WriteLine(UserTypesXmlTranslator.transIsAutomated(testCase)); Console.WriteLine(UserTypesXmlTranslator.transTestCategory(testCase)); Console.WriteLine(UserTypesXmlTranslator.transTittle(testCase)); Console.WriteLine(UserTypesXmlTranslator.transEnviromentAndVersion(testCase)); Console.WriteLine(UserTypesXmlTranslator.transPrerequisites(testCase)); Console.WriteLine(UserTypesXmlTranslator.transStepsList(testCase)); Console.WriteLine(UserTypesXmlTranslator.transActualResults(testCase)); Console.WriteLine(UserTypesXmlTranslator.transExpectedResults(testCase)); Console.WriteLine(UserTypesXmlTranslator.transIsPassed(testCase)); }
public static void StreamWrite(TestCase testCase, StreamWriter streamWriter) { streamWriter.WriteLine(UserTypesXmlTranslator.mainTestCaseElement()); streamWriter.WriteLine(UserTypesXmlTranslator.transID(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transAuthor(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transIsAutomated(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transTestCategory(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transTittle(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transEnviromentAndVersion(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transPrerequisites(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transStepsList(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transActualResults(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transExpectedResults(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transIsPassed(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.mainTestCaseElementEnd()); }