FunctionalTest

Visualizza obsoleti
deprecato

Deprecated. Use TestService instead

Sommario

Proprietà

Metodi

Proprietà

Description

lettura parallela

The description of the FunctionalTest.

Metodi

Error

void

Parametri

message: string
Valore predefinito: ""

Restituzioni

void

Failed

void

Prints a red message to the output, prefixed by "TestService: ".

Parametri

message: string
Valore predefinito: ""

Restituzioni

void

Pass

void

Parametri

message: string
Valore predefinito: ""

Restituzioni

void

Passed

void

Parametri

message: string
Valore predefinito: ""

Restituzioni

void

Warn

void

Prints if a condition is true, otherwise prints a warning.

Parametri

message: string
Valore predefinito: ""

Restituzioni

void

Campioni di codice

FunctionalTest:Warn1

local TestService = game:GetService("TestService")
TestService:Warn(false, "this action is invalid")

Eventi