Files
NativeScript/apps/tests
Stefan Dobrev 8c65427730 Fix XHR statusText property to return just the text
In order to follow the spec the XHR statusText property should
return just the status text without the status code. Adding
tests to guard this behavior.
2015-08-14 20:05:10 +03:00
..
2015-08-04 11:56:40 +03:00
2015-04-07 14:10:34 +03:00
2015-08-03 13:49:18 +03:00
2015-03-24 16:05:54 +02:00
2015-08-13 11:40:30 +03: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-07-30 09:56:24 +03:00
2015-03-03 10:34:40 +02:00
2015-03-24 16:05:54 +02:00
2015-07-20 14:42:29 +03:00
2015-03-03 10:34:40 +02:00
2015-05-11 11:33:09 +03: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-07-29 15:24:43 +03:00
2015-05-18 12:11:43 +03:00
2015-03-03 10:34:40 +02:00
2015-04-22 16:08:55 +03:00
2015-05-15 18:46:24 +03: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();
	} 
});