Permalink
Browse files

Adding reminder to add/update unit tests when making changes. For ENY…

…O-1431. Enyo-DCO-1.0-Signed-off-by: Jim Tang <jim.tang@palm.com>
  • Loading branch information...
1 parent 4f5495f commit 173c06438b71648797cc1c59b053516cdc2db302 Jim Tang committed Nov 9, 2012
Showing with 13 additions and 0 deletions.
  1. +3 −0 source/ajax/Ajax.js
  2. +3 −0 source/ajax/Jsonp.js
  3. +3 −0 source/ajax/WebService.js
  4. +4 −0 source/ajax/xhr.js
View
3 source/ajax/Ajax.js
@@ -11,6 +11,9 @@
If you want to use _enyo.Ajax_ as a component, you should probably
be using <a href="#enyo.WebService">enyo.WebService</a> instead.
+ If you make changes to _enyo.Ajax_, be sure to add or update the appropriate
+ [unit tests](https://github.com/enyojs/enyo/tree/master/tools/test/ajax/tests).
+
For more information, see the documentation on
[Consuming Web Services](https://github.com/enyojs/enyo/wiki/Consuming-Web-Services)
in the Enyo Developer Guide.
View
3 source/ajax/Jsonp.js
@@ -6,6 +6,9 @@
bypass the same-domain rules that normally apply to XHR, since the browser
will load scripts from any address.
+ If you make changes to _enyo.JsonpRequest_, be sure to add or update the
+ appropriate [unit tests](https://github.com/enyojs/enyo/tree/master/tools/test/ajax/tests).
+
For more information, see the documentation on
[Consuming Web Services](https://github.com/enyojs/enyo/wiki/Consuming-Web-Services)
in the Enyo Developer Guide.
View
3 source/ajax/WebService.js
@@ -20,6 +20,9 @@ enyo.kind({
To use `enyo.JsonpRequest` instead of `enyo.Ajax`, set `json` to `true`.
+ If you make changes to _enyo.WebService_, be sure to add or update the
+ appropriate [unit tests](https://github.com/enyojs/enyo/tree/master/tools/test/ajax/tests).
+
For more information, see the documentation on
[Consuming Web Services](https://github.com/enyojs/enyo/wiki/Consuming-Web-Services)
in the Enyo Developer Guide.
View
4 source/ajax/xhr.js
@@ -1,4 +1,8 @@
//* @protected
+/**
+ If you make changes to _enyo.xhr_, be sure to add or update the appropriate
+ [unit tests](https://github.com/enyojs/enyo/tree/master/tools/test/ajax/tests).
+*/
enyo.xhr = {
/**
<code>inParams</code> is an Object that may contain these properties:

0 comments on commit 173c064

Please sign in to comment.