Index: client/tests/client/dom/WebGL1Test.dart |
diff --git a/client/tests/client/dom/WebGL1Test.dart b/client/tests/client/dom/WebGL1Test.dart |
deleted file mode 100644 |
index 70efa2130a22a050ebfa7969804aba5c9fc38edc..0000000000000000000000000000000000000000 |
--- a/client/tests/client/dom/WebGL1Test.dart |
+++ /dev/null |
@@ -1,21 +0,0 @@ |
-#library('WebGL1Test'); |
-#import('../../../../lib/unittest/unittest.dart'); |
-#import('../../../../lib/unittest/dom_config.dart'); |
-#import('dart:dom'); |
- |
-// Test that WebGL is present in dart:dom API |
- |
-main() { |
- useDomConfiguration(); |
- |
- test('simple', () { |
- var canvas = document.createElement("canvas"); |
- var gl = canvas.getContext("experimental-webgl"); |
- var shader = gl.createShader(WebGLRenderingContext.VERTEX_SHADER); |
- gl.shaderSource(shader, "void main() { }"); |
- gl.compileShader(shader); |
- var success = |
- gl.getShaderParameter(shader, WebGLRenderingContext.COMPILE_STATUS); |
- Expect.isTrue(success); |
- }); |
-} |