Searched refs:ownsKeys (Results 1 - 9 of 9) sorted by relevance

/yui3/src/test/tests/
H A Dobjectassert-tests.js157 // Test Case for ownsKeys()
162 name : "ownsKeys() Tests",
166 "ownsKeys() should fail for existing key on prototype": "Property 'msg' not found on object instance.",
167 "ownsKeys() should fail for missing key on prototype": "Property 'msg' not found on object instance.",
168 "ownsKeys() should fail for missing key on object": "Property 'yui' not found on object instance.",
169 "ownsKeys() should fail for missing key on prototype": "Property 'yui' not found on object instance."
174 * Tests that ownsKeys() passes when properties with the given
177 "ownsKeys() should pass for existing key on instance": function(){
179 ObjectAssert.ownsKeys(["msg", "yui"], object);
183 * Tests that ownsKeys() fail
[all...]
/yui3/src/oop/tests/
H A Doop-test.js396 ObjectAssert.ownsKeys(['a', 'bar'], receiver, 'should own new keys');
412 ObjectAssert.ownsKeys(['a', 'foo', 'bar', 'obj', 'toString'], receiver, 'should own new keys');
425 ObjectAssert.ownsKeys(['a', 'bar', 'obj'], receiver, 'should own whitelisted keys');
438 ObjectAssert.ownsKeys(['a', 'bar', 'obj'], receiver, 'should own whitelisted keys');
451 ObjectAssert.ownsKeys(['a', 'bar', 'fakeout', 'obj'], receiver, 'should own new keys');
482 ObjectAssert.ownsKeys(['a', 'foo', 'bar', 'obj'], receiver, 'should own new keys');
512 ObjectAssert.ownsKeys(['a', 'foo', 'obj'], receiver, 'should own new keys');
559 ObjectAssert.ownsKeys(['a', 'foo', 'bar', 'obj'], receiver.prototype, 'prototype should own new keys');
666 ObjectAssert.ownsKeys(['a', 'foo', 'bar', 'obj'], receiver.prototype);
689 ObjectAssert.ownsKeys(['
[all...]
/yui3/src/test/js/
H A DObjectAssert.js120 * @method ownsKeys
123 ownsKeys: function (properties, object, message) {
/yui3/src/datasource/tests/src/
H A Ddatasource-io.js84 ObjectAssert.ownsKeys({
123 ObjectAssert.ownsKeys({
/yui3/src/app/tests/
H A Dmodel-test.js148 ObjectAssert.ownsKeys(['foo', 'bar', 'baz', 'quux', 'zero', 'created'], model.getAttrs(), 'ad-hoc attributes should be returned by getAttrs()');
231 ObjectAssert.ownsKeys(['newVal', 'prevVal', 'src'], model.lastChange.foo);
506 ObjectAssert.ownsKeys(['id', 'foo', 'bar'], json);
526 ObjectAssert.ownsKeys(['customId', 'foo', 'bar'], json);
683 ObjectAssert.ownsKeys(['foo', 'bar'], e.changed);
685 ObjectAssert.ownsKeys(['newVal', 'prevVal', 'src'], e.changed.foo);
686 ObjectAssert.ownsKeys(['newVal', 'prevVal', 'src'], e.changed.bar);
/yui3/src/datasource/tests/
H A Ddatasource-io-tests.js86 ObjectAssert.ownsKeys({
125 ObjectAssert.ownsKeys({
/yui3/src/history/tests/functional/
H A Dhistory-hash-test.js38 Y.ObjectAssert.ownsKeys([
/yui3/src/get/tests/
H A Dget-test.js2203 ObjectAssert.ownsKeys(['error', 'request'], t.errors[0]);
2204 ObjectAssert.ownsKeys(['error', 'request'], t.errors[1]);
2235 ObjectAssert.ownsKeys(['attributes', 'data', 'bar'], this.t.options);
/yui3/build/test/
H A Dtest-debug.js3227 * @method ownsKeys
3230 ownsKeys: function (properties, object, message) {

Completed in 67 milliseconds