Author: ieugen
Date: Sun Sep 4 09:04:34 2011
New Revision: 1164979
URL: http://svn.apache.org/viewvc?rev=1164979&view=rev
Log:
Added integration tests for HBase mailbox implementation. Please see
https://issues.apache.org/jira/browse/MAILBOX-44.
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/host/
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/host/HBaseHostSystem.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/AuthenticatedStateTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/ConcurrentSessionsTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/EventTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/ExpungeTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchBodySectionTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchBodyStructureTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchHeadersTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/ListingTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/NonAuthenticatedStateTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/PartialFetchTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/RenameTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SearchTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SecurityTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SelectTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SelectedInboxTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SelectedStateTest.java
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/UidSearchTest.java
Modified:
james/mailbox-integration-tester/trunk/pom.xml
Modified: james/mailbox-integration-tester/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/pom.xml?rev=1164979&r1=1164978&r2=1164979&view=diff
==============================================================================
--- james/mailbox-integration-tester/trunk/pom.xml (original)
+++ james/mailbox-integration-tester/trunk/pom.xml Sun Sep 4 09:04:34 2011
@@ -29,6 +29,12 @@
<name>Apache James Mailbox Integration Tester</name>
<properties>
+ <hbase.version>0.90.3</hbase.version>
+ <hadoop.version>0.20-append-r1057313</hadoop.version>
+ <commons-io.version>2.0.1</commons-io.version>
+ <junit.version>4.8.2</junit.version>
+ <log4j.version>1.2.16</log4j.version>
+ <slf4j.version>1.6.1</slf4j.version>
<javax.mail.groupId>javax.mail</javax.mail.groupId>
<javax.mail.artifactId>mail</javax.mail.artifactId>
<version.james-imap>0.3-SNAPSHOT</version.james-imap>
@@ -36,6 +42,19 @@
<version.javax.mail>1.4.1</version.javax.mail>
<target.jdk>1.6</target.jdk>
</properties>
+ <repositories>
+ <repository>
+ <id>hadoop-non-releases</id>
+ <name>Hadoop non-releases</name>
+ <url>http://people.apache.org/~rawson/repo/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ </repositories>
<profiles>
<profile>
@@ -182,6 +201,29 @@
<artifactId>slf4j-simple</artifactId>
<version>1.6.1</version>
</dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>apache-james-mailbox-hbase</artifactId>
+ <version>0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>apache-james-mailbox-hbase</artifactId>
+ <version>0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase</artifactId>
+ <version>${hbase.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-test</artifactId>
+ <version>0.20-append-r1057313</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/host/HBaseHostSystem.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/host/HBaseHostSystem.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/host/HBaseHostSystem.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/host/HBaseHostSystem.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,133 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+package org.apache.james.mailbox.hbase.host;
+
+import java.io.File;
+import org.apache.commons.io.FileUtils;
+import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.hbase.HBaseConfiguration;
+import org.apache.hadoop.hbase.HBaseTestingUtility;
+import org.apache.hadoop.hbase.MiniHBaseCluster;
+import org.apache.james.imap.encode.main.DefaultImapEncoderFactory;
+import org.apache.james.imap.main.DefaultImapDecoderFactory;
+import org.apache.james.imap.api.process.ImapProcessor;
+import org.apache.james.imap.processor.main.DefaultImapProcessorFactory;
+import org.apache.james.imap.tester.ImapHostSystem;
+import org.apache.james.imap.tester.base.HostSystem;
+import org.apache.james.mailbox.MailboxSession;
+import org.apache.james.mailbox.SubscriptionManager;
+import org.apache.james.mailbox.hbase.HBaseMailboxManager;
+import org.apache.james.mailbox.hbase.HBaseMailboxSessionMapperFactory;
+import org.apache.james.mailbox.hbase.mail.HBaseModSeqProvider;
+import org.apache.james.mailbox.hbase.mail.HBaseUidProvider;
+import org.apache.james.mailbox.store.MockAuthenticator;
+import org.apache.james.mailbox.store.StoreSubscriptionManager;
+import org.slf4j.LoggerFactory;
+
+public class HBaseHostSystem extends ImapHostSystem {
+
+ public static final String META_DATA_DIRECTORY = "target/user-meta-data";
+ public static HBaseHostSystem host = null;
+ /** Set this to false if you wish to test it against a real cluster.
+ * In that case you should provide the configuration file for the real
+ * cluster on the classpath.
+ */
+ public static Boolean useMiniCluster = true;
+
+ private final HBaseMailboxManager mailboxManager;
+ private final MockAuthenticator userManager;
+ private MiniHBaseCluster hbaseCluster;
+ private Configuration conf;
+
+ public static synchronized HostSystem build() throws Exception {
+ if (host == null) {
+ host = new HBaseHostSystem(useMiniCluster);
+ }
+ return host;
+ }
+
+ public HBaseHostSystem(boolean useMiniCluster) throws Exception {
+ if (useMiniCluster) {
+ HBaseTestingUtility htu = new HBaseTestingUtility();
+ htu.getConfiguration().setBoolean("dfs.support.append", true);
+ try {
+ hbaseCluster = htu.startMiniCluster();
+ conf = hbaseCluster.getConfiguration();
+ } catch (Exception e) {
+ throw new Exception("Error starting MiniCluster ", e);
+ }
+ } else {
+ conf = HBaseConfiguration.create();
+ }
+
+ userManager = new MockAuthenticator();
+
+ final HBaseModSeqProvider modSeqProvider = new
HBaseModSeqProvider(conf);
+ final HBaseUidProvider uidProvider = new HBaseUidProvider(conf);
+
+ final HBaseMailboxSessionMapperFactory mapperFactory = new
HBaseMailboxSessionMapperFactory(
+ conf, uidProvider, modSeqProvider);
+ mailboxManager = new HBaseMailboxManager(mapperFactory, userManager);
+ mailboxManager.init();
+
+ SubscriptionManager subscriptionManager = new
StoreSubscriptionManager(mapperFactory);
+
+ final ImapProcessor defaultImapProcessorFactory =
DefaultImapProcessorFactory.createDefaultProcessor(mailboxManager,
subscriptionManager);
+
+ resetUserMetaData();
+
+ configure(new DefaultImapDecoderFactory().buildImapDecoder(),
+ new DefaultImapEncoderFactory().buildImapEncoder(),
+ defaultImapProcessorFactory);
+ }
+
+ @Override
+ protected void resetData() throws Exception {
+ resetUserMetaData();
+ MailboxSession session = mailboxManager.createSystemSession("test",
LoggerFactory.getLogger("TestLog"));
+ mailboxManager.startProcessingRequest(session);
+ mailboxManager.deleteEverything(session);
+ mailboxManager.endProcessingRequest(session);
+ mailboxManager.logout(session, false);
+ }
+
+ @Override
+ public boolean addUser(String user, String password) {
+ userManager.addUser(user, password);
+ return true;
+ }
+
+ public final void resetUserMetaData() throws Exception {
+ File dir = new File(META_DATA_DIRECTORY);
+ if (dir.exists()) {
+ FileUtils.deleteDirectory(dir);
+ }
+ dir.mkdirs();
+ }
+
+ @Override
+ protected void finalize() throws Throwable {
+ super.finalize();
+ if (useMiniCluster) {
+ if (hbaseCluster != null) {
+ hbaseCluster.shutdown();
+ }
+ }
+ }
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/AuthenticatedStateTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/AuthenticatedStateTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/AuthenticatedStateTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/AuthenticatedStateTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,29 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.AuthenticatedState;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class AuthenticatedStateTest extends AuthenticatedState{
+
+ public AuthenticatedStateTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/ConcurrentSessionsTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/ConcurrentSessionsTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/ConcurrentSessionsTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/ConcurrentSessionsTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,32 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.ConcurrentSessions;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class ConcurrentSessionsTest extends
+ ConcurrentSessions {
+
+ public ConcurrentSessionsTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/EventTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/EventTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/EventTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/EventTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,31 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.Events;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class EventTest extends Events {
+
+ public EventTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/ExpungeTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/ExpungeTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/ExpungeTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/ExpungeTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,31 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.Expunge;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class ExpungeTest extends Expunge {
+
+ public ExpungeTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchBodySectionTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchBodySectionTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchBodySectionTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchBodySectionTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,32 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.FetchBodySection;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class FetchBodySectionTest extends
+ FetchBodySection {
+
+ public FetchBodySectionTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchBodyStructureTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchBodyStructureTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchBodyStructureTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchBodyStructureTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,32 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.FetchBodyStructure;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class FetchBodyStructureTest extends
+ FetchBodyStructure {
+
+ public FetchBodyStructureTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchHeadersTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchHeadersTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchHeadersTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchHeadersTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,31 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.FetchHeaders;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class FetchHeadersTest extends FetchHeaders {
+
+ public FetchHeadersTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/FetchTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,30 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.Fetch;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class FetchTest extends Fetch {
+
+ public FetchTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/ListingTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/ListingTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/ListingTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/ListingTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,31 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.Listing;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class ListingTest extends Listing {
+
+ public ListingTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/NonAuthenticatedStateTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/NonAuthenticatedStateTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/NonAuthenticatedStateTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/NonAuthenticatedStateTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,31 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.NonAuthenticatedState;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class NonAuthenticatedStateTest extends
+ NonAuthenticatedState {
+
+ public NonAuthenticatedStateTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/PartialFetchTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/PartialFetchTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/PartialFetchTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/PartialFetchTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,31 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.PartialFetch;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class PartialFetchTest extends PartialFetch {
+
+ public PartialFetchTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/RenameTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/RenameTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/RenameTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/RenameTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,31 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.Rename;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class RenameTest extends Rename {
+
+ public RenameTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SearchTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SearchTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SearchTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SearchTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,30 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.Search;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class SearchTest extends Search {
+
+ public SearchTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SecurityTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SecurityTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SecurityTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SecurityTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,31 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.Security;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class SecurityTest extends Security {
+
+ public SecurityTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SelectTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SelectTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SelectTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SelectTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,31 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.Select;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class SelectTest extends Select {
+
+ public SelectTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SelectedInboxTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SelectedInboxTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SelectedInboxTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SelectedInboxTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,30 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.SelectedInbox;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class SelectedInboxTest extends SelectedInbox {
+
+ public SelectedInboxTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SelectedStateTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SelectedStateTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SelectedStateTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/SelectedStateTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,30 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.SelectedState;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class SelectedStateTest extends SelectedState {
+
+ public SelectedStateTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+}
Added:
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/UidSearchTest.java
URL:
http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/UidSearchTest.java?rev=1164979&view=auto
==============================================================================
---
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/UidSearchTest.java
(added)
+++
james/mailbox-integration-tester/trunk/src/test/java/org/apache/james/mailbox/hbase/imap/UidSearchTest.java
Sun Sep 4 09:04:34 2011
@@ -0,0 +1,30 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
+package org.apache.james.mailbox.hbase.imap;
+
+import org.apache.james.imap.tester.suite.UidSearch;
+import org.apache.james.mailbox.hbase.host.HBaseHostSystem;
+
+public class UidSearchTest extends UidSearch {
+
+ public UidSearchTest() throws Exception {
+ super(HBaseHostSystem.build());
+ }
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]