001    /*
002     * Licensed to the Apache Software Foundation (ASF) under one or more
003     * contributor license agreements.  See the NOTICE file distributed with
004     * this work for additional information regarding copyright ownership.
005     * The ASF licenses this file to You under the Apache License, Version 2.0
006     * (the "License"); you may not use this file except in compliance with
007     * the License.  You may obtain a copy of the License at
008     *
009     *      http://www.apache.org/licenses/LICENSE-2.0
010     *
011     * Unless required by applicable law or agreed to in writing, software
012     * distributed under the License is distributed on an "AS IS" BASIS,
013     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014     * See the License for the specific language governing permissions and
015     * limitations under the License.
016     */
017    package org.apache.commons.net.pop3;
018    
019    import junit.framework.Test;
020    import junit.framework.TestSuite;
021    
022    /** 
023     * @author <a href="mailto:commons-dev@apache.org">[Net]</a>
024     * @version $Id: AllTests.java 658518 2008-05-21 01:04:30Z sebb $
025     *
026     * The POP3* tests all presume the existence of the following parameters:
027     *   mailserver: localhost (running on the default port 110)
028     *   account: username=test; password=password
029     *   account: username=alwaysempty; password=password.
030     *   mail: At least four emails in the test account and zero emails
031     *         in the alwaysempty account
032     *
033     * If this won't work for you, you can change these parameters in the
034     * TestSetupParameters class.
035     *
036     * The tests were originally run on a default installation of James.
037     * Your mileage may vary based on the POP3 server you run the tests against.
038     * Some servers are more standards-compliant than others.
039     */
040    public class AllTests {
041    
042        public static Test suite() {
043            TestSuite suite =
044                new TestSuite("Test for org.apache.commons.net.pop3");
045            //$JUnit-BEGIN$
046            suite.addTest(POP3ConstructorTest.suite());
047            suite.addTest(POP3ClientTest.suite());
048            suite.addTest(POP3ClientCommandsTest.suite());
049            //$JUnit-END$
050            return suite;
051        }
052    }