22 lines
616 B
TypeScript
22 lines
616 B
TypeScript
// UE/FunctionalTest.ts
|
|
|
|
import { Actor } from '#root/UE/Actor.ts';
|
|
import { EFunctionalTestResult } from '#root/UE/EFunctionalTestResult.ts';
|
|
import { Name } from '#root/UE/Name.ts';
|
|
import { UEObject } from '#root/UE/UEObject.ts';
|
|
|
|
export class FunctionalTest extends Actor {
|
|
constructor(outer: UEObject | null = null, name: Name | string = Name.NONE) {
|
|
super(outer, name);
|
|
}
|
|
|
|
public FinishTest(
|
|
testResult: EFunctionalTestResult = EFunctionalTestResult.Default,
|
|
message: string = ''
|
|
): void {
|
|
console.log(
|
|
`Test Finished with result: ${testResult}. Message: ${message}`
|
|
);
|
|
}
|
|
}
|