describe("Ti.UI.Android tests", {
	androidUIAPIs: function() {
		valueOf(Ti.UI.Android).shouldNotBeNull();
	}, 
	testModuleNameCollision: function() {
		// Make sure both Ti.UI.Android and Ti.Android are properly accessible.
		// cf https://appcelerator.lighthouseapp.com/projects/32238/tickets/2000
		valueOf(Ti.UI.Android.SOFT_INPUT_ADJUST_PAN).shouldBe(32);
		valueOf(Ti.Android.ACTION_ALL_APPS).shouldBe('android.intent.action.ALL_APPS');
	},

	// https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/2340
	uniqueTagTableViewException: function() {
		Ti.UI.createTableView({top:0});
		// If it doesn't crash, then you're ok
	},

	// https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/2065-android-behavior-change-in-set-row-data-test-case#ticket-2065-5
	tableviewSetDataWithAnimationProps: function() {
		var w = Ti.UI.createWindow();
		w.open();
		var tv = Ti.UI.createTableView();
		w.add(tv);
		var data = [];
		for (var i = 0; i < 3; i++) {
			data.push( Ti.UI.createTableViewRow({title: 'test'}) );
		}
		tv.setData(data, {animationStyle:Titanium.UI.iPhone.RowAnimationStyle.NONE});
		valueOf(tv.data[0].rowCount).shouldBe(data.length);
		w.close();
	},

	// https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/2146
	setDataReplacesExistingData: function() {
		var w = Ti.UI.createWindow();
		w.open();
		var tv = Ti.UI.createTableView({ data: [ Ti.UI.createTableViewRow({ title:'row'})]});
		w.add(tv);
		var data = [];
		for (var i = 0; i < 3; i++) {
			data.push( Ti.UI.createTableViewRow({title: 'test'}) );
		}
		tv.setData(data, {animationStyle:Titanium.UI.iPhone.RowAnimationStyle.NONE});
		valueOf(tv.data[0].rowCount).shouldBe(data.length);
		w.close();
	}
		
})

@@ -573,16 +573,32 @@
 n() %7B%0A%09%09
+var tableview = 
 Ti.UI.cr
@@ -627,46 +627,300 @@
 ;%0A%09%09
-// If it doesn't crash, then you're ok
+valueOf(tableview).shouldBeObject();%0A%09%7D,%0A%09%0A%09// https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/2343-android-crash-when-creating-tableview#ticket-2343-3%0A%09noDataCrash: function() %7B%0A%09%09var tableview = Ti.UI.createTableView(%7B%7D);%0A%09%09valueOf(tableview).shouldBeObject();
 %0A%09%7D,

verify tableview empty options no longer crash [#2343]