 dojox.data.tests.stores.QueryReadStore.assertError(dojox.data.QueryReadStore.InvalidAttributeError, store, "getValue", [item, "NOT THERE"]); dojox.data.tests.stores.QueryReadStore.assertError(dojox.data.QueryReadStore.InvalidItemError, store, "getValue", ["not an item", "NOT THERE"]); 
  t.assertError(Error, store, "getValue", ["not an item", "NOT THERE"]); t.assertError(Error, store, "getValue", [item, {}]); 
		function testReadApi_getValue(t){			//	summary: 			//	description:			var store = dojox.data.tests.stores.QueryReadStore.getStore();						var d = new doh.Deferred();			function onComplete(items, request){				var item = items[0];				// The good cases.				t.assertEqual("Alabama", store.getValue(item, "name"));				t.assertEqual("<img src='images/Alabama.jpg'/>Alabama", store.getValue(item, "label"));				t.assertEqual("AL", store.getValue(item, "abbreviation"));				// Test the defaultValue cases (the third paramter).				t.assertEqual("default value", store.getValue(item, "NAME", "default value"));				// TODO Test for null somehow ...				// Read api says: Returns null if and only if null was explicitly set as the attribute value.								// Test for not-existing attributes without defaultValues and invalid items.				dojox.data.tests.stores.QueryReadStore.assertError(dojox.data.QueryReadStore.InvalidAttributeError, store, "getValue", [item, "NOT THERE"]);				dojox.data.tests.stores.QueryReadStore.assertError(dojox.data.QueryReadStore.InvalidItemError, store, "getValue", ["not an item", "NOT THERE"]);								d.callback(true);			}			store.fetch({query:{q:"Alabama"}, onComplete: onComplete});			return d; //Object		},
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/d64787c0599db3660af0c904b03f8fe7956e1c3a/QueryReadStore.js/clean/data/tests/stores/QueryReadStore.js