- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 04 Sep 2009 17:10:01 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/tests In directory hutz:/tmp/cvs-serv3385/src/org/w3c/unicorn/tests Modified Files: UnicornClient.java Log Message: added verification that unicorn is initialized before performing the observation Index: UnicornClient.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/tests/UnicornClient.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- UnicornClient.java 4 Sep 2009 15:49:48 -0000 1.4 +++ UnicornClient.java 4 Sep 2009 17:09:59 -0000 1.5 @@ -67,6 +67,11 @@ Framework.init(); + if (!Framework.isUcnInitialized) { + System.err.println(">> Unicorn is not properly initialized."); + return; + } + UnicornCall aUnicornCall = new UnicornCall(); // parse other parameters: "x2=on,toto=titi" to a
Received on Friday, 4 September 2009 17:10:11 UTC