소스 검색

fix failing unit test

Kirill Vainer 9 년 전
부모
커밋
8d4962d11f
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      jme3-core/src/test/java/com/jme3/material/MaterialTest.java

+ 5 - 5
jme3-core/src/test/java/com/jme3/material/MaterialTest.java

@@ -114,19 +114,19 @@ public class MaterialTest {
     @Test
     public void testSelectNamedTechnique_GLSL150Cap() {
         supportGlsl(150);
-        material("Common/MatDefs/Misc/Particle.j3md");
+        material("Common/MatDefs/Light/Lighting.j3md");
 
-        material.selectTechnique("SoftParticles", renderManager);
+        material.selectTechnique("PostShadow", renderManager);
 
-        checkRequiredCaps(Caps.GLSL100, Caps.GLSL150);
+        checkRequiredCaps(Caps.GLSL150);
     }
 
     @Test
     public void testSelectNamedTechnique_GLSL100Cap() {
         supportGlsl(100);
-        material("Common/MatDefs/Misc/Particle.j3md");
+        material("Common/MatDefs/Light/Lighting.j3md");
 
-        material.selectTechnique("SoftParticles", renderManager);
+        material.selectTechnique("PostShadow", renderManager);
 
         checkRequiredCaps(Caps.GLSL100);
     }