Skip to content

Commit b780afd

Browse files
author
Daniel Haehn
committed
Some fixes to the compiled testing.
1 parent da197b4 commit b780afd

34 files changed

+6
-44
lines changed

core/testing/transform_test.js

-38
Original file line numberDiff line numberDiff line change
@@ -48,44 +48,6 @@ function testXtransformMatrix() {
4848

4949
}
5050

51-
/**
52-
* Test for X.transform._glMatrix
53-
*/
54-
function testXtransformGlMatrix() {
55-
56-
// create new transform
57-
var t = new X.transform();
58-
59-
if (X.DEV === undefined) {
60-
// jump out if we are testing the BUILD tree
61-
return;
62-
}
63-
64-
var _identityBaseLineFlattened = new Float32Array([1, 0, 0, 0, 0, 1, 0, 0, 0,
65-
0, 1, 0, 0, 0, 0, 1]);
66-
67-
// by default, the transform should have an identity matrix associated
68-
// since this is the gl version, it should be a 1D Float32Array
69-
var currentMatrix = t._glMatrix;
70-
assertTrue(currentMatrix instanceof Float32Array);
71-
// check if the flattened version matches the baseline
72-
assertObjectEquals(currentMatrix, _identityBaseLineFlattened);
73-
74-
var _testMatrix = new X.matrix([[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12],
75-
[13.5, 14.5, 15.5, 16.5]]);
76-
var _glTestMatrix = new Float32Array([1, 5, 9, 13.5, 2, 6, 10, 14.5, 3, 7,
77-
11, 15.5, 4, 8, 12, 16.5]);
78-
79-
// set the custom matrix whcih should modify the gl-version as well
80-
t.matrix = _testMatrix;
81-
82-
// compare the gl versions..
83-
assertObjectEquals(t._glMatrix, _glTestMatrix);
84-
85-
// the transform should be dirty now
86-
87-
88-
}
8951

9052
/**
9153
* Test for X.transform.flipX()
Binary file not shown.
Binary file not shown.
-4 KB
Binary file not shown.
Binary file not shown.

lib/selenium/selenium/.___init__.py

-4 KB
Binary file not shown.
-4 KB
Binary file not shown.
-4 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

testing/xtk_tests_build.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<title>xtk testing</title>
44

55
<!-- closure library includes -->
6-
<script type="text/javascript" src="../../lib/google-closure-library/closure/goog/base.js"></script>
6+
<script type="text/javascript" src="../lib/google-closure-library/closure/goog/base.js"></script>
77

88
<!-- ------------ -->
99
<!-- xtk includes -->

xtk-deps.js

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)