Author: navssurtani
Date: 2008-06-23 04:03:03 -0400 (Mon, 23 Jun 2008)
New Revision: 6006
Added:
searchable/trunk/src/test/java/org/jboss/cache/search/NodeModifiedTransactionContextTest.java
searchable/trunk/src/test/java/org/jboss/cache/search/SearchableCacheFactoryTest.java
searchable/trunk/src/test/java/org/jboss/cache/search/SearchableListenerTest.java
Modified:
searchable/trunk/src/test/java/org/jboss/cache/search/BlackBoxTest.java
Log:
Javadocced stuff.
Modified: searchable/trunk/src/test/java/org/jboss/cache/search/BlackBoxTest.java
===================================================================
--- searchable/trunk/src/test/java/org/jboss/cache/search/BlackBoxTest.java 2008-06-20
01:27:44 UTC (rev 6005)
+++ searchable/trunk/src/test/java/org/jboss/cache/search/BlackBoxTest.java 2008-06-23
08:03:03 UTC (rev 6006)
@@ -22,8 +22,8 @@
sc.put(Fqn.fromString("/a/b/c"), "Navin", p1);
// try and search for navin
- // TODO: Create a dummy lucene query
- //sc.createQuery(new LQ)
+ // TODO: Create a dummy lucene query
+ //sc.createQuery(new Query);
// TODO: Test should search on name, as well as blurb. Try both cases.
// TODO: Also test with stuff in different Fqns.
// TODO; test if the indexes get updated. Try changing the values of a Person
object and put it back in the cache.
Added:
searchable/trunk/src/test/java/org/jboss/cache/search/NodeModifiedTransactionContextTest.java
===================================================================
---
searchable/trunk/src/test/java/org/jboss/cache/search/NodeModifiedTransactionContextTest.java
(rev 0)
+++
searchable/trunk/src/test/java/org/jboss/cache/search/NodeModifiedTransactionContextTest.java 2008-06-23
08:03:03 UTC (rev 6006)
@@ -0,0 +1,8 @@
+package org.jboss.cache.search;
+
+/**
+ * @author Navin Surtani - navin(a)surtani.org
+ */
+public class NodeModifiedTransactionContextTest
+{
+}
Added:
searchable/trunk/src/test/java/org/jboss/cache/search/SearchableCacheFactoryTest.java
===================================================================
--- searchable/trunk/src/test/java/org/jboss/cache/search/SearchableCacheFactoryTest.java
(rev 0)
+++
searchable/trunk/src/test/java/org/jboss/cache/search/SearchableCacheFactoryTest.java 2008-06-23
08:03:03 UTC (rev 6006)
@@ -0,0 +1,28 @@
+package org.jboss.cache.search;
+
+import org.jboss.cache.Cache;
+import org.testng.annotations.Test;
+
+import java.util.Properties;
+
+/**
+ * @author Navin Surtani - navin(a)surtani.org
+ */
+
+@Test
+public class SearchableCacheFactoryTest
+{
+
+ private Cache cache;
+ private Properties properties;
+ private Class[] classes;
+ private SearchableCacheFactory scf = new SearchableCacheFactory();
+
+ public void testCreateSearchableCache()
+ {
+ cache.start();
+ SearchableCache sc = scf.createSearchableCache(cache, properties, classes);
+
+ }
+
+}
Added: searchable/trunk/src/test/java/org/jboss/cache/search/SearchableListenerTest.java
===================================================================
--- searchable/trunk/src/test/java/org/jboss/cache/search/SearchableListenerTest.java
(rev 0)
+++
searchable/trunk/src/test/java/org/jboss/cache/search/SearchableListenerTest.java 2008-06-23
08:03:03 UTC (rev 6006)
@@ -0,0 +1,14 @@
+package org.jboss.cache.search;
+
+import org.testng.annotations.Test;
+
+/**
+ * @author Navin Surtani - navin(a)surtani.org
+ */
+
+@Test
+public class SearchableListenerTest
+{
+
+
+}
Show replies by date