From 2b8c26f9f3fbba75463a818797b6d83cd409c74f Mon Sep 17 00:00:00 2001 From: Jedrzej Nowacki Date: Fri, 29 Oct 2010 15:12:05 +0200 Subject: Refactor tst_QScriptValue::isError The test should use _data function. It should be easier to maintain that code. Reviewed-by: Kent Hansen --- tests/auto/qscriptvalue/tst_qscriptvalue.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/auto/qscriptvalue/tst_qscriptvalue.h') diff --git a/tests/auto/qscriptvalue/tst_qscriptvalue.h b/tests/auto/qscriptvalue/tst_qscriptvalue.h index 300ce61b78..b6274f49c7 100644 --- a/tests/auto/qscriptvalue/tst_qscriptvalue.h +++ b/tests/auto/qscriptvalue/tst_qscriptvalue.h @@ -99,6 +99,8 @@ private slots: void isArray(); void isDate(); void isDate_data(); + void isError_propertiesOfGlobalObject(); + void isError_data(); void isError(); void isRegExp_data(); void isRegExp(); -- cgit v1.2.1