recordset.html revision 468f077f3ad52463360d087a5ea7c7d495bbc530
0N/A ARRAYASSERT = Y.ArrayAssert,
0N/A BTNRUN.set("disabled", false);
0N/A var testBasic = new Y.Test.Case({
0N/A this.rs.on('recordsetChangedEvent', function(e) {
0N/A this.rs.on('recordsetEmptiedEvent', function() {
0N/A Y.Assert.isTrue(flag);
0N/A var iD = this.initialData;
0N/A this.rs.on('recordsetUpdatedEvent', function(e) {
0N/A Y.ObjectAssert.areEqual(newRecord.getValue(), e.newRecord.getValue(), "New record values match up");
0N/A newRecord = this.rs.getRecord(1);
0N/A newRecord = this.rs.getRecords(1,2);
0N/A // console.log(oRec);
0N/A // console.log(obj);
0N/A retval = this.rs.add(recToAdd);
0N/A //This is indirectly checking to make sure that the record that got added has the identical data as the object literal that was passed in.
0N/A retval = this.rs.add(recToAdd,i);
0N/A retval = this.rs.add(recsToAdd);
0N/A retval = this.rs.add(recsToAdd, i);
0N/A retval = this.rs.remove();
0N/A retval = this.rs.remove(1);
0N/A retval = this.rs.remove(1,2);
0N/A retval = this.rs.getValuesByKey(key);
0N/A Y.Assert.isUndefined(retval[i]);
0N/A this.recordsetUpdatedEventTest(newRecord, index);
0N/A this.rs.update(newRecord, index);
0N/A newRecords.push(a);
0N/A newRecords.push(b);
0N/A this.rs.update(newRecords, index);
0N/A //3 initial records + 1 more added (the other was just over-written)= 4 total records in recordset
0N/A this.rs.update(oRec, index, true);
0N/A this.rs.update(oData, 2);
0N/A var suite = new Y.Test.Suite({name:"Recordset Test Suite"});
0N/A Y.Test.Runner.setName("Recordset Test Runner");
0N/A Y.Test.Runner.add(suite);