You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by to...@apache.org on 2003/10/17 20:10:13 UTC

cvs commit: cocoon-2.1/src/blocks/mail/mocks/javax/mail Store.java

tony        2003/10/17 11:10:13

  Modified:    src/blocks/mail/mocks/javax/mail Store.java
  Log:
  minor updates to the mock objects
  
  Revision  Changes    Path
  1.2       +27 -18    cocoon-2.1/src/blocks/mail/mocks/javax/mail/Store.java
  
  Index: Store.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/mail/mocks/javax/mail/Store.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Store.java	10 Mar 2003 16:35:45 -0000	1.1
  +++ Store.java	17 Oct 2003 18:10:12 -0000	1.2
  @@ -7,24 +7,33 @@
    * @version CVS $Id:
    */
   public class Store {
  -	
  -	public void connect() throws MessagingException {
  -		throw new NoSuchMethodError("This is a mock object");
  -	}
  +    
  +    public void connect() throws MessagingException {
  +        throw new NoSuchMethodError("This is a mock object");
  +    }
   
  -	public boolean isConnected() {
  -		throw new NoSuchMethodError("This is a mock object");
  -	}
  -	
  -	public void close() throws MessagingException {
  -		throw new NoSuchMethodError("This is a mock object");
  -	}
  -	
  -	public Folder getDefaultFolder() throws MessagingException {
  -		throw new NoSuchMethodError("This is a mock object");
  -	}
  +    public boolean isConnected() {
  +        throw new NoSuchMethodError("This is a mock object");
  +    }
  +    
  +    public void close() throws MessagingException {
  +        throw new NoSuchMethodError("This is a mock object");
  +    }
  +    
  +    public Folder getDefaultFolder() throws MessagingException {
  +        throw new NoSuchMethodError("This is a mock object");
  +    }
   
  -	public Folder getFolder(String name) throws MessagingException {
  -		throw new NoSuchMethodError("This is a mock object");
  -	}	
  +    public Folder getFolder(String name) throws MessagingException {
  +        throw new NoSuchMethodError("This is a mock object");
  +    }
  +    
  +    public void connect(String host, String user, String password) {
  +        throw new NoSuchMethodError("This is a mock object");
  +    }
  +
  +    public void connect(String host, int port, String user, String password) {
  +        throw new NoSuchMethodError("This is a mock object");
  +    }
  +    
   }