Skip to content

Commit

Permalink
samples: publicize 31 test classes
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Nov 5, 2024
1 parent 3594025 commit df29c36
Show file tree
Hide file tree
Showing 31 changed files with 31 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/BroadPhase/BroadPhaseCastRayTest.cpp
*/
class BroadPhaseCastRayTest extends BroadPhaseTest{
public class BroadPhaseCastRayTest extends BroadPhaseTest{

void Initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ of this software and associated documentation files (the "Software"), to deal
import testjoltjni.TestUtils;
import testjoltjni.app.samples.*;

class BroadPhaseInsertionTest extends BroadPhaseTest{
public class BroadPhaseInsertionTest extends BroadPhaseTest{
DefaultRandomEngine mRandomGenerator = new DefaultRandomEngine();
int mCurrentBody = 0;
int mDirection = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Character/CharacterPlanetTest.cpp
*/
class CharacterPlanetTest extends Test{
public class CharacterPlanetTest extends Test{
final float cPlanetRadius = 20.0f;
final float cCharacterHeightStanding = 1.35f;
final float cCharacterRadiusStanding = 0.3f;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Character/CharacterSpaceShipTest.cpp
*/
class CharacterSpaceShipTest extends Test{
public class CharacterSpaceShipTest extends Test{
static final float cCharacterHeightStanding = 1.35f;
static final float cCharacterRadiusStanding = 0.3f;
static final float cJumpSpeed = 4.0f;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ of this software and associated documentation files (the "Software"), to deal
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Character/CharacterTest.cpp
*/

class CharacterTest extends CharacterBaseTest{
public class CharacterTest extends CharacterBaseTest{
static final float cCollisionTolerance = 0.05f;
CharacterRef mCharacter;
RVec3 GetCharacterPosition(){return mCharacter.getPosition();}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Character/CharacterVirtualTest.cpp
*/
class CharacterVirtualTest extends CharacterBaseTest{
public class CharacterVirtualTest extends CharacterBaseTest{
static boolean sEnableCharacterInertia = true;
static EBackFaceMode sBackFaceMode = EBackFaceMode.CollideWithBackFaces;
static float sUpRotationX = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Constraints/ConeConstraintTest.cpp
*/
class ConeConstraintTest extends Test{
public class ConeConstraintTest extends Test{
public void Initialize()
{
// Floor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Constraints/ConstraintPriorityTest.cpp
*/
class ConstraintPriorityTest extends Test{
public class ConstraintPriorityTest extends Test{
List<TwoBodyConstraintRef> mConstraints=new ArrayList<>();

public void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Constraints/ConstraintSingularityTest.cpp
*/
class ConstraintSingularityTest extends Test{
public class ConstraintSingularityTest extends Test{

public void Initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Constraints/ConstraintVsCOMChangeTest.cpp
*/
class ConstraintVsCOMChangeTest extends Test{
public class ConstraintVsCOMChangeTest extends Test{
ShapeRefC mBox=new ShapeRefC();
List<Body> mBodies=new ArrayList<>();
List<ConstraintRef> mConstraints=new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Constraints/DistanceConstraintTest.cpp
*/
class DistanceConstraintTest extends Test{
public class DistanceConstraintTest extends Test{

public void Initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Constraints/FixedConstraintTest.cpp
*/
class FixedConstraintTest extends Test{
public class FixedConstraintTest extends Test{

public void Initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Constraints/GearConstraintTest.cpp
*/
class GearConstraintTest extends Test{
public class GearConstraintTest extends Test{

void Initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Constraints/HingeConstraintTest.cpp
*/
class HingeConstraintTest extends Test{
public class HingeConstraintTest extends Test{

public void Initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Constraints/PointConstraintTest.cpp
*/
class PointConstraintTest extends Test{
public class PointConstraintTest extends Test{
public void Initialize()
{
// Floor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Constraints/PoweredHingeConstraintTest.cpp
*/
class PoweredHingeConstraintTest extends Test{
public class PoweredHingeConstraintTest extends Test{
float sMaxAngularAcceleration = Jolt.degreesToRadians(3600.0f);
float sMaxFrictionAngularAcceleration = 0.0f;
float sFrequency = 2.0f;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Constraints/PulleyConstraintTest.cpp
*/
class PulleyConstraintTest extends Test{
public class PulleyConstraintTest extends Test{

public void Initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/General/ActivateDuringUpdateTest.cpp
*/
class ActivateDuringUpdateTest extends Test{
public class ActivateDuringUpdateTest extends Test{

public void Initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/General/ActivateDuringUpdateTest.cpp
*/
class ActiveEdgesTest extends Test{
public class ActiveEdgesTest extends Test{

public void Initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/General/EnhancedInternalEdgeRemovalTest.cpp
*/
class EnhancedInternalEdgeRemovalTest extends Test{
public class EnhancedInternalEdgeRemovalTest extends Test{
BodyId mLevelBall;

void CreateSlidingObjects(RVec3Arg inStart)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/General/HighSpeedTest.cpp
*/
class HighSpeedTest extends Test{
public class HighSpeedTest extends Test{

String sScenes[] =
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/General/RestitutionTest.cpp
*/
class RestitutionTest extends Test{
public class RestitutionTest extends Test{
public void Initialize()
{
// Floor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Shapes/BoxShapeTest.cpp
*/
class BoxShapeTest extends Test{
public class BoxShapeTest extends Test{

public void Initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Shapes/CapsuleShapeTest.cpp
*/
class CapsuleShapeTest extends Test{
public class CapsuleShapeTest extends Test{

public void Initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Shapes/ConvexHullShapeTest.cpp
*/
class ConvexHullShapeTest extends Test{
public class ConvexHullShapeTest extends Test{

public void Initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Shapes/DeformedHeightFieldShapeTest.cpp
*/
class DeformedHeightFieldShapeTest extends Test{
public class DeformedHeightFieldShapeTest extends Test{
BodyId mHeightFieldID=new BodyId();
float mTime;
float[]mHeightSamples;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/SoftBody/SoftBodyPressureTest.cpp
*/
class SoftBodyPressureTest extends Test{
public class SoftBodyPressureTest extends Test{

public void Initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Vehicle/MotorcycleTest.cpp
*/
class MotorcycleTest extends VehicleTest{
public class MotorcycleTest extends VehicleTest{
boolean sOverrideFrontSuspensionForcePoint,sOverrideRearSuspensionForcePoint;
boolean sEnableLeanController=true;
boolean sOverrideGravity;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Vehicle/TankTest.cpp
*/
class TankTest extends VehicleTest{
public class TankTest extends VehicleTest{
Body mTankBody;
Body mTurretBody;
Body mBarrelBody;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Vehicle/VehicleStressTest.cpp
*/
class VehicleStressTest extends VehicleTest{
public class VehicleStressTest extends VehicleTest{
List<VehicleConstraintRef> mVehicles = new ArrayList<>();
float mHandBrake, mForward, mRight;

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/testjoltjni/app/samples/water/BoatTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ of this software and associated documentation files (the "Software"), to deal
* Compare with the original by Jorrit Rouwe at
* https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/Water/BoatTest.cpp
*/
class BoatTest extends Test{
public class BoatTest extends Test{
float cMaxWaterHeight = 5.0f;
float cMinWaterHeight = 3.0f;
float cWaterWidth = 100.0f;
Expand Down

0 comments on commit df29c36

Please sign in to comment.