Beispiel #1
0
        public void ParseStackTrace_Parse_Parsed()
        {
            Boolean             bWellFormattedLines;
            Collection <String> strResultats;

            bWellFormattedLines = true;

            strResultats = OrionErrorManager.ParseStackTrace();
            foreach (String strResultatTemp in strResultats)
            {
                if (strResultatTemp.Split(new String[] { " -> " }, StringSplitOptions.None).Length != 2)
                {
                    bWellFormattedLines = false;
                    break;
                }
            }

            Assert.IsTrue(bWellFormattedLines);
        }// ParseStackTrace_Parse_Parsed()