[jbosscache-commits] JBoss Cache SVN: r6684 - searchable/trunk/src/test/java/org/jboss/cache/search/blackbox.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Wed Sep 3 00:53:03 EDT 2008


Author: navssurtani
Date: 2008-09-03 00:53:02 -0400 (Wed, 03 Sep 2008)
New Revision: 6684

Modified:
   searchable/trunk/src/test/java/org/jboss/cache/search/blackbox/LocalCacheTest.java
Log:
Started profiling

Modified: searchable/trunk/src/test/java/org/jboss/cache/search/blackbox/LocalCacheTest.java
===================================================================
--- searchable/trunk/src/test/java/org/jboss/cache/search/blackbox/LocalCacheTest.java	2008-09-03 03:58:46 UTC (rev 6683)
+++ searchable/trunk/src/test/java/org/jboss/cache/search/blackbox/LocalCacheTest.java	2008-09-03 04:53:02 UTC (rev 6684)
@@ -15,9 +15,7 @@
 import org.jboss.cache.search.SearchableCacheFactory;
 import org.jboss.cache.search.helper.IndexCleanUp;
 import org.jboss.cache.search.test.Person;
-import org.testng.annotations.AfterMethod;
-import org.testng.annotations.BeforeMethod;
-import org.testng.annotations.Test;
+import org.testng.annotations.*;
 
 import java.util.List;
 import java.util.Iterator;
@@ -45,7 +43,7 @@
    String key2 = "BigGoat";
    String key3 = "MiniGoat";
 
-   @BeforeMethod
+   @BeforeTest
    public void setUp()
    {
       Cache coreCache = new DefaultCacheFactory().createCache();
@@ -74,7 +72,7 @@
 
    }
 
-   @AfterMethod
+   @AfterTest
    public void tearDown()
    {
       if (searchableCache != null) searchableCache.stop();
@@ -106,6 +104,7 @@
    }
 
 
+   @Test (invocationCount = 200000)
    public void testMultipleResults() throws ParseException
    {
 




More information about the jbosscache-commits mailing list