uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/testarrays.js
author stechong
Mon, 18 May 2009 13:18:25 -0500
changeset 157 d0e39a2b6afc
parent 0 fb279309251b
permissions -rw-r--r--
Updated news reader feed manager test cases.

function Test() {
}

Test.prototype.getStuff = function(idx) {
	if (idx == 0) {
		return ["foo", "bar"];
	} else if (idx == 1) {
		return [23, 45];
	} else if (idx == 2) {
		var lst = new java.util.ArrayList();
		lst.add(23);
		lst.add(45);
		return lst;
	} else if (idx == 3) {
		return "foo";
	}
}