[Kst] extragear/graphics/kst/tests
George Staikos
staikos at kde.org
Sat Nov 5 15:37:21 CET 2005
SVN commit 477971 by staikos:
found testcase that crashes the label parser
M +6 -0 testlabelparser.cpp
--- trunk/extragear/graphics/kst/tests/testlabelparser.cpp #477970:477971
@@ -434,6 +434,12 @@
parsed = Label::parse("}");
delete parsed;
+ parsed = Label::parse("Average period (ADU)");
+ delete parsed;
+
+ parsed = Label::parse("PSD (ADU/{Hz^{1/2}})");
+ delete parsed;
+
parsed = Label::parse("\\Sigma^{(x+5)^2}_{5+1} + \\Pi^{\\Sigma^{i-j}_{i+j}}_{x = 0} + 5");
doTest(parsed != 0L);
// more to test...
More information about the Kst
mailing list