Hi,

I'd like to write tests to validate my assumptions around what's an error and 
what's a warning for localized values going into nsTextFormatter::smprintf.

Basically, the tests would start with a reference string, and then a more or 
less random modification of that string, and a check if the segments are in, or 
if it crashes [1].

So I'll need a .cpp core, and a wrapper that feeds it data and checks the 
output.

Any suggestions on how to do that "right"?

Axel

[1] '%f' being the reference string, '%S' being the "localization", pass in 5.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to