Lines Matching refs:properties

170     //initialize the properties
244 //copy over all properties from the template to this object
1282 * @return {Object} Results of the execution with properties passed, failed, and total.
2931 * methods and properties on the mock object that are monitored for
2936 * an optional "returns" key available. For properties, the keys
3119 * Asserts that an object has all of the same properties
3121 * @param {Object} expected The object with all expected properties and values.
3163 * Asserts that an object has all properties of a reference object.
3164 * @param {Array} properties An array of property names that should be on the object.
3171 hasKeys: function (properties, object, message) {
3172 YUITest.ObjectAssert.ownsOrInheritsKeys(properties, object, message);
3191 * Asserts that all properties exist on an object prototype.
3192 * @param {Array} properties An array of property names that should be on the object.
3198 inheritsKeys: function (properties, object, message) {
3200 for (var i=0; i < properties.length; i++){
3201 if (!(propertyName in object && !object.hasOwnProperty(properties[i]))){
3202 YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Property '" + properties[i] + "' not found on object instance."));
3223 * Asserts that all properties exist on an object instance (not on its prototype).
3224 * @param {Array} properties An array of property names that should be on the object.
3230 ownsKeys: function (properties, object, message) {
3232 for (var i=0; i < properties.length; i++){
3233 if (!object.hasOwnProperty(properties[i])){
3234 YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Property '" + properties[i] + "' not found on object instance."));
3240 * Asserts that an object owns no properties.
3257 YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Object owns " + count + " properties but should own none."));
3278 * Asserts that an object has all properties of a reference object.
3279 * @param {Array} properties An array of property names that should be on the object.
3285 ownsOrInheritsKeys: function (properties, object, message) {
3287 for (var i=0; i < properties.length; i++){
3288 if (!(properties[i] in object)){
3289 YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Property '" + properties[i] + "' not found on object."));