uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/testarrays.js
author stechong
Mon, 08 Jun 2009 15:07:19 -0500
changeset 215 035fd2d44781
parent 0 fb279309251b
permissions -rw-r--r--
Updated getErrorMessage() methods for accessing error messages from various INF and MMP editor pages.

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";
	}
}