public void Init()
		{
			GallioBodyTagFactory factory = new GallioBodyTagFactory();
			structuredStream = factory.CreateAssertionFailureStructuredStream();
			bodyTag = structuredStream.Body;
			assertionFailureMarkerTag = GetFirstChildMarkerTag(bodyTag);
			expectedValueToBeTrueSectionTag = GetFirstChildSectionTag(assertionFailureMarkerTag);
			expectedValueToBeTrueTextTag = GetFirstChildTextTag(expectedValueToBeTrueSectionTag);
			monoSpaceMarkerTag = GetSecondChildMarkerTag(expectedValueToBeTrueSectionTag);
			textTagAfterMonoSpaceMarkerTag = GetThirdChildTextTag(expectedValueToBeTrueSectionTag);
			stackTraceMarkerTag = GetFourthChildMarkerTag(expectedValueToBeTrueSectionTag);
			stackTraceTextTag = GetFirstChildTextTag(stackTraceMarkerTag);
			codeLocationMarkerTag = GetSecondChildMarkerTag(stackTraceMarkerTag);
			codeLocationTextTag = GetFirstChildTextTag(codeLocationMarkerTag);
		}
Example #2
0
        public void Init()
        {
            GallioBodyTagFactory factory = new GallioBodyTagFactory();

            structuredStream                = factory.CreateAssertionFailureStructuredStream();
            bodyTag                         = structuredStream.Body;
            assertionFailureMarkerTag       = GetFirstChildMarkerTag(bodyTag);
            expectedValueToBeTrueSectionTag = GetFirstChildSectionTag(assertionFailureMarkerTag);
            expectedValueToBeTrueTextTag    = GetFirstChildTextTag(expectedValueToBeTrueSectionTag);
            monoSpaceMarkerTag              = GetSecondChildMarkerTag(expectedValueToBeTrueSectionTag);
            textTagAfterMonoSpaceMarkerTag  = GetThirdChildTextTag(expectedValueToBeTrueSectionTag);
            stackTraceMarkerTag             = GetFourthChildMarkerTag(expectedValueToBeTrueSectionTag);
            stackTraceTextTag               = GetFirstChildTextTag(stackTraceMarkerTag);
            codeLocationMarkerTag           = GetSecondChildMarkerTag(stackTraceMarkerTag);
            codeLocationTextTag             = GetFirstChildTextTag(codeLocationMarkerTag);
        }
        void UpdateGallioTestLogWithAssertionFailure()
        {
            GallioBodyTagFactory factory = new GallioBodyTagFactory();

            testStepEventArgs.TestStepRun.TestLog.Streams.Add(factory.CreateAssertionFailureStructuredStream());
        }
		void UpdateGallioTestLogWithAssertionFailure()
		{
			GallioBodyTagFactory factory = new GallioBodyTagFactory();
			testStepEventArgs.TestStepRun.TestLog.Streams.Add(factory.CreateAssertionFailureStructuredStream());
		}