unicorn commit: + cacheability checker to custom task

changeset:   1364:aa4c832849b3
user:        Thomas Gambet <tgambet@w3.org>
date:        Tue Jul 27 17:30:22 2010 -0400
files:       WebContent/WEB-INF/resources/tasklist/tasklist.xml
description:
+ cacheability checker to custom task


diff -r b24e33fe365a -r aa4c832849b3 WebContent/WEB-INF/resources/tasklist/tasklist.xml
--- a/WebContent/WEB-INF/resources/tasklist/tasklist.xml	Tue Jul 27 17:30:05 2010 -0400
+++ b/WebContent/WEB-INF/resources/tasklist/tasklist.xml	Tue Jul 27 17:30:22 2010 -0400
@@ -266,6 +266,9 @@
 			<cond id="param_feed" result="passed" type="parameter" parameter="tests">
 				<value>feed</value>
 			</cond>
+			<cond id="param_http" result="passed" type="parameter" parameter="tests">
+				<value>http</value>
+			</cond>
 		</conds>
 
 		<routine>
@@ -284,6 +287,9 @@
 			<if test="param_feed">
 				<then><exec id="feed" value="feed" type="observation" /></then>
 			</if>
+			<if test="param_http">
+				<then><exec id="cacheability" value="cacheability" type="observation" /></then>
+			</if>
 		</routine>
 
 		<parameters>
@@ -292,7 +298,8 @@
 				<value name="css-validator"></value>
 				<value name="appc-checker"></value>
         		<value name="mobileok"></value>
-        		<value name="feed"></value>
+				<value name="feed"></value>
+				<value name="http"></value>
 			</parameter>
 			<parameter name="profile" type="dropdown" ui="advanced" observer="css-validator" default="css21"/>
 			<parameter name="warning" type="dropdown" ui="advanced" observer="css-validator" default="2"/>
@@ -306,6 +313,7 @@
 				<observation>css-validator</observation>
         		<observation>mobileok</observation>
         		<observation>feed</observation>
+        		<observation>cacheability</observation>
 			</group>
 		</output>
 	</task>

Received on Tuesday, 27 July 2010 21:30:53 UTC