r1039 - xwiki/trunk/src/test/java/com/xpn/xwiki/test

Ludovic Dubost ludovic at users.forge.objectweb.org
Sun Apr 9 23:52:54 CEST 2006


Author: ludovic
Date: 2006-04-09 23:52:53 +0200 (Sun, 09 Apr 2006)
New Revision: 1039

Modified:
   xwiki/trunk/src/test/java/com/xpn/xwiki/test/MonitorTest.java
Log:
Fix test in monitortest

Modified: xwiki/trunk/src/test/java/com/xpn/xwiki/test/MonitorTest.java
===================================================================
--- xwiki/trunk/src/test/java/com/xpn/xwiki/test/MonitorTest.java	2006-04-09 21:19:23 UTC (rev 1038)
+++ xwiki/trunk/src/test/java/com/xpn/xwiki/test/MonitorTest.java	2006-04-09 21:52:53 UTC (rev 1039)
@@ -1,25 +1,25 @@
-/*
- * Copyright 2006, XpertNet SARL, and individual contributors as indicated
- * by the contributors.txt.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- *
- * @author vmassol
- * @author sdumitriu
- */
+/*
+ * Copyright 2006, XpertNet SARL, and individual contributors as indicated
+ * by the contributors.txt.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ *
+ * @author vmassol
+ * @author sdumitriu
+ */
 
 package com.xpn.xwiki.test;
 
@@ -108,7 +108,7 @@
         Date time1 = new Date();
         monitordata.startRequest(page, new URL(surl));
         try { Thread.sleep(110);} catch (InterruptedException e) {}
-        monitordata.startTimer("sql");
+        monitordata.startTimer("sql", null);
         try { Thread.sleep(1100);} catch (InterruptedException e) {}
         monitordata.endTimer("sql");
         try { Thread.sleep(100);} catch (InterruptedException e) {}





More information about the Xwiki-notifications mailing list