removed property check tests
authorMarcos Caceres <w3c@marcosc.com>
Tue, 17 Jul 2012 13:46:39 +0100
changeset 167 07c94a3f7c72
parent 166 f168630fdee3
child 168 26c4e987c325
removed property check tests
proximity/tests/submissions/marcos/DeviceProximityEvent_tests.js
--- a/proximity/tests/submissions/marcos/DeviceProximityEvent_tests.js	Tue Jul 17 13:21:20 2012 +0100
+++ b/proximity/tests/submissions/marcos/DeviceProximityEvent_tests.js	Tue Jul 17 13:46:39 2012 +0100
@@ -174,67 +174,6 @@
         assert_readonly(event, 'max', 'readonly attribute max');
     }, 'max attribute is readonly');
 
-
-    test(function() {
-        var dic = {
-            min: 3,
-            max: 7,
-            value: 13
-        },
-            event = new DeviceProximityEvent('test', dic),
-            props = {
-                writable: false,
-                enumerable: true,
-                configurable: true
-            },
-            eProps = Object.getOwnPropertyDescriptor(event, 'max'),
-            writable = eProps.writable === props.writable,
-            enumerable = eProps.enumerable === props.enumerable,
-            config = eProps.configurable === props.configurable;
-        assert_true(writable && enumerable && config);
-    }, 'min props check');
-
-    test(function() {
-        //the max attribute
-        var dic = {
-            min: 3,
-            max: 7,
-            value: 13
-        },
-            event = new DeviceProximityEvent('test', dic),
-            props = {
-                writable: false,
-                enumerable: true,
-                configurable: true
-            },
-            eProps = Object.getOwnPropertyDescriptor(event, 'max'),
-            writable = eProps.writable === props.writable,
-            enumerable = eProps.enumerable === props.enumerable,
-            config = eProps.configurable === props.configurable;
-
-        assert_true(writable && enumerable && config);
-
-    }, 'max props check');
-
-    test(function() {
-        var dic = {
-            min: 3,
-            max: 7,
-            value: 13
-        },
-            event = new DeviceProximityEvent('test', dic),
-            props = {
-                writable: false,
-                enumerable: true,
-                configurable: true
-            },
-            eProps = Object.getOwnPropertyDescriptor(event, 'value'),
-            writable = eProps.writable === props.writable,
-            enumerable = eProps.enumerable === props.enumerable,
-            config = eProps.configurable === props.configurable;
-
-        assert_true(writable && enumerable && config);
-    }, 'value props check');
     test(function() {
         var desc = 'Expected to find ondeviceproximity attribute on window object';
         assert_idl_attribute(window, 'ondeviceproximity', desc);