Files
NativeScript/apps/tests
hshristov f0f6992cf0 Remove Action property from Intent class.
Location tests are not executed on emulator.
Label test made for iOS only.
Change frame.android.action property to method.
Image measured widht/height are now floor (like in android runtime).
2015-04-09 17:54:22 +03:00
..
2015-04-07 14:10:34 +03:00
2015-03-09 10:59:05 +02:00
2015-03-26 17:32:27 +02:00
2015-03-24 16:05:54 +02:00
2015-03-03 10:34:40 +02:00
2015-03-26 17:32:23 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-24 16:05:54 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-24 16:05:54 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-26 17:32:25 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00

To run tests please build using one of the *_Tests build configurations and call runAll() method of the Tests module. For example:

##iOS

var app = require("application");
app.init(null);
var tests = require("Tests");
tests.runAll();

##Android

app.init({
	getActivity: function(intent) {
		return com.tns.NativeScriptActivity.extend({});
	},
	onCreate: function() {
		require("application").init(this);
		require("Tests").runAll();
	} 
});