- From: Hiep Duong via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 28 Nov 2007 16:08:40 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/org/w3c/unicorn/tests
In directory hutz:/tmp/cvs-serv4706/org/w3c/unicorn/tests
Modified Files:
HiepTest.java
Log Message:
Index: HiepTest.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/tests/HiepTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- HiepTest.java 28 Nov 2007 09:00:27 -0000 1.1
+++ HiepTest.java 28 Nov 2007 16:08:38 -0000 1.2
@@ -13,19 +13,21 @@
public class HiepTest {
public static void main(String[] args) {
- Map<String, String[]> mapOfParameter = new LinkedHashMap<String, String[]>();
-
+
+ /*
// lang par defaut
+ Map<String, String[]> mapOfParameter = new LinkedHashMap<String, String[]>();
String[] tmp = {"en"};
mapOfParameter.put("ucn_lang", tmp);
+ aUnicornCall.setMapOfStringParameter(mapOfParameter);
+ */
UnicornCall aUnicornCall = new UnicornCall();
- aUnicornCall.setTask("markup"); //task id
+ aUnicornCall.setTask("conformance"); //task id
aUnicornCall.setEnumInputMethod(EnumInputMethod.URI);
aUnicornCall.setDocumentName("http://w3.org");
- aUnicornCall.setMapOfStringParameter(mapOfParameter);
aUnicornCall.setInputParameterValue("http://w3.org");
-
+ aUnicornCall.setLang("en");
try {
aUnicornCall.doTask();
Received on Wednesday, 28 November 2007 16:08:50 UTC