19 lines
495 B
GDScript
19 lines
495 B
GDScript
class_name Examples
|
|
|
|
static var files: Variant = haxe_ds_StringMap.new()
|
|
static var fileBuffer = func(path: String) -> HankBuffer:
|
|
return HankBuffer.new(path, files.__get(path))
|
|
|
|
func _init() -> void:
|
|
pass
|
|
|
|
static func main() -> void:
|
|
haxe_Log.trace.call("Testing examples for target " + LogUtil.currentTarget(), {
|
|
"fileName": "../tests/main/Examples.hx",
|
|
"lineNumber": 8,
|
|
"className": "tests.main.Examples",
|
|
"methodName": "main"
|
|
})
|
|
StoryTestCase.new("examples").testAllExamples()
|
|
|