var attributes = csvStore.getAttributes(item); t.is(3, attributes.length); for(var i = 0; i < attributes.length; i++){ t.assertTrue((attributes[i] === "Title" || attributes[i] === "Year" || attributes[i] === "Producer")); 
var attributes = csvStore.getAttributes(item); t.is(3, attributes.length); for(var i = 0; i < attributes.length; i++){ t.assertTrue((attributes[i] === "Title" || attributes[i] === "Year" || attributes[i] === "Producer")); } d.callback(true); 
		function testReadAPI_getAttributes(t){			//	summary: 			//		Simple test of the getAttributes function of the store			//	description:			//		Simple test of the getAttributes function of the store			var args = dojox.data.tests.stores.CsvStore.getDatasource("stores/movies.csv");			var csvStore = new dojox.data.CsvStore(args);			var item = csvStore.getItemByIdentity("4");			t.assertTrue(item !== null);			t.assertTrue(csvStore.isItem(item));			var attributes = csvStore.getAttributes(item);			t.is(3, attributes.length);			for(var i = 0; i < attributes.length; i++){				t.assertTrue((attributes[i] === "Title" || attributes[i] === "Year" || attributes[i] === "Producer"));			}						// Test an item that does not have all of the attributes			var item = csvStore.getItemByIdentity(1);			t.assertTrue(item !== null);			t.assertTrue(csvStore.isItem(item));			var attributes = csvStore.getAttributes(item);			t.assertTrue(attributes.length === 2);			t.assertTrue(attributes[0] === "Title");			t.assertTrue(attributes[1] === "Producer");		},
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/38f3e1e83758dc8387e250faaa5af8a3caa76624/CsvStore.js/buggy/data/tests/stores/CsvStore.js