tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp
changeset 7 f7bc934e204c
parent 3 41300fa6a67c
child 30 5dc02b23752f
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the test suite of the Qt Toolkit.
     7 ** This file is part of the test suite of the Qt Toolkit.
     8 **
     8 **
   830 }
   830 }
   831 
   831 
   832 /** check behaiviour of built-in function */
   832 /** check behaiviour of built-in function */
   833 void tst_QScriptEngineAgent::functionEntryAndExit_builtin()
   833 void tst_QScriptEngineAgent::functionEntryAndExit_builtin()
   834 {
   834 {
       
   835     QSKIP("The test fails on platforms others than Linux. The issue will be fixed with next JSC update", SkipAll);
   835     QFETCH(QString, script);
   836     QFETCH(QString, script);
   836     QFETCH(QString, result);
   837     QFETCH(QString, result);
   837     QScriptEngine eng;
   838     QScriptEngine eng;
   838     ScriptEngineSpy *spy = new ScriptEngineSpy(&eng, ~(ScriptEngineSpy::IgnoreFunctionEntry
   839     ScriptEngineSpy *spy = new ScriptEngineSpy(&eng, ~(ScriptEngineSpy::IgnoreFunctionEntry
   839                                                        | ScriptEngineSpy::IgnoreFunctionExit));
   840                                                        | ScriptEngineSpy::IgnoreFunctionExit));