FunctionalTest

사용되지 않는 항목 표시

*이 콘텐츠는 AI(베타)를 사용해 번역되었으며, 오류가 있을 수 있습니다. 이 페이지를 영어로 보려면 여기를 클릭하세요.

사용되지 않음

요약

메서드

  • Error(message : string):()
  • Failed(message : string):()

    출력에 빨간색 메시지를 인쇄하고, *"TestService:"*로 시작합니다.

  • Pass(message : string):()
  • Passed(message : string):()
  • Warn(message : string):()

    조건이 참이면 출력하고, 그렇지 않으면 경고를 출력합니다.

속성

Description

병렬 읽기

기능 테스트의 설명.

메서드

Error

()

매개 변수

message: string
기본값: ""

반환

()

Failed

()

출력에 빨간색 메시지를 인쇄하고, *"TestService:"*로 시작합니다.

매개 변수

message: string
기본값: ""

반환

()

Pass

()

매개 변수

message: string
기본값: ""

반환

()

Passed

()

매개 변수

message: string
기본값: ""

반환

()

Warn

()

조건이 참이면 출력하고, 그렇지 않으면 경고를 출력합니다.

매개 변수

message: string
기본값: ""

반환

()

코드 샘플

This code would print Warning: this action is invalid to the output, in yellow text.

FunctionalTest:Warn1

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

이벤트