You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

146 lines
5.0 KiB

/*
* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
* 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software. If you use this software
* in a product, an acknowledgment in the product documentation would be
* appreciated but is not required.
* 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution.
*/
#include "../Framework/Test.h"
#include "AddPair.h"
#include "ApplyForce.h"
#include "BasicSliderCrank.h"
#include "BodyTypes.h"
#include "Breakable.h"
#include "Bridge.h"
#include "BulletTest.h"
#include "Cantilever.h"
#include "Car.h"
#include "Chain.h"
#include "CharacterCollision.h"
#include "CollisionFiltering.h"
#include "CollisionProcessing.h"
#include "CompoundShapes.h"
#include "Confined.h"
#include "ContinuousTest.h"
#include "ConvexHull.h"
#include "ConveyorBelt.h"
#include "DistanceTest.h"
#include "Dominos.h"
#include "DumpShell.h"
#include "DynamicTreeTest.h"
#include "EdgeShapes.h"
#include "EdgeTest.h"
#include "Gears.h"
#include "GroundPlane.h"
#include "HeavyOnLight.h"
#include "HeavyOnLightTwo.h"
#include "JSONExample.h"
#include "LineStack.h"
#include "Mobile.h"
#include "MobileBalanced.h"
#include "MotorJoint.h"
#include "OneSidedPlatform.h"
#include "Pinball.h"
#include "PolyCollision.h"
#include "PolyShapes.h"
#include "Prismatic.h"
#include "Pulleys.h"
#include "Pyramid.h"
#include "RayCast.h"
#include "Revolute.h"
#include "RopeJoint.h"
#include "Saw.h"
#include "SensorTest.h"
#include "ShapeCast.h"
#include "ShapeEditing.h"
#include "SliderCrank.h"
#include "SphereStack.h"
#include "TheoJansen.h"
#include "Tiles.h"
#include "TimeOfImpact.h"
#include "Tumbler.h"
#include "VaryingFriction.h"
#include "VaryingRestitution.h"
#include "VerticalStack.h"
#include "Web.h"
// My Additional Tests
#include "ChainLinks.h"
// clang-format off
TestEntry g_testEntries[] = {
{ "JSON", JSONExample::Create },
{ "Chain Links", ChainLinks::Create },
// { "Simple Chain Links", SimpleChainLinks::Create },
{ "Simple Chain Links", ChainLinks::CreateThin },
{ "Saw", Saw::Create },
{ "Ground Plane", GroundPlane::Create },
{ "Line Stack", LineStack::Create },
{ "Shape Cast", ShapeCast::Create },
{ "Time of Impact", TimeOfImpact::Create },
{ "Character Collision", CharacterCollision::Create },
{ "Tiles", Tiles::Create },
{ "Heavy on Light", HeavyOnLight::Create },
{ "Heavy on Light Two", HeavyOnLightTwo::Create },
{ "Vertical Stack", VerticalStack::Create },
{ "Basic Slider Crank", BasicSliderCrank::Create },
{ "Slider Crank", SliderCrank::Create },
{ "Sphere Stack", SphereStack::Create },
{ "Convex Hull", ConvexHull::Create },
{ "Tumbler", Tumbler::Create },
{ "Ray-Cast", RayCast::Create },
{ "Dump Shell", DumpShell::Create },
{ "Apply Force", ApplyForce::Create },
{ "Continuous Test", ContinuousTest::Create },
{ "Motor Joint", MotorJoint::Create },
{ "One-Sided Platform", OneSidedPlatform::Create },
{ "Mobile", Mobile::Create },
{ "MobileBalanced", MobileBalanced::Create },
{ "Conveyor Belt", ConveyorBelt::Create },
{ "Gears", Gears::Create },
{ "Varying Restitution", VaryingRestitution::Create },
{ "Cantilever", Cantilever::Create },
{ "Edge Test", EdgeTest::Create },
{ "Body Types", BodyTypes::Create },
{ "Shape Editing", ShapeEditing::Create },
{ "Car", Car::Create },
{ "Prismatic", Prismatic::Create },
{ "Revolute", Revolute::Create },
{ "Pulleys", Pulleys::Create },
{ "Polygon Shapes", PolyShapes::Create },
{ "Web", Web::Create },
{ "RopeJoint", RopeJoint::Create },
{ "Pinball", Pinball::Create },
{ "Bullet Test", BulletTest::Create },
{ "Confined", Confined::Create },
{ "Pyramid", Pyramid::Create },
{ "Theo Jansen's Walker", TheoJansen::Create },
{ "Edge Shapes", EdgeShapes::Create },
{ "PolyCollision", PolyCollision::Create },
{ "Bridge", Bridge::Create },
{ "Breakable", Breakable::Create },
{ "Chain", Chain::Create },
{ "Collision Filtering", CollisionFiltering::Create },
{ "Collision Processing", CollisionProcessing::Create },
{ "Compound Shapes", CompoundShapes::Create },
{ "Distance Test", DistanceTest::Create },
{ "Dominos", Dominos::Create },
{ "Dynamic Tree", DynamicTreeTest::Create },
{ "Sensor Test", SensorTest::Create },
{ "Varying Friction", VaryingFriction::Create },
{ "Add Pair Stress Test", AddPair::Create },
{ NULL, NULL }
};
// clang-format on