コード例 #1
0
        public QTF.TestVerdict XmlSerializeToString(string filePath)
        {
            try
            {
                Setup();

                Core.TestSuite ts = Core.TestSuite.DeserializeFromFile(filePath);

                string bob = DataContractSerializeObject <Core.TestSuite>(ts);

                TestVerdict = QTF.TestVerdict.Pass;
            }
            catch (Exception e)
            {
                TestMessage += e.ToString();
                TestVerdict  = QTF.TestVerdict.Error;
            }
            finally
            {
                Teardown();
            }

            return(TestVerdict);
        }
コード例 #2
0
 public override void OnTestSuiteExecutionComplete(Core.TestSuite testSuite, Core.TestSuiteResult testSuiteResult)
 {
     throw new NotImplementedException();
 }
コード例 #3
0
 public override void OnTestSuiteExecutionBegin(Core.TestSuite testSuite)
 {
     throw new NotImplementedException();
 }
コード例 #4
0
 public override void OnTestPreprocessorComplete(Core.TestSuite testSuite, Core.TestProcessorResult testProcessorResult)
 {
     throw new NotImplementedException();
 }
コード例 #5
0
 public override void OnTestPreprocessorBegin(Core.TestSuite testSuite)
 {
     throw new NotImplementedException();
 }