chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
Run the following and Typemock will fail with an XmlException. Using VS 2010, Typemock 7.0.9 and dotCover:

[TestMethod]
public void CrashTypemock()
{
   Console.WriteLine("");
}


error in tests run: System.Xml.XmlException: Unexpected end of file while parsing CDATA has occurred. Line 31, position 84.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type, Int32& outStartPos, Int32& outEndPos)
at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type)
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Parse(String text, LoadOptions options)
at Typemock.Common.Core.Runner.NUnitParser.<ParseTestResults>d__1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Typemock.Common.Core.Runner.TestResultParser.ParseTestResults(String xmlString)
at Typemock.AutoRunner.Addin.Tests.TestsRunStarter.LoadTestResults()
at Typemock.AutoRunner.Addin.Tests.TestsRunStarter.LoadResults()
at Typemock.AutoRunner.Addin.Tests.TestsRunStarter.RunTests(IEnumerable`1 tests, Boolean triggeredByBuild, Dictionary`2 options)
Test run results -
unexpected error when trying to run test: OES.Test.Util.ConsoleProgressBarTest.CrashTypemock
asked by dcompiled (2.3k points)

1 Answer

0 votes
Hi,

Thank you for the application, it seems to be a bug.
We will look into this.
answered by alex (17k points)
...