8 #include "GDCore/String.h"
11 class SerializerElement;
67 description = description_;
95 lastRunStatus = lastRunStatus_;
118 lastRunDurationMs = lastRunDurationMs_;
130 lastRunFramesExecuted = lastRunFramesExecuted_;
150 double lastRunAt = 0;
151 double lastRunDurationMs = 0;
152 int lastRunFramesExecuted = 0;
A generic container that can represent a value ( containing a string, double, bool or int),...
Definition: SerializerElement.h:37
String represents an UTF8 encoded string.
Definition: String.h:33
A test attached to a project or an events based extension.
Definition: Test.h:28
const gd::String & GetType() const
Get the type of the test ("gameplay" for now).
Definition: Test.h:51
double GetLastRunDurationMs() const
Get the duration (in milliseconds) of the last run.
Definition: Test.h:112
void SetLastRunStatus(const gd::String &lastRunStatus_)
Set the status of the last run.
Definition: Test.h:94
void SetLastRunDurationMs(double lastRunDurationMs_)
Set the duration (in milliseconds) of the last run.
Definition: Test.h:117
double GetLastRunAt() const
Get the timestamp (in milliseconds since epoch) of the last run, or 0 if never run.
Definition: Test.h:102
const gd::String & GetLastRunStatus() const
Get the status of the last run: empty if never run, or "passed", "failed", "error".
Definition: Test.h:89
void SetType(const gd::String &type_)
Change the type of the test.
Definition: Test.h:56
void SetSource(const gd::String &source_)
Change the JavaScript source of the test.
Definition: Test.h:78
void SetDescription(const gd::String &description_)
Change the description of the test.
Definition: Test.h:66
Test * Clone() const
Return a pointer to a new Test constructed from this one.
Definition: Test.h:36
void SetName(const gd::String &name_)
Change the name of the test.
Definition: Test.h:46
const gd::String & GetDescription() const
Get the description of the test.
Definition: Test.h:61
void SetLastRunFramesExecuted(int lastRunFramesExecuted_)
Set the number of frames executed during the last run.
Definition: Test.h:129
int GetLastRunFramesExecuted() const
Get the number of frames executed during the last run.
Definition: Test.h:124
const gd::String & GetSource() const
Get the JavaScript source of the test.
Definition: Test.h:73
void SetLastRunAt(double lastRunAt_)
Set the timestamp (in milliseconds since epoch) of the last run.
Definition: Test.h:107
const gd::String & GetName() const
Get the name of the test.
Definition: Test.h:41
Definition: CommonTools.h:24