You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by rd...@apache.org on 2008/08/24 19:33:48 UTC
svn commit: r688536 - in
/james/server/trunk/phoenix-deployment/src/test/org/apache/james/imapserver:
./ TestConstants.java mock/ mock/MailboxManagerProviderSingleton.java
Author: rdonkin
Date: Sun Aug 24 10:33:48 2008
New Revision: 688536
URL: http://svn.apache.org/viewvc?rev=688536&view=rev
Log:
Added back files wrongly deleted
Added:
james/server/trunk/phoenix-deployment/src/test/org/apache/james/imapserver/
james/server/trunk/phoenix-deployment/src/test/org/apache/james/imapserver/TestConstants.java
james/server/trunk/phoenix-deployment/src/test/org/apache/james/imapserver/mock/
james/server/trunk/phoenix-deployment/src/test/org/apache/james/imapserver/mock/MailboxManagerProviderSingleton.java
Added: james/server/trunk/phoenix-deployment/src/test/org/apache/james/imapserver/TestConstants.java
URL: http://svn.apache.org/viewvc/james/server/trunk/phoenix-deployment/src/test/org/apache/james/imapserver/TestConstants.java?rev=688536&view=auto
==============================================================================
--- james/server/trunk/phoenix-deployment/src/test/org/apache/james/imapserver/TestConstants.java (added)
+++ james/server/trunk/phoenix-deployment/src/test/org/apache/james/imapserver/TestConstants.java Sun Aug 24 10:33:48 2008
@@ -0,0 +1,37 @@
+/****************************************************************
+ * 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.imapserver;
+
+public interface TestConstants
+{
+ final static String USER_NAME="tuser";
+ //final static String USER_MAILBOX_ROOT=ImapConstants.USER_NAMESPACE+"."+USER_NAME;
+// final static String USER_INBOX=USER_MAILBOX_ROOT+".INBOX";
+
+ final static String USER_PASSWORD="abc";
+ final static String USER_REALNAME="Test User";
+
+ final static String HOST_NAME="localhost";
+ final static String HOST_ADDRESS="127.0.0.1";
+ final static int HOST_PORT=10143;
+
+
+
+}
Added: james/server/trunk/phoenix-deployment/src/test/org/apache/james/imapserver/mock/MailboxManagerProviderSingleton.java
URL: http://svn.apache.org/viewvc/james/server/trunk/phoenix-deployment/src/test/org/apache/james/imapserver/mock/MailboxManagerProviderSingleton.java?rev=688536&view=auto
==============================================================================
--- james/server/trunk/phoenix-deployment/src/test/org/apache/james/imapserver/mock/MailboxManagerProviderSingleton.java (added)
+++ james/server/trunk/phoenix-deployment/src/test/org/apache/james/imapserver/mock/MailboxManagerProviderSingleton.java Sun Aug 24 10:33:48 2008
@@ -0,0 +1,34 @@
+/****************************************************************
+ * 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.imapserver.mock;
+
+import org.apache.james.mailboxmanager.manager.MailboxManagerProvider;
+import org.apache.james.mailboxmanager.mock.TorqueMailboxManagerProviderSingleton;
+
+public class MailboxManagerProviderSingleton {
+
+ public synchronized static MailboxManagerProvider getMailboxManagerProviderInstance() throws Exception {
+ return TorqueMailboxManagerProviderSingleton.getTorqueMailboxManagerProviderInstance();
+ }
+
+ public synchronized static void reset() throws Exception {
+ TorqueMailboxManagerProviderSingleton.reset();
+ }
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org