Updated jsdoc.

This commit is contained in:
NissimHadar 2018-05-29 11:29:59 -07:00
parent c49bcbe4e9
commit 855084b6d5

View file

@ -120,6 +120,12 @@ public slots:
*/
void savePhysicsSimulationStats(QString filename);
/**jsdoc
* Profiles a specific function
* @function Test.savePhysicsSimulationStats
* @param {string} name - Name used to reference the function
* @param {function} function - Function to profile
*/
Q_INVOKABLE void profileRange(const QString& name, QScriptValue function);
/**jsdoc
@ -131,6 +137,8 @@ public slots:
/**jsdoc
* Save a JSON object to a file in the test results location
* @function Test.saveObject
* @param {string} name - Name of the object
* @param {string} filename - Name of file to save to
*/
void saveObject(QVariant v, const QString& filename);