Browse files

skip composed-type tests (for now) in js

  • Loading branch information...
1 parent 745009a commit 3ade9ac32a86db67f1c8922f8084523f1803a467 @rjbs committed Mar 31, 2012
Showing with 7 additions and 1 deletion.
  1. +3 −0 js/rx/test/loader.js
  2. +4 −1 js/rx/test/runner.js
View
3 js/rx/test/loader.js
@@ -56,6 +56,9 @@ var loadRxTests = (function (specRoot) {
var schemaName = schemaToTest[i];
var schema = testSchema[ schemaName ];
+ if (schema['composed-type'])
+ continue;
+
if (schema.invalid) {
totalTests++;
if (schema.pass || schema.fail)
View
5 js/rx/test/runner.js
@@ -24,6 +24,9 @@ for (i in schemaToTest) {
var schemaName = schemaToTest[i];
var schemaTest = rxPlan.testSchema[ schemaName ];
+ if (schemaTest['composed-type'])
+ continue;
+
var rxChecker;
try {
@@ -57,7 +60,7 @@ for (i in schemaToTest) {
var testDesc = (expect ? 'VALID : ' : 'INVALID: ')
+ sourceName + '/' + sourceEntry
+ ' against ' + schemaName;
-
+
// JavaScript needs logical xor! -- rjbs, 2008-07-31
if ((valid && !expect) || (!valid && expect)) {
fail(testDesc);

0 comments on commit 3ade9ac

Please sign in to comment.