I'm writing some tests that use actual code text snippets as input. When I
write those snippets to the test log with TestLog.EmbedPlainText() they
appear without the formatting (no tabs or endlines).
TestLog.EmbedHtml("<pre>" + snippet + "</pre>") didn't seem to help, and
indeed it seemed the tags I added were stripped away.
My first question is: How can I add these snippets to the log so they retain
their formatting when presented?
And the second more general question: How are the different
TestLog.Embed(Html|XHtml|ect) intended to be used? Probably the answer is
"call the appropriately named method corresponding to the type of data in
your string", except that the apparent stripping out of my <pre/> tags has
me wondering.
Thanks!
Josh
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/mbunituser?hl=en
-~----------~----~----~----~------~----~------~--~---