You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by li...@apache.org on 2011/06/18 01:43:51 UTC

svn commit: r1137082 [2/3] - in /shindig/trunk: content/container/ content/gadgets/compliance/javascript-tests/1.1/ content/gadgets/compliance/javascript-tests/1.1/activities/ content/gadgets/compliance/javascript-tests/1.1/appdata/ content/gadgets/com...

Modified: shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/people/peoplesuite.js
URL: http://svn.apache.org/viewvc/shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/people/peoplesuite.js?rev=1137082&r1=1137081&r2=1137082&view=diff
==============================================================================
--- shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/people/peoplesuite.js (original)
+++ shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/people/peoplesuite.js Fri Jun 17 23:43:46 2011
@@ -1,577 +1,577 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-//TODO Verify person objects against compliance person data
-function personResponse(dataResponse) {
-	  
-    ok(!dataResponse.error, "No error in response");
-    if (!dataResponse.error) {
-      var viewerData = dataResponse;
-      for (var field in opensocial.Person.Field) {
-        try {
-          var fieldValue = viewerData[opensocial.Person.Field[field]];
-	      	var req = requiredBySpec(opensocial.Person.Field[field]);
-	    	var msg;
-	    	if(req){
-	    		msg = "REQUIRED: ";
-	    	} else {
-	    		msg = "OPTIONAL: ";
-	    	}
-           if(fieldValue != null) {
-              ok(fieldValue != null, msg + (opensocial.Person.Field[field] + " is set."));
-            } else if (opensocial.getEnvironment().supportsField(opensocial.Environment.ObjectType.PERSON, opensocial.Person.Field[field])) {
-          	  	ok(!req, msg + (opensocial.Person.Field[field] +" is empty."));
-            } else {
-          	  ok(fieldValue == null, 'Container non-supported field - ' + opensocial.Person.Field[field]);
-            }
-        } catch (ex) {
-          ok(false,ex);
-        }
-      }
-    }
-  start();
-}
-
-/**
- * Returns TRUE if field is a required Person field
- * 
- * http://opensocial-resources.googlecode.com/svn/spec/1.1/Social-Data.xml#Person
- * 
- * @param field Person Field 
- * @returns {Boolean}  TRUE if required, FALSE if not required (see spec).
- */
-function requiredBySpec(field){
-	if(field == "id" ||
-		field == "name" ||
-		field == "thumbnailUrl"){
-		return true;
-	}
-	return false;
-}
-
-function runPeopleSuite(){
-	module("OpenSocial JavaScript People/Person Tests 1.1");
-	
-	asyncTest("osapi.people.getViewer() - (no parameters)", function(){
-          var req = osapi.people.getViewer();
-		  ok(osapi.people.getViewer,"osapi.people.getViewer exists");
-          ok(req != null, "Req not null");
-          ok(req.execute != null, "Req has execute method");
-          setTimeout(function(){ 
-        	  req.execute(personResponse);
-    	  }, 1000);
-        
-      });
-	
-	asyncTest("osapi.people.getOwner() - (no parameters)", function(){
-        var req = osapi.people.getOwner();
-        ok(osapi.people.getOwner,"osapi.people.getOwner exists");
-        ok(req != null, "Req not null");
-        ok(req.execute != null, "Req has execute method");
-        setTimeout(function(){ 
-      	  req.execute(personResponse);
-  	  	}, 1000);
-      
-    });
-	
-	asyncTest("osapi.people.get() - VIEWER (with params)", function(){
-
-	  var params = { userId : "@me", groupId : "@self"};
-      var req = osapi.people.getViewer(params);
-      ok(req != null, "osapi request not null");
-      ok(req.execute != null, "Request has execute method");
-      setTimeout(function(){ 
-    	  req.execute(personResponse);
-	  	}, 1000);
-
-	});
-	
-	asyncTest("osapi.people.get() - OWNER (with params)", function(){
-
-	      var params = { userId : "@me", groupId : "@self"};
-	      var req = osapi.people.getOwner(params);
-	      ok(req != null, "osapi request not null");
-	      ok(req.execute != null, "Request has execute method");
-	      setTimeout(function(){ 
-	    	  req.execute(personResponse);
-		  	}, 1000);
-
-		});
-	
-	asyncTest("osapi.people.get() - (by id 'john.doe')", function(){
-
-		var params = {userId : "john.doe", groupId : "@self"};
-        var req = osapi.people.get(params);
-        setTimeout(function(){
-        	
-        	req.execute(function(dataResponse){
-
-            	ok(!dataResponse.error,"no error in data response");
-                if (!dataResponse.error) {
-                  ok(dataResponse.id == "john.doe","ID is john.doe");
-                  ok(dataResponse.name.givenName == "John", "given name is John");
-                  ok(dataResponse.name.familyName == "Doe", "family name is Doe");
-                }
-                start();
-              });
-        	
-      }, 1000);
-	});
-	
-	test("opensocial.hasPermission(VIEWER)", function(){
-        var hasViewerPermission;
-        try {
-          ok(opensocial.hasPermission,"hasPermission exists");
-          ok(opensocial.Permission.VIEWER,"opensocial.Permission.VIEWER exists");
-          hasViewerPermission = opensocial.hasPermission(opensocial.Permission.VIEWER);
-          ok(hasViewerPermission != null,"User permission not null.")
-          ok(!hasViewerPermission,"Gadget should not have Viewer permission");
-        } catch (ex) {
-        	ok(false,ex);
-        }
-	});
-	
-	asyncTest("opensocial.requestPermission(VIEWER)", function(){
-		expect(2);
-		ok(opensocial.requestPermission,"opensocial.requestPermission exists");
-        opensocial.requestPermission(opensocial.Permission.VIEWER, 'test',
-                function(dataResponse) {
-	        		ok(dataResponse instanceof opensocial.ResponseItem,"dataResponse is a opensocial.ResponseItem");
-        		});
-		setTimeout(function(){
-	    	        start();
-		},1000);
-	});
-	
-	
-	asyncTest("opensocial.requestShareApp(VIEWER/VIEWER_FRIENDS/OWNER/OWNER_FRIENDS)", function(){
-
-		var ids = [ 'VIEWER', 'OWNER'];
-		expect(2 + (ids.length*2));
-		ok(opensocial.requestShareApp,"opensocial.requestShareApp exists");
-		ok(opensocial.newMessage,"opensocial.newMessage exists");
-		
-        for (var i = 0; i < ids.length; i++) {
-          var idSpec = {userId : ids[i], 
-          			  groupId : '@friends', 
-          			  networkDistance : 1};
-          opensocial.requestShareApp(idSpec, opensocial.newMessage("test"), function(dataResponse) {
-        	  /* Does this have to be called? */
-        	  ok(dataResponse instanceof opensocial.ResponseItem, ids[i]+" response is a opensocial.ResponseItem");
-          });
-        }
-        
-        for (i = 0; i < ids.length; i++) {
-            var idSpec = {userId : ids[i], 
-            			  groupId : '@self', 
-            			  networkDistance : 1};
-            opensocial.requestShareApp(idSpec, opensocial.newMessage("test"), function(dataResponse) {
-          	  /* Does this have to be called? */
-          	  ok(dataResponse instanceof opensocial.ResponseItem, ids[i]+" response is a opensocial.ResponseItem");
-            });
-        }
-        
-		setTimeout(function(){
-			start();
-	    },3000);
-		
-	});
-	
-	asyncTest("osapi.people.getViewer() (profile_details: addresses)", function(){
-
-		testAsyncViewerFieldResult(opensocial.Person.Field.ADDRESSES);
-      
-	});
-	
-	
-	asyncTest("osapi.people.getViewer() (profile_details: urls)", function(){
-
-		testAsyncViewerFieldResult(opensocial.Person.Field.URLS);
-      
-	});
-	
-	asyncTest("osapi.people.getViewer() (profile_details: name)", function(){
-
-		testAsyncViewerFieldResult(opensocial.Person.Field.NAME);
-      
-	});
-	
-	asyncTest("osapi.people.getViewer() (profile_details: currentLocation)", function(){
-
-		testAsyncViewerFieldResult(opensocial.Person.Field.CURRENT_LOCATION);
-      
-	});
-
-	asyncTest("osapi.people.getViewer() (profile_details: gender)", function(){
-
-		testAsyncViewerFieldResult(opensocial.Person.Field.GENDER);
-      
-	});
-	
-	asyncTest("osapi.people.getViewer() (profile_details: bodyType)", function(){
-
-		testAsyncViewerFieldResult(opensocial.Person.Field.BODY_TYPE);
-      
-	});
-	
-	asyncTest("osapi.people.getViewer() (profile_details: schools)", function(){
-
-		testAsyncViewerFieldResult(opensocial.Person.Field.SCHOOLS);
-      
-	});
-	
-	asyncTest("osapi.people.getOwner() (profile_details: addresses)", function(){
-
-		testAsyncOwnerFieldResult(opensocial.Person.Field.ADDRESSES);
-      
-	});
-	
-	
-	asyncTest("osapi.people.getOwner() (profile_details: urls)", function(){
-
-		testAsyncOwnerFieldResult(opensocial.Person.Field.URLS);
-      
-	});
-	
-	asyncTest("osapi.people.getOwner() (profile_details: name)", function(){
-
-		testAsyncOwnerFieldResult(opensocial.Person.Field.NAME);
-      
-	});
-	
-	asyncTest("osapi.people.getOwner() (profile_details: currentLocation)", function(){
-
-		testAsyncOwnerFieldResult(opensocial.Person.Field.CURRENT_LOCATION);
-      
-	});
-
-	asyncTest("osapi.people.getOwner() (profile_details: gender)", function(){
-
-		testAsyncOwnerFieldResult(opensocial.Person.Field.GENDER);
-      
-	});
-	
-	asyncTest("osapi.people.getOwner() (profile_details: bodyType)", function(){
-
-		testAsyncOwnerFieldResult(opensocial.Person.Field.BODY_TYPE);
-      
-	});
-	
-	asyncTest("osapi.people.getOwner() (profile_details: schools)", function(){
-
-		testAsyncOwnerFieldResult(opensocial.Person.Field.SCHOOLS);
-      
-	});
-	
-	asyncTest("osapi.people.get() - String ID",function(){
-		
-        var req = osapi.people.getViewer();
-        var id;
-        setTimeout(function(){ 
-        	req.execute(function(dataResponse){ 
-        		id = dataResponse['id']
-        		ok(id != null && id != undefined, "Viewer id is " + id);
-
-	      		var params = { userId : id, groupId : "@self"};
-	      		var req = osapi.people.get(params);
-
-	                req.execute(function(dataResponse) {
-	                  ok(!dataResponse.error,"No error in data response");
-	                  if (!dataResponse.error) {
-	                    var actual = dataResponse['id'];
-	                    ok(actual == id, "Expected " + id + " got " + actual);
-	                  }
-	                  start();
-	                });
-
-        	});
-	  	}, 1000);
-        
-	});
-	
-	asyncTest("osapi.people.get() w/bad parameters - Error expected", function(){
-
-
-        var req = osapi.people.get("bad_param");
-
-        setTimeout(function(){
-        	
-        	req.execute(function(dataResponse){
-                ok(dataResponse.error,"Error in data response");
-        		start();
-        	});
-        	
-        	
-          }, 1000);
-
-      
-    });
-	
-	asyncTest("osapi.people.get() - viewer\'s friends  (default) ", function(){
-        
-        var params = {userId : "@viewer", groupId : "@friends", networkDistance : 1};
-        var req = osapi.people.get(params);
-        testAsyncPeopleCollection(req,getSupportedPersonFields());
-      
-    });
-	
-	asyncTest("osapi.people.get() - john.doe\'s friends  (default) ", function(){
-        
-        var params = {userId : "john.doe", groupId : "@friends", networkDistance : 1};
-        var req = osapi.people.get(params);
-        testAsyncPeopleCollection(req,getSupportedPersonFields());
-      
-    });
-	
-	asyncTest("osapi.people.getViewerFriends() - (default) ", function(){
-
-        testAsyncPeopleCollection(osapi.people.getViewerFriends(),getSupportedPersonFields());
-      
-    });
-	
-	asyncTest("osapi.people.getOwnerFriends() - (default) ", function(){
-		var supportedPersonFields = getSupportedPersonFields();
-        testAsyncPeopleCollection(osapi.people.getOwnerFriends(),supportedPersonFields);
-        
-	});
-	
-	asyncTest("osapi.people.getViewerFriends() - w/fields ", function(){
-		var fieldIds = ['id','thumbnailUrl'];
-        var params = {fields : fieldIds};
-        var req = osapi.people.getViewerFriends(params);
-        testAsyncPeopleCollection(req, fieldIds);
-        
-	});
-	
-	asyncTest("osapi.people.getViewerFriends() - (paginated 1 per page, start index 1)", function(){
-
-        var params = {networkDistance : 1, count : 1};
-
-        var req = osapi.people.getViewerFriends(params);
-        
-        var params2 = {networkDistance : 1, startIndex : 1, count : 1};
-
-        var req2 = osapi.people.getViewerFriends(params2);
-        setTimeout(function(){
-        	var count = 0;
-        	var name;
-        	
-        	req.execute(function(dataResponse){
-
-            	ok(!dataResponse.error,"no error in data response");
-                if (!dataResponse.error) {
-                  var dataCollection = dataResponse;
-                  ok(dataResponse.startIndex == 0,"OpenSocial collections are zero indexed");
-                  ok(dataResponse.itemsPerPage == 1, "1 item per page");
-                  ok(dataResponse.list.length == 1,"list contains 1 item");
-                  ok(dataResponse.list[0].id,"Person id at 0 is " + dataResponse.list[0].id);
-                  if(!name){
-                	  name = dataResponse.list[0].id;
-                  } else {
-                	  ok(dataResponse.list[0].id != name,"Different indices returned different names");
-                  }
-                }
-                if(count == 1){
-                	start();
-                }
-                
-                count ++;
-              });
-        	
-        	req2.execute(function(dataResponse){
-
-            	ok(!dataResponse.error,"no error in data response");
-                if (!dataResponse.error) {
-                  var dataCollection = dataResponse;
-                  ok(dataResponse.startIndex == 1,"Expect a start index of 1");
-                  ok(dataResponse.itemsPerPage == 1, "1 item per page");
-                  ok(dataResponse.list.length == 1,"list contains 1 item");
-                  ok(dataResponse.list[0].id,"Person id at 1 is " + dataResponse.list[0].id);
-                  if(!name){
-                	  name = dataResponse.list[0].id;
-                  } else {
-                	  ok(dataResponse.list[0].id != name,"0 and 1 indices point to different Person objects");
-                  }
-                }
-                if(count == 1){
-                	start();
-                }
-                count ++;
-              });
-        	
-      }, 1000);
-        
-      
-	});
-	
-	
-	asyncTest("osapi.people.get() - (viewer's friends sorted by id)", function(){
-
-		var params = {userId : "@viewer", groupId : "@friends", networkDistance : 1, sortBy : "id"};
-        var req = osapi.people.get(params);
-        setTimeout(function(){
-        	
-        	req.execute(function(dataResponse){
-
-            	ok(!dataResponse.error,"no error in data response");
-                if (!dataResponse.error) {
-                  var dataCollection = dataResponse;
-                  ok(dataCollection.sorted,"Collection is marked as sorted");
-                  //TODO Verify sorting
-
-                }
-                start();
-              });
-        	
-      }, 1000);
-	});
-        
-	asyncTest("osapi.people.get() - (viewer's friends fitered - id contains 'doe')", function(){
-
-		var params = {  userId : "@viewer", 
-						groupId : "@friends", 
-						networkDistance : 1, 
-						filterBy : "id",
-						filterValue : "doe"
-					 };
-        var req = osapi.people.get(params);
-        setTimeout(function(){
-        
-        	req.execute(function(dataResponse){
-
-            	ok(!dataResponse.error,"no error in data response");
-                if (!dataResponse.error) {
-                  var dataCollection = dataResponse;
-                  ok(dataCollection.filtered,"Collection is marked as filtered");
-                  for(var i in dataCollection.list){
-                	  ok(dataCollection.list[i].id.indexOf("doe") != -1,dataCollection.list[i].id+" contains \"doe\"");
-                  }
-
-                }
-                start();
-              });
-        	
-      }, 1000);
-        
-      
-	});
-	
-	asyncTest("osapi.people.getViewerFriends() - (Paging out of bounds, startIndex = 9999)", function(){
-
-        var params = {networkDistance : 1, count : 10, startIndex : 9999};
-
-        var req = osapi.people.getViewerFriends(params);
-        setTimeout(function(){
-        
-        	req.execute(function(dataResponse){
-            	ok(dataResponse.error,"Error in data response");
-                start();
-              });
-        	
-      }, 1000);
-        
-      
-	});
-
-}
-
-var _supportedPersonFields;
-
-function getSupportedPersonFields(){
-    if(!_supportedPersonFields){
-    	_supportedPersonFields = new Array();
-	    for(var field in opensocial.Person.Field){
-	    	if(opensocial.getEnvironment().supportsField(opensocial.Environment.ObjectType.PERSON, opensocial.Person.Field[field])){
-	    		_supportedPersonFields.push(opensocial.Person.Field[field]);
-	    	}
-	    }
-	    ok(_supportedPersonFields,"Got list of supported Person fields");
-	}
-    return _supportedPersonFields;
-}
-
-//TODO Verify field values against compliance data
-function testAsyncPeopleCollection(req, fields){
-
-
-    setTimeout(function(){
-    	
-    	req.execute(function(dataResponse){
-    		ok(!dataResponse.error,"No error in data response");
-    		ok(dataResponse.totalResults,"Response has "+dataResponse.totalResults+" results");
-    		ok(dataResponse.list.length == dataResponse.totalResults,"Response has a result list of size " + dataResponse.list.length);
-    		var list = dataResponse.list;
-    		for(var i=0; i<list.length; i++){
-    			for(var j=0; j<fields.length; j++){
-    				ok(requiredBySpec(fields[j]) && list[i][fields[j]] != null, 
-    						"Friend " + i +" : " +fields[j] + " - " + list[i][fields[j]]);
-    			}
-    			
-    		}
-    		start();
-    	});
-    	
-    	
-      }, 1000);
-}
-
-
-function testAsyncViewerFieldResult(field){
-    if (opensocial.getEnvironment().supportsField(opensocial.Environment.ObjectType.PERSON,field)) {
-        	var params = {fields: [opensocial.Person.Field[field]]};
-        	var req = osapi.people.getViewer(params);
-
-			setTimeout(function(){
-				req.execute(function(dataResponse) {
-					ok(!dataResponse.error,"dataResponse without an error");
-		            if (!dataResponse.error) {
-		              var actual = dataResponse[opensocial.Person.Field[field]];
-		              ok(actual != null, opensocial.Person.Field[field] + " value is " + actual);
-		            }
-		            
-		        });
-				
-				start();
-			}, 1000);
-
-    } else {
-    	ok(!requiredBySpec(field),"Container does not declare support for "+ field +" field.")
-    	start();
-    }
-}
-
-function testAsyncOwnerFieldResult(field){
-    if (opensocial.getEnvironment().supportsField(opensocial.Environment.ObjectType.PERSON,field)) {
-        	var params = {"fields": [opensocial.Person.Field[field]]};
-        	var req = osapi.people.getOwner(params);
-
-			setTimeout(function(){
-				req.execute(function(dataResponse) {
-					ok(!dataResponse.error,"dataResponse without an error");
-		            if (!dataResponse.error) {
-		              var actual = dataResponse[opensocial.Person.Field[field]];
-		              ok(actual != null, opensocial.Person.Field[field] + " value is " + actual);
-		            }
-		
-		        });
-				
-				start();
-			},1000);
-
-    } else {
-    	ok(!requiredBySpec(field),"Container does not declare support for  "+ field +" field.")
-    	start();
-    }
-}
-
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//TODO Verify person objects against compliance person data
+function personResponse(dataResponse) {
+	  
+    ok(!dataResponse.error, "No error in response");
+    if (!dataResponse.error) {
+      var viewerData = dataResponse;
+      for (var field in opensocial.Person.Field) {
+        try {
+          var fieldValue = viewerData[opensocial.Person.Field[field]];
+	      	var req = requiredBySpec(opensocial.Person.Field[field]);
+	    	var msg;
+	    	if(req){
+	    		msg = "REQUIRED: ";
+	    	} else {
+	    		msg = "OPTIONAL: ";
+	    	}
+           if(fieldValue != null) {
+              ok(fieldValue != null, msg + (opensocial.Person.Field[field] + " is set."));
+            } else if (opensocial.getEnvironment().supportsField(opensocial.Environment.ObjectType.PERSON, opensocial.Person.Field[field])) {
+          	  	ok(!req, msg + (opensocial.Person.Field[field] +" is empty."));
+            } else {
+          	  ok(fieldValue == null, 'Container non-supported field - ' + opensocial.Person.Field[field]);
+            }
+        } catch (ex) {
+          ok(false,ex);
+        }
+      }
+    }
+  start();
+}
+
+/**
+ * Returns TRUE if field is a required Person field
+ * 
+ * http://opensocial-resources.googlecode.com/svn/spec/1.1/Social-Data.xml#Person
+ * 
+ * @param field Person Field 
+ * @returns {Boolean}  TRUE if required, FALSE if not required (see spec).
+ */
+function requiredBySpec(field){
+	if(field == "id" ||
+		field == "name" ||
+		field == "thumbnailUrl"){
+		return true;
+	}
+	return false;
+}
+
+function runPeopleSuite(){
+	module("OpenSocial JavaScript People/Person Tests 1.1");
+	
+	asyncTest("osapi.people.getViewer() - (no parameters)", function(){
+          var req = osapi.people.getViewer();
+		  ok(osapi.people.getViewer,"osapi.people.getViewer exists");
+          ok(req != null, "Req not null");
+          ok(req.execute != null, "Req has execute method");
+          setTimeout(function(){ 
+        	  req.execute(personResponse);
+    	  }, 1000);
+        
+      });
+	
+	asyncTest("osapi.people.getOwner() - (no parameters)", function(){
+        var req = osapi.people.getOwner();
+        ok(osapi.people.getOwner,"osapi.people.getOwner exists");
+        ok(req != null, "Req not null");
+        ok(req.execute != null, "Req has execute method");
+        setTimeout(function(){ 
+      	  req.execute(personResponse);
+  	  	}, 1000);
+      
+    });
+	
+	asyncTest("osapi.people.get() - VIEWER (with params)", function(){
+
+	  var params = { userId : "@me", groupId : "@self"};
+      var req = osapi.people.getViewer(params);
+      ok(req != null, "osapi request not null");
+      ok(req.execute != null, "Request has execute method");
+      setTimeout(function(){ 
+    	  req.execute(personResponse);
+	  	}, 1000);
+
+	});
+	
+	asyncTest("osapi.people.get() - OWNER (with params)", function(){
+
+	      var params = { userId : "@me", groupId : "@self"};
+	      var req = osapi.people.getOwner(params);
+	      ok(req != null, "osapi request not null");
+	      ok(req.execute != null, "Request has execute method");
+	      setTimeout(function(){ 
+	    	  req.execute(personResponse);
+		  	}, 1000);
+
+		});
+	
+	asyncTest("osapi.people.get() - (by id 'john.doe')", function(){
+
+		var params = {userId : "john.doe", groupId : "@self"};
+        var req = osapi.people.get(params);
+        setTimeout(function(){
+        	
+        	req.execute(function(dataResponse){
+
+            	ok(!dataResponse.error,"no error in data response");
+                if (!dataResponse.error) {
+                  ok(dataResponse.id == "john.doe","ID is john.doe");
+                  ok(dataResponse.name.givenName == "John", "given name is John");
+                  ok(dataResponse.name.familyName == "Doe", "family name is Doe");
+                }
+                start();
+              });
+        	
+      }, 1000);
+	});
+	
+	test("opensocial.hasPermission(VIEWER)", function(){
+        var hasViewerPermission;
+        try {
+          ok(opensocial.hasPermission,"hasPermission exists");
+          ok(opensocial.Permission.VIEWER,"opensocial.Permission.VIEWER exists");
+          hasViewerPermission = opensocial.hasPermission(opensocial.Permission.VIEWER);
+          ok(hasViewerPermission != null,"User permission not null.")
+          ok(!hasViewerPermission,"Gadget should not have Viewer permission");
+        } catch (ex) {
+        	ok(false,ex);
+        }
+	});
+	
+	asyncTest("opensocial.requestPermission(VIEWER)", function(){
+		expect(2);
+		ok(opensocial.requestPermission,"opensocial.requestPermission exists");
+        opensocial.requestPermission(opensocial.Permission.VIEWER, 'test',
+                function(dataResponse) {
+	        		ok(dataResponse instanceof opensocial.ResponseItem,"dataResponse is a opensocial.ResponseItem");
+        		});
+		setTimeout(function(){
+	    	        start();
+		},1000);
+	});
+	
+	
+	asyncTest("opensocial.requestShareApp(VIEWER/VIEWER_FRIENDS/OWNER/OWNER_FRIENDS)", function(){
+
+		var ids = [ 'VIEWER', 'OWNER'];
+		expect(2 + (ids.length*2));
+		ok(opensocial.requestShareApp,"opensocial.requestShareApp exists");
+		ok(opensocial.newMessage,"opensocial.newMessage exists");
+		
+        for (var i = 0; i < ids.length; i++) {
+          var idSpec = {userId : ids[i], 
+          			  groupId : '@friends', 
+          			  networkDistance : 1};
+          opensocial.requestShareApp(idSpec, opensocial.newMessage("test"), function(dataResponse) {
+        	  /* Does this have to be called? */
+        	  ok(dataResponse instanceof opensocial.ResponseItem, ids[i]+" response is a opensocial.ResponseItem");
+          });
+        }
+        
+        for (i = 0; i < ids.length; i++) {
+            var idSpec = {userId : ids[i], 
+            			  groupId : '@self', 
+            			  networkDistance : 1};
+            opensocial.requestShareApp(idSpec, opensocial.newMessage("test"), function(dataResponse) {
+          	  /* Does this have to be called? */
+          	  ok(dataResponse instanceof opensocial.ResponseItem, ids[i]+" response is a opensocial.ResponseItem");
+            });
+        }
+        
+		setTimeout(function(){
+			start();
+	    },3000);
+		
+	});
+	
+	asyncTest("osapi.people.getViewer() (profile_details: addresses)", function(){
+
+		testAsyncViewerFieldResult(opensocial.Person.Field.ADDRESSES);
+      
+	});
+	
+	
+	asyncTest("osapi.people.getViewer() (profile_details: urls)", function(){
+
+		testAsyncViewerFieldResult(opensocial.Person.Field.URLS);
+      
+	});
+	
+	asyncTest("osapi.people.getViewer() (profile_details: name)", function(){
+
+		testAsyncViewerFieldResult(opensocial.Person.Field.NAME);
+      
+	});
+	
+	asyncTest("osapi.people.getViewer() (profile_details: currentLocation)", function(){
+
+		testAsyncViewerFieldResult(opensocial.Person.Field.CURRENT_LOCATION);
+      
+	});
+
+	asyncTest("osapi.people.getViewer() (profile_details: gender)", function(){
+
+		testAsyncViewerFieldResult(opensocial.Person.Field.GENDER);
+      
+	});
+	
+	asyncTest("osapi.people.getViewer() (profile_details: bodyType)", function(){
+
+		testAsyncViewerFieldResult(opensocial.Person.Field.BODY_TYPE);
+      
+	});
+	
+	asyncTest("osapi.people.getViewer() (profile_details: schools)", function(){
+
+		testAsyncViewerFieldResult(opensocial.Person.Field.SCHOOLS);
+      
+	});
+	
+	asyncTest("osapi.people.getOwner() (profile_details: addresses)", function(){
+
+		testAsyncOwnerFieldResult(opensocial.Person.Field.ADDRESSES);
+      
+	});
+	
+	
+	asyncTest("osapi.people.getOwner() (profile_details: urls)", function(){
+
+		testAsyncOwnerFieldResult(opensocial.Person.Field.URLS);
+      
+	});
+	
+	asyncTest("osapi.people.getOwner() (profile_details: name)", function(){
+
+		testAsyncOwnerFieldResult(opensocial.Person.Field.NAME);
+      
+	});
+	
+	asyncTest("osapi.people.getOwner() (profile_details: currentLocation)", function(){
+
+		testAsyncOwnerFieldResult(opensocial.Person.Field.CURRENT_LOCATION);
+      
+	});
+
+	asyncTest("osapi.people.getOwner() (profile_details: gender)", function(){
+
+		testAsyncOwnerFieldResult(opensocial.Person.Field.GENDER);
+      
+	});
+	
+	asyncTest("osapi.people.getOwner() (profile_details: bodyType)", function(){
+
+		testAsyncOwnerFieldResult(opensocial.Person.Field.BODY_TYPE);
+      
+	});
+	
+	asyncTest("osapi.people.getOwner() (profile_details: schools)", function(){
+
+		testAsyncOwnerFieldResult(opensocial.Person.Field.SCHOOLS);
+      
+	});
+	
+	asyncTest("osapi.people.get() - String ID",function(){
+		
+        var req = osapi.people.getViewer();
+        var id;
+        setTimeout(function(){ 
+        	req.execute(function(dataResponse){ 
+        		id = dataResponse['id']
+        		ok(id != null && id != undefined, "Viewer id is " + id);
+
+	      		var params = { userId : id, groupId : "@self"};
+	      		var req = osapi.people.get(params);
+
+	                req.execute(function(dataResponse) {
+	                  ok(!dataResponse.error,"No error in data response");
+	                  if (!dataResponse.error) {
+	                    var actual = dataResponse['id'];
+	                    ok(actual == id, "Expected " + id + " got " + actual);
+	                  }
+	                  start();
+	                });
+
+        	});
+	  	}, 1000);
+        
+	});
+	
+	asyncTest("osapi.people.get() w/bad parameters - Error expected", function(){
+
+
+        var req = osapi.people.get("bad_param");
+
+        setTimeout(function(){
+        	
+        	req.execute(function(dataResponse){
+                ok(dataResponse.error,"Error in data response");
+        		start();
+        	});
+        	
+        	
+          }, 1000);
+
+      
+    });
+	
+	asyncTest("osapi.people.get() - viewer\'s friends  (default) ", function(){
+        
+        var params = {userId : "@viewer", groupId : "@friends", networkDistance : 1};
+        var req = osapi.people.get(params);
+        testAsyncPeopleCollection(req,getSupportedPersonFields());
+      
+    });
+	
+	asyncTest("osapi.people.get() - john.doe\'s friends  (default) ", function(){
+        
+        var params = {userId : "john.doe", groupId : "@friends", networkDistance : 1};
+        var req = osapi.people.get(params);
+        testAsyncPeopleCollection(req,getSupportedPersonFields());
+      
+    });
+	
+	asyncTest("osapi.people.getViewerFriends() - (default) ", function(){
+
+        testAsyncPeopleCollection(osapi.people.getViewerFriends(),getSupportedPersonFields());
+      
+    });
+	
+	asyncTest("osapi.people.getOwnerFriends() - (default) ", function(){
+		var supportedPersonFields = getSupportedPersonFields();
+        testAsyncPeopleCollection(osapi.people.getOwnerFriends(),supportedPersonFields);
+        
+	});
+	
+	asyncTest("osapi.people.getViewerFriends() - w/fields ", function(){
+		var fieldIds = ['id','thumbnailUrl'];
+        var params = {fields : fieldIds};
+        var req = osapi.people.getViewerFriends(params);
+        testAsyncPeopleCollection(req, fieldIds);
+        
+	});
+	
+	asyncTest("osapi.people.getViewerFriends() - (paginated 1 per page, start index 1)", function(){
+
+        var params = {networkDistance : 1, count : 1};
+
+        var req = osapi.people.getViewerFriends(params);
+        
+        var params2 = {networkDistance : 1, startIndex : 1, count : 1};
+
+        var req2 = osapi.people.getViewerFriends(params2);
+        setTimeout(function(){
+        	var count = 0;
+        	var name;
+        	
+        	req.execute(function(dataResponse){
+
+            	ok(!dataResponse.error,"no error in data response");
+                if (!dataResponse.error) {
+                  var dataCollection = dataResponse;
+                  ok(dataResponse.startIndex == 0,"OpenSocial collections are zero indexed");
+                  ok(dataResponse.itemsPerPage == 1, "1 item per page");
+                  ok(dataResponse.list.length == 1,"list contains 1 item");
+                  ok(dataResponse.list[0].id,"Person id at 0 is " + dataResponse.list[0].id);
+                  if(!name){
+                	  name = dataResponse.list[0].id;
+                  } else {
+                	  ok(dataResponse.list[0].id != name,"Different indices returned different names");
+                  }
+                }
+                if(count == 1){
+                	start();
+                }
+                
+                count ++;
+              });
+        	
+        	req2.execute(function(dataResponse){
+
+            	ok(!dataResponse.error,"no error in data response");
+                if (!dataResponse.error) {
+                  var dataCollection = dataResponse;
+                  ok(dataResponse.startIndex == 1,"Expect a start index of 1");
+                  ok(dataResponse.itemsPerPage == 1, "1 item per page");
+                  ok(dataResponse.list.length == 1,"list contains 1 item");
+                  ok(dataResponse.list[0].id,"Person id at 1 is " + dataResponse.list[0].id);
+                  if(!name){
+                	  name = dataResponse.list[0].id;
+                  } else {
+                	  ok(dataResponse.list[0].id != name,"0 and 1 indices point to different Person objects");
+                  }
+                }
+                if(count == 1){
+                	start();
+                }
+                count ++;
+              });
+        	
+      }, 1000);
+        
+      
+	});
+	
+	
+	asyncTest("osapi.people.get() - (viewer's friends sorted by id)", function(){
+
+		var params = {userId : "@viewer", groupId : "@friends", networkDistance : 1, sortBy : "id"};
+        var req = osapi.people.get(params);
+        setTimeout(function(){
+        	
+        	req.execute(function(dataResponse){
+
+            	ok(!dataResponse.error,"no error in data response");
+                if (!dataResponse.error) {
+                  var dataCollection = dataResponse;
+                  ok(dataCollection.sorted,"Collection is marked as sorted");
+                  //TODO Verify sorting
+
+                }
+                start();
+              });
+        	
+      }, 1000);
+	});
+        
+	asyncTest("osapi.people.get() - (viewer's friends fitered - id contains 'doe')", function(){
+
+		var params = {  userId : "@viewer", 
+						groupId : "@friends", 
+						networkDistance : 1, 
+						filterBy : "id",
+						filterValue : "doe"
+					 };
+        var req = osapi.people.get(params);
+        setTimeout(function(){
+        
+        	req.execute(function(dataResponse){
+
+            	ok(!dataResponse.error,"no error in data response");
+                if (!dataResponse.error) {
+                  var dataCollection = dataResponse;
+                  ok(dataCollection.filtered,"Collection is marked as filtered");
+                  for(var i in dataCollection.list){
+                	  ok(dataCollection.list[i].id.indexOf("doe") != -1,dataCollection.list[i].id+" contains \"doe\"");
+                  }
+
+                }
+                start();
+              });
+        	
+      }, 1000);
+        
+      
+	});
+	
+	asyncTest("osapi.people.getViewerFriends() - (Paging out of bounds, startIndex = 9999)", function(){
+
+        var params = {networkDistance : 1, count : 10, startIndex : 9999};
+
+        var req = osapi.people.getViewerFriends(params);
+        setTimeout(function(){
+        
+        	req.execute(function(dataResponse){
+            	ok(dataResponse.error,"Error in data response");
+                start();
+              });
+        	
+      }, 1000);
+        
+      
+	});
+
+}
+
+var _supportedPersonFields;
+
+function getSupportedPersonFields(){
+    if(!_supportedPersonFields){
+    	_supportedPersonFields = new Array();
+	    for(var field in opensocial.Person.Field){
+	    	if(opensocial.getEnvironment().supportsField(opensocial.Environment.ObjectType.PERSON, opensocial.Person.Field[field])){
+	    		_supportedPersonFields.push(opensocial.Person.Field[field]);
+	    	}
+	    }
+	    ok(_supportedPersonFields,"Got list of supported Person fields");
+	}
+    return _supportedPersonFields;
+}
+
+//TODO Verify field values against compliance data
+function testAsyncPeopleCollection(req, fields){
+
+
+    setTimeout(function(){
+    	
+    	req.execute(function(dataResponse){
+    		ok(!dataResponse.error,"No error in data response");
+    		ok(dataResponse.totalResults,"Response has "+dataResponse.totalResults+" results");
+    		ok(dataResponse.list.length == dataResponse.totalResults,"Response has a result list of size " + dataResponse.list.length);
+    		var list = dataResponse.list;
+    		for(var i=0; i<list.length; i++){
+    			for(var j=0; j<fields.length; j++){
+    				ok(requiredBySpec(fields[j]) && list[i][fields[j]] != null, 
+    						"Friend " + i +" : " +fields[j] + " - " + list[i][fields[j]]);
+    			}
+    			
+    		}
+    		start();
+    	});
+    	
+    	
+      }, 1000);
+}
+
+
+function testAsyncViewerFieldResult(field){
+    if (opensocial.getEnvironment().supportsField(opensocial.Environment.ObjectType.PERSON,field)) {
+        	var params = {fields: [opensocial.Person.Field[field]]};
+        	var req = osapi.people.getViewer(params);
+
+			setTimeout(function(){
+				req.execute(function(dataResponse) {
+					ok(!dataResponse.error,"dataResponse without an error");
+		            if (!dataResponse.error) {
+		              var actual = dataResponse[opensocial.Person.Field[field]];
+		              ok(actual != null, opensocial.Person.Field[field] + " value is " + actual);
+		            }
+		            
+		        });
+				
+				start();
+			}, 1000);
+
+    } else {
+    	ok(!requiredBySpec(field),"Container does not declare support for "+ field +" field.")
+    	start();
+    }
+}
+
+function testAsyncOwnerFieldResult(field){
+    if (opensocial.getEnvironment().supportsField(opensocial.Environment.ObjectType.PERSON,field)) {
+        	var params = {"fields": [opensocial.Person.Field[field]]};
+        	var req = osapi.people.getOwner(params);
+
+			setTimeout(function(){
+				req.execute(function(dataResponse) {
+					ok(!dataResponse.error,"dataResponse without an error");
+		            if (!dataResponse.error) {
+		              var actual = dataResponse[opensocial.Person.Field[field]];
+		              ok(actual != null, opensocial.Person.Field[field] + " value is " + actual);
+		            }
+		
+		        });
+				
+				start();
+			},1000);
+
+    } else {
+    	ok(!requiredBySpec(field),"Container does not declare support for  "+ field +" field.")
+    	start();
+    }
+}
+

Propchange: shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/people/peoplesuite.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/people/peoplesuite.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Modified: shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/people/suite.xml
URL: http://svn.apache.org/viewvc/shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/people/suite.xml?rev=1137082&r1=1137081&r2=1137082&view=diff
==============================================================================
--- shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/people/suite.xml (original)
+++ shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/people/suite.xml Fri Jun 17 23:43:46 2011
@@ -1,60 +1,60 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<Module specificationVersion="1.1">
-  <ModulePrefs title="People Tests 1.1" author="OpenSocial_QA"
-               description="Person/People Requests Tests 1.1">
-    <Require feature="dynamic-height"/>
-    <Require feature="osapi"/>
-    <Require feature="opensocial-data"/>
-    <Require feature="opensocial"/>
-  </ModulePrefs>
-  <Content type="html" scrolling="true">
-    <![CDATA[
-<html>
-  <head>
-  <link rel="stylesheet" href="http://code.jquery.com/qunit/git/qunit.css" type="text/css" media="screen" />
-  <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
-  <script type="text/javascript" src="http://code.jquery.com/qunit/git/qunit.js"></script>
-  <script type="text/javascript" src="peoplesuite.js"></script>
-  
-  <script>
-  
-      gadgets.util.registerOnLoadHandler(runPeopleSuite);
-      gadgets.util.registerOnLoadHandler(function(){
-            gadgets.window.adjustHeight(2000);
-      });
-
-  </script>
-  </head>
-  
-  <body>
-    <h1 id="qunit-header">OpenSocial JavaScript 1.1 People</h1>
-    <h2 id="qunit-banner"></h2>
-    <div id="qunit-testrunner-toolbar"></div>
-    <h2 id="qunit-userAgent"></h2>
-    <ol id="qunit-tests"></ol>
-    <div id="qunit-fixture">test markup, will be hidden</div>
-  </body>
-</html>
-  
-  
-]]>
-  </Content>
-</Module>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<Module specificationVersion="1.1">
+  <ModulePrefs title="People Tests 1.1" author="OpenSocial_QA"
+               description="Person/People Requests Tests 1.1">
+    <Require feature="dynamic-height"/>
+    <Require feature="osapi"/>
+    <Require feature="opensocial-data"/>
+    <Require feature="opensocial"/>
+  </ModulePrefs>
+  <Content type="html" scrolling="true">
+    <![CDATA[
+<html>
+  <head>
+  <link rel="stylesheet" href="http://code.jquery.com/qunit/git/qunit.css" type="text/css" media="screen" />
+  <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
+  <script type="text/javascript" src="http://code.jquery.com/qunit/git/qunit.js"></script>
+  <script type="text/javascript" src="peoplesuite.js"></script>
+  
+  <script>
+  
+      gadgets.util.registerOnLoadHandler(runPeopleSuite);
+      gadgets.util.registerOnLoadHandler(function(){
+            gadgets.window.adjustHeight(2000);
+      });
+
+  </script>
+  </head>
+  
+  <body>
+    <h1 id="qunit-header">OpenSocial JavaScript 1.1 People</h1>
+    <h2 id="qunit-banner"></h2>
+    <div id="qunit-testrunner-toolbar"></div>
+    <h2 id="qunit-userAgent"></h2>
+    <ol id="qunit-tests"></ol>
+    <div id="qunit-fixture">test markup, will be hidden</div>
+  </body>
+</html>
+  
+  
+]]>
+  </Content>
+</Module>

Propchange: shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/people/suite.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/people/suite.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/suite.xml
URL: http://svn.apache.org/viewvc/shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/suite.xml?rev=1137082&r1=1137081&r2=1137082&view=diff
==============================================================================
--- shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/suite.xml (original)
+++ shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/suite.xml Fri Jun 17 23:43:46 2011
@@ -1,66 +1,66 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<Module specificationVersion="1.1">
-  <ModulePrefs title="OpenSocial JavaScript 1.1 Compliance Tests" author="OpenSocial_QA"
-               description="OpenSocial JavaScript 1.1 Compliance Tests">
-    <Require feature="dynamic-height"/>
-    <Require feature="osapi"/>
-    <Require feature="opensocial-data"/>
-    <Require feature="opensocial"/>
-  </ModulePrefs>
-  <Content type="html" scrolling="true">
-    <![CDATA[
-<html>
-  <head>
-  <link rel="stylesheet" href="http://code.jquery.com/qunit/git/qunit.css" type="text/css" media="screen" />
-  <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
-  <script type="text/javascript" src="http://code.jquery.com/qunit/git/qunit.js"></script>
-  <script type="text/javascript" src="appdata/appdatasuite.js"></script>
-  <script type="text/javascript" src="people/peoplesuite.js"></script>
-  <script type="text/javascript" src="activities/activitiessuite.js"></script>  
-  <script type="text/javascript" src="all.js"></script>
-  
-  
-  <script>
-  
-      gadgets.util.registerOnLoadHandler(function(){
-        runActivitiesSuite();
-        runAppDataSuite();
-        runPeopleSuite();
-        gadgets.window.adjustHeight(3000);
-      });
-
-  </script>
-  </head>
-  
-  <body>
-    <h1 id="qunit-header">OpenSocial JavaScript 1.1 Compliance</h1>
-    <h2 id="qunit-banner"></h2>
-    <div id="qunit-testrunner-toolbar"></div>
-    <h2 id="qunit-userAgent"></h2>
-    <ol id="qunit-tests"></ol>
-    <div id="qunit-fixture">test markup, will be hidden</div>
-  </body>
-</html>
-  
-  
-]]>
-  </Content>
-</Module>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<Module specificationVersion="1.1">
+  <ModulePrefs title="OpenSocial JavaScript 1.1 Compliance Tests" author="OpenSocial_QA"
+               description="OpenSocial JavaScript 1.1 Compliance Tests">
+    <Require feature="dynamic-height"/>
+    <Require feature="osapi"/>
+    <Require feature="opensocial-data"/>
+    <Require feature="opensocial"/>
+  </ModulePrefs>
+  <Content type="html" scrolling="true">
+    <![CDATA[
+<html>
+  <head>
+  <link rel="stylesheet" href="http://code.jquery.com/qunit/git/qunit.css" type="text/css" media="screen" />
+  <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
+  <script type="text/javascript" src="http://code.jquery.com/qunit/git/qunit.js"></script>
+  <script type="text/javascript" src="appdata/appdatasuite.js"></script>
+  <script type="text/javascript" src="people/peoplesuite.js"></script>
+  <script type="text/javascript" src="activities/activitiessuite.js"></script>  
+  <script type="text/javascript" src="all.js"></script>
+  
+  
+  <script>
+  
+      gadgets.util.registerOnLoadHandler(function(){
+        runActivitiesSuite();
+        runAppDataSuite();
+        runPeopleSuite();
+        gadgets.window.adjustHeight(3000);
+      });
+
+  </script>
+  </head>
+  
+  <body>
+    <h1 id="qunit-header">OpenSocial JavaScript 1.1 Compliance</h1>
+    <h2 id="qunit-banner"></h2>
+    <div id="qunit-testrunner-toolbar"></div>
+    <h2 id="qunit-userAgent"></h2>
+    <ol id="qunit-tests"></ol>
+    <div id="qunit-fixture">test markup, will be hidden</div>
+  </body>
+</html>
+  
+  
+]]>
+  </Content>
+</Module>

Propchange: shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/suite.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/content/gadgets/compliance/javascript-tests/1.1/suite.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/content/samplecontainer/examples/commoncontainer/assembler.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/content/samplecontainer/examples/commoncontainer/assembler.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/content/samplecontainer/examples/commoncontainer/sample-views.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/content/samplecontainer/examples/commoncontainer/sample-views.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/content/samplecontainer/examples/commoncontainer/viewController.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/content/samplecontainer/examples/commoncontainer/viewController.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/etc/eclipse/shindig-eclipse-cleanup.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/etc/eclipse/shindig-eclipse-cleanup.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/etc/eclipse/shindig-eclipse-javascript-cleanup.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/etc/eclipse/shindig-eclipse-javascript-cleanup.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/etc/eclipse/shindig-eclipse-javascript-codestyle.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/etc/eclipse/shindig-eclipse-javascript-codestyle.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/etc/eclipse/shindig-eclipse-javascript-codetemplate.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/etc/eclipse/shindig-eclipse-javascript-codetemplate.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/extras/src/main/javascript/features-extras/org.openajax.hub-2.0.5/inline.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/extras/src/main/javascript/features-extras/org.openajax.hub-2.0.5/inline.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/extras/src/main/php/extras/GadgetUrlAuthRenderer.php
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/caja-guest-frame/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/caja-guest-frame/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/caja-taming-frame/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/caja-taming-frame/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/cloo/cloo.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/cloo/cloo.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/cloo/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/cloo/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/container.gadget/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/container.gadget/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/container.gadget/gadget_holder.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/container.gadget/gadget_holder.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/container.gadget/gadget_site.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/container.gadget/gadget_site.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/container.url/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/container.url/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/container.url/url_holder.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/container.url/url_holder.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/container.url/url_site.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/container.url/url_site.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/container.util/constant.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/container.util/constant.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/container.util/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/container.util/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/container.util/util.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/container.util/util.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/core.config.base/config.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.config.base/config.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/core.config.base/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.config.base/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/core.config/validators.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.config/validators.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/core.json/json-flatten.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.json/json-flatten.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/core.json/json-native.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.json/json-native.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.base/base.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.base/base.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.base/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.base/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.dom/dom.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.dom/dom.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.dom/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.dom/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.event/event.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.event/event.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.event/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.event/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.onload/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.onload/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.string/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.string/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.string/string.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.string/string.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.string/taming.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.string/taming.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.urlparams/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.urlparams/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.urlparams/taming.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.urlparams/taming.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.urlparams/urlparams.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/core.util.urlparams/urlparams.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/dynamic-height.height/dynamic-height-height.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/dynamic-height.height/dynamic-height-height.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/dynamic-height.height/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/dynamic-height.height/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/dynamic-height.height/taming.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/dynamic-height.height/taming.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/dynamic-height.util/taming.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/dynamic-height.util/taming.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/exportjs/exportjs.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/exportjs/exportjs.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/exportjs/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/exportjs/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/gadgets.json.ext/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/gadgets.json.ext/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/gadgets.json.ext/json-xmltojson.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/gadgets.json.ext/json-xmltojson.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/gadgets.json.ext/taming.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/gadgets.json.ext/taming.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/opensocial-base/taming.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/opensocial-base/taming.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/osapi.base/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/osapi.base/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/osapi.base/taming.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/osapi.base/taming.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/rpc/flash.transport.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/rpc/flash.transport.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/rpc/noop.transport.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/rpc/noop.transport.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/main/javascript/features/shindig.sha1/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/shindig.sha1/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/taming/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/taming/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: shindig/trunk/features/src/main/javascript/features/taming/taming.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/main/javascript/features/taming/taming.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/test/javascript/features/container.url/container_url_test.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/test/javascript/features/container.url/container_url_test.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/test/javascript/features/container.url/url_holder_test.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/test/javascript/features/container.url/url_holder_test.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/features/src/test/javascript/features/container.url/url_site_test.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/features/src/test/javascript/features/container.url/url_site_test.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: shindig/trunk/java/common/src/main/java/org/apache/shindig/auth/AuthInfo.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/common/src/main/java/org/apache/shindig/common/logging/i18n/MessageKeys.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/common/src/main/java/org/apache/shindig/common/servlet/Authority.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/common/src/main/java/org/apache/shindig/common/servlet/BasicAuthority.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/common/src/main/java/org/apache/shindig/common/servlet/BasicAuthorityProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/common/src/main/java/org/apache/shindig/common/servlet/HostFilter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/common/src/main/java/org/apache/shindig/common/servlet/ServletRequestContext.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/common/src/main/java/org/apache/shindig/common/util/OpenSocialVersion.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/common/src/main/java/org/apache/shindig/protocol/conversion/xstream/ExtendableBeanConverter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/common/src/main/java/org/apache/shindig/protocol/model/ExtendableBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/common/src/main/java/org/apache/shindig/protocol/model/ExtendableBeanImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/common/src/main/resources/org/apache/shindig/common/logging/i18n/resource.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/common/src/main/resources/org/apache/shindig/common/logging/i18n/resource.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: shindig/trunk/java/common/src/main/resources/org/apache/shindig/common/logging/i18n/resource_en_US.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/common/src/main/resources/org/apache/shindig/common/logging/i18n/resource_en_US.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: shindig/trunk/java/common/src/test/java/org/apache/shindig/auth/AuthenticationServletFilterTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/common/src/test/java/org/apache/shindig/auth/UrlParameterAuthenticationHandlerTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/common/src/test/java/org/apache/shindig/common/OpenSocialVersionTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/common/src/test/java/org/apache/shindig/common/servlet/BasicAuthorityProviderTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/JsCompileMode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/config/ConfigProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/config/DefaultConfigProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/features/ApiDirective.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/features/DefaultFeatureFile.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/features/DefaultFeatureFileSystem.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/features/DefaultFeatureRegistryProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/features/FeatureFile.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/features/FeatureFileSystem.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/features/FeatureRegistryProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/features/TestFeatureRegistry.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/AddJslInfoVariableProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/AddJslLoadedVariableProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/AddOnloadFunctionProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/AnonFuncWrappingProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/CajaJsSubtractingProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/CompilationProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/ConfigInjectionProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/DefaultJsProcessorRegistry.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/DefaultJsServingPipeline.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/ExportJsProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/GetJsContentProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/IfModifiedSinceProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/JsContent.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/JsException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/JsGadgetContext.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/JsLoadProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/JsProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/JsProcessorRegistry.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/JsRequest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/JsRequestBuilder.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/JsResponse.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/JsResponseBuilder.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/JsServingPipeline.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/JsServingPipelineModule.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/SeparatorCommentingProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/image/JpegImageUtils.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/js/DefaultJsCompiler.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/js/JsCompiler.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ETagFilter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ETaggingHttpResponse.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ModuleCache.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ModuleCacheKey.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ModuleCacheKeys.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/RpcSwfServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java15/org/apache/shindig/gadgets/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java15/org/apache/shindig/gadgets/js/JsCompilerModule.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java16/org/apache/shindig/gadgets/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/java/gadgets/src/main/java16/org/apache/shindig/gadgets/js/JsCompilerModule.java
------------------------------------------------------------------------------
    svn:eol-style = native