Files
NativeScript/apps/tests
Hristo Deshev e452aff658 Detect JSON response in XHR and auto-parse the response.
- Part of the XMLHttpRequest level 2 API.
- Fixes a crash with the Angular2 Http service.
2016-02-02 13:10:41 +02:00
..
2016-01-19 17:02:06 +02:00
2015-04-07 14:10:34 +03:00
2016-01-19 17:02:06 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-09-01 21:39:27 +10: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
2016-01-25 16:05:18 +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
2016-01-25 11:30:36 +02:00
2015-09-30 14:37:40 +03:00
2015-03-03 10:34:40 +02:00
2015-10-14 17:40:14 +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();
	} 
});