From 855084b6d52f6b51807c5c574bf57e56ede9822a Mon Sep 17 00:00:00 2001 From: NissimHadar Date: Tue, 29 May 2018 11:29:59 -0700 Subject: [PATCH] Updated jsdoc. --- interface/src/scripting/TestScriptingInterface.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/interface/src/scripting/TestScriptingInterface.h b/interface/src/scripting/TestScriptingInterface.h index 8838677562..df0be08236 100644 --- a/interface/src/scripting/TestScriptingInterface.h +++ b/interface/src/scripting/TestScriptingInterface.h @@ -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);