// This is a test harness for your module
// You should do something interesting in this harness
// to test out the module and to provide instructions
// to users on how to use it by example.


// open a single window
var win = Ti.UI.createWindow({
	backgroundColor:'white'
});
var label = Ti.UI.createLabel();
win.add(label);
win.open();

// TODO: write your module tests here
var tiindigitall = require('ti.indigitall.TiIndigitall');
Ti.API.info("module is => " + tiindigitall);

label.text = tiindigitall.example();

Ti.API.info("module exampleProp is => " + tiindigitall.exampleProp);
tiindigitall.exampleProp = "This is a test value";

if (Ti.Platform.name == "android") {
	var proxy = tiindigitall.createExample({
		message: "Creating an example Proxy",
		backgroundColor: "red",
		width: 100,
		height: 100,
		top: 100,
		left: 150
	});

	proxy.printMessage("Hello world!");
	proxy.message = "Hi world!.  It's me again.";
	proxy.printMessage("Hello world!");
	win.add(proxy);
}

