FunctionalTest

非推奨を表示
非推奨

Deprecated. Use TestService instead

概要

プロパティ

方法

プロパティ

Description

並列読み取り

The description of the FunctionalTest.

方法

Error

void

パラメータ

message: string
既定値: ""

戻り値

void

Failed

void

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

パラメータ

message: string
既定値: ""

戻り値

void

Pass

void

パラメータ

message: string
既定値: ""

戻り値

void

Passed

void

パラメータ

message: string
既定値: ""

戻り値

void

Warn

void

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

パラメータ

message: string
既定値: ""

戻り値

void

コードサンプル

FunctionalTest:Warn1

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

イベント