TestService
This class is a service. It is a singleton that may be acquired with GetService.
Memory category | Instances |
---|
Member index 25
Removed member index 4
History | Member | |
---|---|---|
214 | DoCommand(name: string): void | |
214 | GetCommandNames(): Array | |
214 | IsCommandChecked(name: string): bool | |
214 | IsCommandEnabled(name: string): bool |
History 112
- 590 Change Tags of from [] to [Hidden, NotReplicated]
- 590 Change CanSave of from true to false
- 590 Change Tags of from [] to [Hidden, NotReplicated]
- 590 Change CanSave of from true to false
- 573 Change ReturnType of Warn from void to null
- 573 Change ReturnType of Run from void to null
- 573 Change ReturnType of Require from void to null
- 573 Change ReturnType of Message from void to null
- 573 Change ReturnType of Fail from void to null
- 573 Change ReturnType of Error from void to null
- 573 Change ReturnType of Done from void to null
- 573 Change ReturnType of Checkpoint from void to null
- 573 Change ReturnType of Check from void to null
- 553 Change Default of WarnCount from to 0
- 553 Change Default of Timeout from to 10
- 553 Change Default of TestCount from to 0
- 553 Change Default of SimulateSecondsLag from to 0
- 553 Change Default of NumberOfPlayers from to 0
- 553 Change Default of IsSleepAllowed from to true
- 553 Change Default of from to true
- 553 Change Default of from to true
- 553 Change Default of ExecuteWithStudioRun from to false
- 553 Change Default of ErrorCount from to 0
- 553 Change Default of AutoRuns from to true
- 486 Add ScopeTime
- 486 Change ThreadSafety of WarnCount from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Timeout from ReadOnly to ReadSafe
- 486 Change ThreadSafety of TestCount from ReadOnly to ReadSafe
- 486 Change ThreadSafety of SimulateSecondsLag from ReadOnly to ReadSafe
- 486 Change ThreadSafety of NumberOfPlayers from ReadOnly to ReadSafe
- 486 Change ThreadSafety of IsSleepAllowed from ReadOnly to ReadSafe
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of ExecuteWithStudioRun from ReadOnly to ReadSafe
- 486 Change ThreadSafety of ErrorCount from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Description from ReadOnly to ReadSafe
- 486 Change ThreadSafety of AutoRuns from ReadOnly to ReadSafe
- 462 Change ThreadSafety of ServerCollectResult from to Unsafe
- 462 Change ThreadSafety of ServerCollectConditionalResult from to Unsafe
- 462 Change ThreadSafety of isFeatureEnabled from to Unsafe
- 462 Change ThreadSafety of Warn from to Unsafe
- 462 Change ThreadSafety of Run from to Unsafe
- 462 Change ThreadSafety of Require from to Unsafe
- 462 Change ThreadSafety of Message from to Unsafe
- 462 Change ThreadSafety of Fail from to Unsafe
- 462 Change ThreadSafety of Error from to Unsafe
- 462 Change ThreadSafety of Done from to Unsafe
- 462 Change ThreadSafety of Checkpoint from to Unsafe
- 462 Change ThreadSafety of Check from to Unsafe
- 462 Change ThreadSafety of WarnCount from to ReadOnly
- 462 Change ThreadSafety of Timeout from to ReadOnly
- 462 Change ThreadSafety of TestCount from to ReadOnly
- 462 Change ThreadSafety of SimulateSecondsLag from to ReadOnly
- 462 Change ThreadSafety of NumberOfPlayers from to ReadOnly
- 462 Change ThreadSafety of IsSleepAllowed from to ReadOnly
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of ExecuteWithStudioRun from to ReadOnly
- 462 Change ThreadSafety of ErrorCount from to ReadOnly
- 462 Change ThreadSafety of Description from to ReadOnly
- 462 Change ThreadSafety of AutoRuns from to ReadOnly
- 349 Add isFeatureEnabled
- 337 Add ExecuteWithStudioRun
- 214 Remove IsCommandEnabled
- 214 Remove IsCommandChecked
- 214 Remove GetCommandNames
- 214 Remove DoCommand
- 178 Add SimulateSecondsLag
- 151 Change Security of Run from LocalUserSecurity to PluginSecurity
- 95 Add ServerCollectResult
- 95 Add ServerCollectConditionalResult
- 95 Add NumberOfPlayers
- 94 Remove ServerCollectResult
- 94 Remove ServerCollectConditionalResult
- 94 Remove NumberOfPlayers
- 95 Add ServerCollectResult
- 95 Add ServerCollectConditionalResult
- 95 Add NumberOfPlayers
- 94 Remove ServerCollectResult
- 94 Remove ServerCollectConditionalResult
- 94 Remove NumberOfPlayers
- 95 Add ServerCollectResult
- 95 Add ServerCollectConditionalResult
- 95 Add NumberOfPlayers
- 57 Add IsCommandEnabled
- 57 Add IsCommandChecked
- 57 Add GetCommandNames
- 57 Add DoCommand
- 52 Change Parameters of Warn from (condition: bool, description: string) to (condition: bool, description: string, source: Instance = Instance, line: int = 0)
- 52 Add Run
- 52 Change Parameters of Require from (condition: bool, description: string) to (condition: bool, description: string, source: Instance = Instance, line: int = 0)
- 52 Change Parameters of Message from (text: string) to (text: string, source: Instance = Instance, line: int = 0)
- 52 Add Fail
- 52 Add Error
- 52 Change Parameters of Checkpoint from (text: string) to (text: string, source: Instance = Instance, line: int = 0)
- 52 Change Parameters of Check from (condition: bool, description: string) to (condition: bool, description: string, source: Instance = Instance, line: int = 0)
- 52 Add WarnCount
- 52 Add TestCount
- 52 Add ErrorCount
- 52 Add AutoRuns
- 51 Add Warn
- 51 Add Require
- 51 Add Message
- 51 Add Done
- 51 Add Checkpoint
- 51 Add Check
- 51 Add Timeout
- 51 Add IsSleepAllowed
- 51 Add
- 51 Add
- 51 Add Description
- 51 Add TestService
Members 25
AutoRuns
Type | Default | |
---|---|---|
bool | true |
Thread safety | ReadSafe |
---|---|
Category | Physics |
Loaded/Saved | true |
Check
Parameters (4) | Default | |
---|---|---|
condition | bool | |
description | string | |
source | Instance | Instance |
line | int | 0 |
Returns (1) | ||
null |
Thread safety | Unsafe |
---|
Checkpoint
Parameters (3) | Default | |
---|---|---|
text | string | |
source | Instance | Instance |
line | int | 0 |
Returns (1) | ||
null |
Thread safety | Unsafe |
---|
History 4
- 573 Change ReturnType of Checkpoint from void to null
- 462 Change ThreadSafety of Checkpoint from to Unsafe
- 52 Change Parameters of Checkpoint from (text: string) to (text: string, source: Instance = Instance, line: int = 0)
- 51 Add Checkpoint
Description
Type | Default | |
---|---|---|
string |
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | true |
History 3
- 486 Change ThreadSafety of Description from ReadOnly to ReadSafe
- 462 Change ThreadSafety of Description from to ReadOnly
- 51 Add Description
Done
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
Thread safety | Unsafe |
---|
Error
Parameters (3) | Default | |
---|---|---|
description | string | |
source | Instance | Instance |
line | int | 0 |
Returns (1) | ||
null |
Thread safety | Unsafe |
---|
ErrorCount
Type | Default | |
---|---|---|
int | 0 |
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.
Thread safety | ReadSafe |
---|---|
Category | Results |
Loaded/Saved | false/true |
History 4
- 553 Change Default of ErrorCount from to 0
- 486 Change ThreadSafety of ErrorCount from ReadOnly to ReadSafe
- 462 Change ThreadSafety of ErrorCount from to ReadOnly
- 52 Add ErrorCount
ExecuteWithStudioRun
Type | Default | |
---|---|---|
bool | false |
Thread safety | ReadSafe |
---|---|
Category | Settings |
Loaded/Saved | true |
History 4
- 553 Change Default of ExecuteWithStudioRun from to false
- 486 Change ThreadSafety of ExecuteWithStudioRun from ReadOnly to ReadSafe
- 462 Change ThreadSafety of ExecuteWithStudioRun from to ReadOnly
- 337 Add ExecuteWithStudioRun
Fail
Parameters (3) | Default | |
---|---|---|
description | string | |
source | Instance | Instance |
line | int | 0 |
Returns (1) | ||
null |
Thread safety | Unsafe |
---|
IsSleepAllowed
Type | Default | |
---|---|---|
bool | true |
Thread safety | ReadSafe |
---|---|
Category | Physics |
Loaded/Saved | true |
History 4
- 553 Change Default of IsSleepAllowed from to true
- 486 Change ThreadSafety of IsSleepAllowed from ReadOnly to ReadSafe
- 462 Change ThreadSafety of IsSleepAllowed from to ReadOnly
- 51 Add IsSleepAllowed
Message
Parameters (3) | Default | |
---|---|---|
text | string | |
source | Instance | Instance |
line | int | 0 |
Returns (1) | ||
null |
Thread safety | Unsafe |
---|
NumberOfPlayers
Type | Default | |
---|---|---|
int | 0 |
Thread safety | ReadSafe |
---|---|
Category | Settings |
Loaded/Saved | true |
History 8
- 553 Change Default of NumberOfPlayers from to 0
- 486 Change ThreadSafety of NumberOfPlayers from ReadOnly to ReadSafe
- 462 Change ThreadSafety of NumberOfPlayers from to ReadOnly
- 95 Add NumberOfPlayers
- 94 Remove NumberOfPlayers
- 95 Add NumberOfPlayers
- 94 Remove NumberOfPlayers
- 95 Add NumberOfPlayers
Require
Parameters (4) | Default | |
---|---|---|
condition | bool | |
description | string | |
source | Instance | Instance |
line | int | 0 |
Returns (1) | ||
null |
Thread safety | Unsafe |
---|
Run
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
This function yields. It will block the calling thread until completion.
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
ScopeTime
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Dictionary |
Thread safety | Unsafe |
---|
ServerCollectConditionalResult
Parameters (4) | |
---|---|
condition | bool |
text | string |
script | Instance |
line | int |
Thread safety | Unsafe |
---|
History 6
- 462 Change ThreadSafety of ServerCollectConditionalResult from to Unsafe
- 95 Add ServerCollectConditionalResult
- 94 Remove ServerCollectConditionalResult
- 95 Add ServerCollectConditionalResult
- 94 Remove ServerCollectConditionalResult
- 95 Add ServerCollectConditionalResult
ServerCollectResult
Parameters (3) | |
---|---|
text | string |
script | Instance |
line | int |
Thread safety | Unsafe |
---|
History 6
- 462 Change ThreadSafety of ServerCollectResult from to Unsafe
- 95 Add ServerCollectResult
- 94 Remove ServerCollectResult
- 95 Add ServerCollectResult
- 94 Remove ServerCollectResult
- 95 Add ServerCollectResult
SimulateSecondsLag
Type | Default | |
---|---|---|
double | 0 |
Thread safety | ReadSafe |
---|---|
Category | Settings |
Loaded/Saved | true |
History 4
- 553 Change Default of SimulateSecondsLag from to 0
- 486 Change ThreadSafety of SimulateSecondsLag from ReadOnly to ReadSafe
- 462 Change ThreadSafety of SimulateSecondsLag from to ReadOnly
- 178 Add SimulateSecondsLag
TestCount
Type | Default | |
---|---|---|
int | 0 |
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.
Thread safety | ReadSafe |
---|---|
Category | Results |
Loaded/Saved | false/true |
Timeout
Type | Default | |
---|---|---|
double | 10 |
Thread safety | ReadSafe |
---|---|
Category | Settings |
Loaded/Saved | true |
Warn
Parameters (4) | Default | |
---|---|---|
condition | bool | |
description | string | |
source | Instance | Instance |
line | int | 0 |
Returns (1) | ||
null |
Thread safety | Unsafe |
---|
WarnCount
Type | Default | |
---|---|---|
int | 0 |
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.
Thread safety | ReadSafe |
---|---|
Category | Results |
Loaded/Saved | false/true |
isFeatureEnabled
Parameters (1) | ||
---|---|---|
name | string | |
Returns (1) | ||
bool |
Thread safety | Unsafe |
---|
History 2
- 462 Change ThreadSafety of isFeatureEnabled from to Unsafe
- 349 Add isFeatureEnabled
Removed members 4
DoCommand
Parameters (1) | ||
---|---|---|
name | string | |
Returns (1) | ||
void |
Security | LocalUserSecurity |
---|
GetCommandNames
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Array |
Security | LocalUserSecurity |
---|
History 2
- 214 Remove GetCommandNames
- 57 Add GetCommandNames
IsCommandChecked
Parameters (1) | ||
---|---|---|
name | string | |
Returns (1) | ||
bool |
Security | LocalUserSecurity |
---|
History 2
- 214 Remove IsCommandChecked
- 57 Add IsCommandChecked
IsCommandEnabled
Parameters (1) | ||
---|---|---|
name | string | |
Returns (1) | ||
bool |
Security | LocalUserSecurity |
---|
History 2
- 214 Remove IsCommandEnabled
- 57 Add IsCommandEnabled