2020-04-25 12:47:47 +02:00
|
|
|
extends Node
|
|
|
|
|
|
|
|
|
|
|
|
var _tests = [
|
|
|
|
{
|
2020-06-28 09:29:20 +02:00
|
|
|
"id": "Functional Tests/Shapes",
|
|
|
|
"path": "res://tests/functional/test_shapes.tscn",
|
2020-04-25 12:47:47 +02:00
|
|
|
},
|
|
|
|
{
|
2020-06-28 09:29:20 +02:00
|
|
|
"id": "Functional Tests/Compound Shapes",
|
|
|
|
"path": "res://tests/functional/test_compound_shapes.tscn",
|
2020-04-25 12:47:47 +02:00
|
|
|
},
|
|
|
|
{
|
2020-06-28 09:29:20 +02:00
|
|
|
"id": "Functional Tests/Friction",
|
|
|
|
"path": "res://tests/functional/test_friction.tscn",
|
2020-04-25 12:47:47 +02:00
|
|
|
},
|
2020-12-10 04:06:37 +01:00
|
|
|
{
|
|
|
|
"id": "Functional Tests/Box Stack",
|
|
|
|
"path": "res://tests/functional/test_stack.tscn",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "Functional Tests/Box Pyramid",
|
|
|
|
"path": "res://tests/functional/test_pyramid.tscn",
|
|
|
|
},
|
2020-12-18 05:00:42 +01:00
|
|
|
{
|
|
|
|
"id": "Functional Tests/Collision Pairs",
|
|
|
|
"path": "res://tests/functional/test_collision_pairs.tscn",
|
|
|
|
},
|
2020-12-19 18:27:44 +01:00
|
|
|
{
|
|
|
|
"id": "Functional Tests/Joints",
|
|
|
|
"path": "res://tests/functional/test_joints.tscn",
|
|
|
|
},
|
2020-12-10 04:06:37 +01:00
|
|
|
{
|
|
|
|
"id": "Functional Tests/Raycasting",
|
|
|
|
"path": "res://tests/functional/test_raycasting.tscn",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "Performance Tests/Broadphase",
|
|
|
|
"path": "res://tests/performance/test_perf_broadphase.tscn",
|
|
|
|
},
|
2020-04-25 12:47:47 +02:00
|
|
|
{
|
2020-06-28 09:29:20 +02:00
|
|
|
"id": "Performance Tests/Contacts",
|
|
|
|
"path": "res://tests/performance/test_perf_contacts.tscn",
|
2020-04-25 12:47:47 +02:00
|
|
|
},
|
2020-07-02 23:37:58 +02:00
|
|
|
{
|
|
|
|
"id" : "Performance Tests/Contacts Extended",
|
|
|
|
"path" : "res://tests/performance/test_perf_contacts_extended.tscn",
|
|
|
|
},
|
2020-04-25 12:47:47 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
func _ready():
|
|
|
|
var test_menu = $TestsMenu
|
|
|
|
for test in _tests:
|
|
|
|
test_menu.add_test(test.id, test.path)
|