Le samedi 7 avril 2007, Charles Connell a écrit : > Hey all, > > An update: > > I've been running the kopetemessage_test, and it reports a failure on line > 157 when Message is given plaintext and asks for it back as HTML. It gets > it back, but with some tags that it wasn't expecting. This is because > QTextDocument produces a full HTML document regardless of input, and when > Message returns HTML, it is returning stripped down version of an HTML > document, but it still has some tags. These tags (such as <p>) were never > provided to Message, but they still make sense and don't hurt anything. > However, kopetemessage_test wants to get back no more than it gave, so it > fails the test. I hope this new behavior isn't a problem; I haven't noticed > it to be.
Often, we have to change test to fit the new reality :-) In this case, maybe the new <p> may add spaces somewhere, or make some protocol not work well anymore because they don't expect <p> So more test have to be done to see if that behavior change is not a problem.
pgpliviKszxfg.pgp
Description: PGP signature
_______________________________________________ kopete-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kopete-devel
