Test package cleanup complete!!!

I have completed the codecleaning work on the org.xith3d.test package… well, almost. All tests are now working again, except for the following:

loaders.TDSTest (seems to be a bug in the loader itself)
sound.* (problems with the native library)
terrain.TerrainTest (maybe we could eliminate the SwingOverlay, since it’s just overhead in this test and doesn’t work)
ui.SwingOverlayTest

Maybe someone could fix these remaining test.

I’ll take a look at it. I already fixed it once, some time ago.

Hey I use xith3d sound sucessfully in my game so please can you be more precise on what problems is there ?

Terrain test always worked perfectly for me.

TDS loader works correctly :

  • code was partly commented
  • there was a bug in path construction for image locating
    And I :
  • made the DEBUG flag really taken into account (prints nothing when DEBUG=false which wasn’t the case before)

A little screenie attached

Thanks for the TDS fix.

[quote="<MagicSpark.org [ BlueSky ]>,post:2,topic:27897"]

Hey I use xith3d sound sucessfully in my game so please can you be more precise on what problems is there ?
[/quote]
I just wanted to say, that I have problems using the native sound libraray. There doesn’t need to be a problem with the tests. But I couldn’t run them because of my problems. So maybe someone could look if they work until I have solved these problems on my machine.

[quote="<MagicSpark.org [ BlueSky ]>,post:2,topic:27897"]

Terrain test always worked perfectly for me.
[/quote]
It seems to be the same problem I have with the org.xith3d.test.ui.SwingOverlayTest. So If someone could fix the Overlay bugs, he could by the way fix the TerrainTest. But another question is the following: Isn’t the swing overlay just overhead in this test? People who are interested in the Terrain thing don’t wan’t to mess with too many other things. So maybe we could remove the Overlay thing from this test. But I’ve never seen TerrainTest working. So I cannot say, if it makes sense to leave it in there.

Well, terrain works perfectly for me.
Re-check out I made some minor changes.