} 
}, 
		function testWriteAPI_revert(t){			//	summary: 			//		Simple test of the isDirty API			//	description:			//		Simple test of the isDirty API			var store = dojox.data.tests.stores.XmlStore.getBooks2Store();			var d = new doh.Deferred();			function onComplete(items, request) {				t.assertEqual(1, items.length);				var item = items[0];				t.assertTrue(store.containsValue(item,"isbn", "A9B574"));				t.assertTrue(!store.isDirty(item));				store.setValue(item, "isbn", "A9B574-new");				t.assertEqual(store.getValue(item,"isbn").toString(), "A9B574-new");				t.assertTrue(store.isDirty(item));				store.revert();								//Fetch again to see if it reset the state.				function onComplete1(items, request) {					t.assertEqual(1, items.length);					var item = items[0];					t.assertTrue(store.containsValue(item,"isbn", "A9B574"));					d.callback(true);				}				store.fetch({query:{isbn:"A9B574"}, onComplete: onComplete1, onError: onError});			}			function onError(error, request) {				d.errback(error);			}			store.fetch({query:{isbn:"A9B574"}, onComplete: onComplete, onError: onError});			return d; //Object		}
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/69d421d414695c7e29e901bd3854a8aed18e2332/XmlStore.js/buggy/data/tests/stores/XmlStore.js