Author: areshetnyak
Date: 2009-11-09 09:43:13 -0500 (Mon, 09 Nov 2009)
New Revision: 515
Added:
jcr/branches/1.12.0-JBC/component/core/src/test/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCWorkspaceDataContainerTester.java
Modified:
jcr/branches/1.12.0-JBC/component/core/src/test/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCCacheLoaderTest.java
Log:
EXOJCR-201 : test JDBCCacheLoadetTest.
Modified:
jcr/branches/1.12.0-JBC/component/core/src/test/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCCacheLoaderTest.java
===================================================================
---
jcr/branches/1.12.0-JBC/component/core/src/test/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCCacheLoaderTest.java 2009-11-09
14:38:12 UTC (rev 514)
+++
jcr/branches/1.12.0-JBC/component/core/src/test/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCCacheLoaderTest.java 2009-11-09
14:43:13 UTC (rev 515)
@@ -1,3 +1,21 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * 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.
+ */
package org.exoplatform.services.jcr.impl.storage.jbosscache;
import java.io.Serializable;
@@ -2,13 +20,4 @@
-import javax.jcr.RepositoryException;
-
-import org.exoplatform.services.jcr.impl.storage.WorkspaceDataContainerBase;
import org.exoplatform.services.jcr.storage.WorkspaceDataContainer;
-import org.exoplatform.services.jcr.storage.WorkspaceStorageConnection;
import org.jboss.cache.CacheSPI;
-import org.jboss.cache.DefaultCacheFactory;
-import org.jboss.cache.Fqn;
-import org.jboss.cache.Node;
-import org.jboss.cache.factories.annotations.NonVolatile;
-import org.picocontainer.Startable;
@@ -55,66 +64,3 @@
}
}
-@NonVolatile
-class JDBCWorkspaceDataContainerTester extends WorkspaceDataContainerBase implements
Startable
-{
-
- public JDBCWorkspaceDataContainerTester()
- {
- }
-
- public void start()
- {
- // TODO Auto-generated method stub
-
- }
-
- public void stop()
- {
- // TODO Auto-generated method stub
-
- }
-
- public boolean isSame(WorkspaceDataContainer another)
- {
- // TODO Auto-generated method stub
- return false;
- }
-
- public WorkspaceStorageConnection openConnection() throws RepositoryException
- {
- // TODO Auto-generated method stub
- return null;
- }
-
- public WorkspaceStorageConnection openConnection(boolean readOnly) throws
RepositoryException
- {
- // TODO Auto-generated method stub
- return null;
- }
-
- public WorkspaceStorageConnection reuseConnection(WorkspaceStorageConnection original)
throws RepositoryException
- {
- // TODO Auto-generated method stub
- return null;
- }
-
- public String getInfo()
- {
- // TODO Auto-generated method stub
- return null;
- }
-
- public String getName()
- {
- // TODO Auto-generated method stub
- return null;
- }
-
- public String getStorageVersion()
- {
- // TODO Auto-generated method stub
- return null;
- }
-
-}
Added:
jcr/branches/1.12.0-JBC/component/core/src/test/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCWorkspaceDataContainerTester.java
===================================================================
---
jcr/branches/1.12.0-JBC/component/core/src/test/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCWorkspaceDataContainerTester.java
(rev 0)
+++
jcr/branches/1.12.0-JBC/component/core/src/test/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCWorkspaceDataContainerTester.java 2009-11-09
14:43:13 UTC (rev 515)
@@ -0,0 +1,91 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * 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.
+ */
+package org.exoplatform.services.jcr.impl.storage.jbosscache;
+
+import javax.jcr.RepositoryException;
+
+import org.exoplatform.services.jcr.impl.storage.WorkspaceDataContainerBase;
+import org.exoplatform.services.jcr.storage.WorkspaceDataContainer;
+import org.exoplatform.services.jcr.storage.WorkspaceStorageConnection;
+import org.jboss.cache.factories.annotations.NonVolatile;
+import org.picocontainer.Startable;
+
+@NonVolatile
+class JDBCWorkspaceDataContainerTester extends WorkspaceDataContainerBase implements
Startable
+{
+
+ public JDBCWorkspaceDataContainerTester()
+ {
+ }
+
+ public void start()
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void stop()
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public boolean isSame(WorkspaceDataContainer another)
+ {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public WorkspaceStorageConnection openConnection() throws RepositoryException
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public WorkspaceStorageConnection openConnection(boolean readOnly) throws
RepositoryException
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public WorkspaceStorageConnection reuseConnection(WorkspaceStorageConnection original)
throws RepositoryException
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public String getInfo()
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public String getName()
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public String getStorageVersion()
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+}
Property changes on:
jcr/branches/1.12.0-JBC/component/core/src/test/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCWorkspaceDataContainerTester.java
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native