64 Commits

Author SHA1 Message Date
Stephen Gold
efc9c443de elimiate incidental hard tabs from jme3-core 2020-04-18 22:17:25 -07:00
Paul Speed
1ffd11fae4 Added a basic unit test for some of the AppStateManager functionality.
(Specifically the stuff that deals with IDs.)
Also added the ability to use groovy tests for those who like a little
testing but aren't complete masochists.
2019-09-15 20:54:53 -04:00
Riccardo Balbo
a9afcecc41
Recognize .glsl files as glsllib. 2019-09-02 09:25:41 +02:00
Riccardo Balbo
e603845fa5 Fix forced colorspace in materials when a matparamtexture value is changed. + unit test 2019-06-26 23:10:18 +02:00
Lou H
1f3245b237 #1121-updateBound() call for PQTorus geometry updates (#1122)
* #1121-updateBound() call for PQTorus geometry updates

* World bounds test added for #1121

* World bounds test enhancements for #1121

* Updated test comment
2019-06-18 09:04:26 -07:00
Remy
8d3980bbe9 Refactor collection to set in anim composer (#1076)
* returns an unmodifiable set when retrieving the available animation names and available animation clips instead of an unmodifiable collection. fixes: #1070

* remove unnecessary set wrapper.

* Remove the unnecessary creation of a new hashset everytime getAnimClips() is called.
2019-04-24 16:11:51 -07:00
Stephen Gold
0bf931bf79 revert integration of PR #1071 which wasn't ready 2019-04-22 03:15:04 -07:00
Remy
ffa1df2aff returns unmodifiable sets (#1071)
* returns an unmodifiable set when retrieving the available animation names and available animation clips instead of an unmodifiable collection. fixes: #1070

* remove unnecessary set wrapper.
2019-04-22 01:39:43 -07:00
Riccardo Balbo
51cadb260c
Merge pull request #1050 from Diffblue-benchmarks/virtual-buffer-tests
Add tests for com.jme3.scene.mesh.VirtualIndexBuffer
2019-03-29 13:00:58 +01:00
James Adam
7c2a401c28 Add tests for com.jme3/scene.mesh.VirtualIndexBuffer 2019-03-22 12:51:28 +00:00
James Adam
fe03a9b6a3 Add tests for com.jme3.math.Vector3f 2019-03-16 10:46:16 -07:00
James Adam
eba9ef6d58 Add tests for com.jme3.math.FastMath 2019-03-13 14:10:45 -07:00
Ali-RS
dae85e1598 Removed unused imports. (#1020) 2019-02-11 21:40:32 -08:00
Ali-RS
9ded31cf1c Added TestUserData. (#1017) 2019-02-08 15:47:40 +01:00
FennelFetish
254a5839c1 Added tests for traversal order when using SceneGraphVisitor. 2019-02-02 10:14:24 -08:00
Stephen Gold
c707785a34 test and fix for JME issue #957 2018-11-23 17:10:10 -08:00
Stephen Gold
68ea05eaa6 test and fix for JME issue #954 (null bounding volume) 2018-11-20 23:40:19 -08:00
Stephen Gold
025b27c96d test cases and fix for issue #880 2018-09-13 20:48:24 -07:00
Stephen Gold
21425f81ef more comment corrections in jme3-core: mostly spelling and grammar 2018-01-16 18:03:05 -08:00
Stephen Gold
2632c3227c fix issue #749: NPE in CollideIgnoreTransformTest 2017-10-01 00:12:43 -07:00
Stephen Gold
e4bfe8a80d testcase & fix for issue #744: collideWith() versus setIgnoreTransform() 2017-09-22 09:36:52 -07:00
Stephen Gold
adb52c5cc8 test and fix for issue #710 (phantom triangles in a mesh collision) 2017-09-11 19:20:39 -07:00
stophe
ebaad20f2f Added a unit test and fixed indentation. 2017-06-18 23:56:14 +02:00
Nehon
b0ed053472 Fixed a cloning issue and some tests 2017-01-15 20:32:42 +01:00
Nehon
f2709858bb Got rid of the sorting for Technique selection 2017-01-14 18:53:18 +01:00
Nehon
cb04548fd5 Techniques are now weighted and sorted depending on their LightMode and GLSL version 2017-01-14 15:25:43 +01:00
Kirill Vainer
a84c0eb25c add 0/0.0 param case to material test 2016-11-23 20:35:23 -05:00
Kirill Vainer
68b34037f8 define 0/0.0 int/float values in shader 2016-11-23 20:14:23 -05:00
Nehon
7bd2feb416 Made a test for shaderNode based j3md loading 2016-04-11 21:02:16 +02:00
Kirill Vainer
8d4962d11f fix failing unit test 2016-04-10 23:46:41 -04:00
Kirill Vainer
97a53e0c99 material: add unit test 2016-04-10 23:21:38 -04:00
Kirill Vainer
5584ca9119 test: add missing test data 2016-04-10 12:23:27 -04:00
Kirill Vainer
8bd5b59a0e material: warn / ignore fixed function techniques 2016-04-10 12:16:35 -04:00
Kirill Vainer
2f26b34bd0 material: refer to default technique via constant 2016-04-09 12:12:02 -04:00
Kirill Vainer
fbcfbc0484 test: add required file 2016-04-08 23:38:02 -04:00
Kirill Vainer
e4f7916301 Material: allow multiple named techniques 2016-04-08 23:31:39 -04:00
Kirill Vainer
83259061d3 RM: add ability to force mat param 2016-04-08 23:28:02 -04:00
Kirill Vainer
d0035b0bc6 test: fix syntax error 2016-04-08 23:15:49 -04:00
Kirill Vainer
fc488be37b test: remove duplicate annotation 2016-04-08 23:13:28 -04:00
Kirill Vainer
f72df167c0 MPO: make sure child overrides parent 2016-04-08 23:05:15 -04:00
Kirill Vainer
f3414acc73 MPO: fix unit test 2016-04-02 15:17:26 -04:00
Kirill Vainer
85ffb48efb unit test: more descriptive failure message 2016-04-02 15:17:21 -04:00
Kirill Vainer
c6c6b48bda MPO: clone MPOs instead of sharing references
Conflicts:
	jme3-core/src/main/java/com/jme3/scene/Spatial.java
2016-04-02 15:15:40 -04:00
Kirill Vainer
06b817e116 MPO: add javadoc 2016-04-02 15:08:49 -04:00
Kirill Vainer
8344994328 MPO: use List instead of ArrayList
Also rename get*Overrides to get*MatParamOverrides to be more specific.
2016-04-02 15:08:45 -04:00
Kirill Vainer
50658b8e53 MPO: add ability to disable an override 2016-04-02 15:08:40 -04:00
Kirill Vainer
5d2f2b19e6 spatial: fix bug in remove/clear MPO
add unit test for those methods
2016-04-02 15:08:31 -04:00
Kirill Vainer
59614e177c MPO: implement overrides on uniforms and add test 2016-04-02 15:08:21 -04:00
Kirill Vainer
2b35f288c2 MPO: implement propagation and add test
Conflicts:
	jme3-core/src/main/java/com/jme3/scene/Node.java
	jme3-core/src/main/java/com/jme3/scene/Spatial.java
2016-04-02 15:08:17 -04:00
Kirill Vainer
e8df94de1c FastMathTest: ignore failing test (for now) 2016-04-02 14:57:33 -04:00