// Path: com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/CmsCalendar.java
// public class CmsCalendar {
// 
//     /** Contains the configured calendar entries. */
//     private List m_entries;
// 
//     /**
//      * Default constructor, creates an empty calendar without entries.<p>
//      */
//     public CmsCalendar() {
// 
//         m_entries = new ArrayList();
//     }
// 
//     /**
//      * Constructor with parameter, creates a calendar with provided list of entries.<p>
//      * 
//      * @param entries the list of entries for the calendar day
//      */
//     public CmsCalendar(List entries) {
// 
//         m_entries = entries;
//     }
// 
//     /**
//      * Adds a calendar entry to the list of entries for the day.<p>
//      * 
//      * @param entry the calendar entry to add
//      */
//     public void addEntry(CmsCalendarEntry entry) {
// 
//         m_entries.add(entry);
//     }
// 
//     /**
//      * Returns all calendar entries.<p>
//      * 
//      * @return all calendar entries
//      */
//     public List getEntries() {
// 
//         return m_entries;
//     }
// 
//     /**
//      * Returns the entries for the given calendar view, sorted by the view's sort method.<p>
//      * 
//      * @param calendarView the given calendar view
//      * 
//      * @return the matching entries for the calendar view
//      */
//     public List getEntries(I_CmsCalendarView calendarView) {
// 
//         List result = new ArrayList();
// 
//         for (int i = 0; i < m_entries.size(); i++) {
//             CmsCalendarEntry entry = (CmsCalendarEntry)m_entries.get(i);
//             List matchedEntries = entry.matchCalendarView(calendarView);
//             if (matchedEntries.size() > 0) {
//                 // add matching entries to result list
//                 result.addAll(matchedEntries);
//             }
//         }
// 
//         // sort the result using the view's sort method
//         calendarView.sort(result);
// 
//         return result;
//     }
// 
//     /**
//      * Sets the sorted list of entries for the calendar day.<p>
//      * 
//      * The list has to be created using {@link CmsCalendarEntry} objects.<p>
//      * 
//      * @param entries the list of entries for the calendar day
//      */
//     public void setEntries(List entries) {
// 
//         m_entries = entries;
//     }
// 
// }


import com.alkacon.opencms.v8.calendar.CmsCalendar;
import org.opencms.test.OpenCmsTestProperties;
import junit.framework.Test;
import junit.framework.TestSuite;
/*
 * File   : $Source: /alkacon/cvs/alkacon/com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/test/AllTests.java,v $
 * Date   : $Date: 2008/04/25 14:50:41 $
 * Version: $Revision: 1.1 $
 *
 * This library is part of OpenCms -
 * the Open Source Content Management System
 *
 * Copyright (c) 2002 - 2007 Alkacon Software GmbH (http://www.alkacon.com)
 *
 * This library 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 library 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.
 *
 * For further information about Alkacon Software GmbH, please see the
 * company website: http://www.alkacon.com
 *
 * For further information about OpenCms, please see the
 * project website: http://www.opencms.org
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

package com.alkacon.opencms.v8.calendar.test;




/**
 * Main test suite for the package <code>{@link com.alkacon.opencms.v8.calendar}</code>.<p>
 * 
 * @author Andreas Zahner
 * 
 * @version $Revision: 1.1 $ 
 * 
 * @since 6.0.1 
 */
public final class AllTests {

    /**
     * Hide constructor to prevent generation of class instances.<p>
     */
    private AllTests() {

        // empty
    }

    /**
     * Returns the JUnit test suite for this package.<p>
     * 
     * @return the JUnit test suite for this package
     */
    public static Test suite() {

        TestSuite suite = new TestSuite("Tests for package " + CmsCalendar.class.getPackage().getName());
        OpenCmsTestProperties.initialize(org.opencms.test.AllTests.TEST_PROPERTIES_PATH);
        //$JUnit-BEGIN$
        suite.addTest(TestCalendarDailyView.suite());
        suite.addTest(TestCalendarDisplay.suite());
// Path: com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/CmsCalendar.java
// public class CmsCalendar {
// 
//     /** Contains the configured calendar entries. */
//     private List m_entries;
// 
//     /**
//      * Default constructor, creates an empty calendar without entries.<p>
//      */
//     public CmsCalendar() {
// 
//         m_entries = new ArrayList();
//     }
// 
//     /**
//      * Constructor with parameter, creates a calendar with provided list of entries.<p>
//      * 
//      * @param entries the list of entries for the calendar day
//      */
//     public CmsCalendar(List entries) {
// 
//         m_entries = entries;
//     }
// 
//     /**
//      * Adds a calendar entry to the list of entries for the day.<p>
//      * 
//      * @param entry the calendar entry to add
//      */
//     public void addEntry(CmsCalendarEntry entry) {
// 
//         m_entries.add(entry);
//     }
// 
//     /**
//      * Returns all calendar entries.<p>
//      * 
//      * @return all calendar entries
//      */
//     public List getEntries() {
// 
//         return m_entries;
//     }
// 
//     /**
//      * Returns the entries for the given calendar view, sorted by the view's sort method.<p>
//      * 
//      * @param calendarView the given calendar view
//      * 
//      * @return the matching entries for the calendar view
//      */
//     public List getEntries(I_CmsCalendarView calendarView) {
// 
//         List result = new ArrayList();
// 
//         for (int i = 0; i < m_entries.size(); i++) {
//             CmsCalendarEntry entry = (CmsCalendarEntry)m_entries.get(i);
//             List matchedEntries = entry.matchCalendarView(calendarView);
//             if (matchedEntries.size() > 0) {
//                 // add matching entries to result list
//                 result.addAll(matchedEntries);
//             }
//         }
// 
//         // sort the result using the view's sort method
//         calendarView.sort(result);
// 
//         return result;
//     }
// 
//     /**
//      * Sets the sorted list of entries for the calendar day.<p>
//      * 
//      * The list has to be created using {@link CmsCalendarEntry} objects.<p>
//      * 
//      * @param entries the list of entries for the calendar day
//      */
//     public void setEntries(List entries) {
// 
//         m_entries = entries;
//     }
// 
// }


// Path: com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/test/AllTests.java
import com.alkacon.opencms.v8.calendar.CmsCalendar;
import org.opencms.test.OpenCmsTestProperties;
import junit.framework.Test;
import junit.framework.TestSuite;

/*
 * File   : $Source: /alkacon/cvs/alkacon/com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/test/AllTests.java,v $
 * Date   : $Date: 2008/04/25 14:50:41 $
 * Version: $Revision: 1.1 $
 *
 * This library is part of OpenCms -
 * the Open Source Content Management System
 *
 * Copyright (c) 2002 - 2007 Alkacon Software GmbH (http://www.alkacon.com)
 *
 * This library 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 library 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.
 *
 * For further information about Alkacon Software GmbH, please see the
 * company website: http://www.alkacon.com
 *
 * For further information about OpenCms, please see the
 * project website: http://www.opencms.org
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

package com.alkacon.opencms.v8.calendar.test;




/**
 * Main test suite for the package <code>{@link com.alkacon.opencms.v8.calendar}</code>.<p>
 * 
 * @author Andreas Zahner
 * 
 * @version $Revision: 1.1 $ 
 * 
 * @since 6.0.1 
 */
public final class AllTests {

    /**
     * Hide constructor to prevent generation of class instances.<p>
     */
    private AllTests() {

        // empty
    }

    /**
     * Returns the JUnit test suite for this package.<p>
     * 
     * @return the JUnit test suite for this package
     */
    public static Test suite() {

        TestSuite suite = new TestSuite("Tests for package " + CmsCalendar.class.getPackage().getName());
        OpenCmsTestProperties.initialize(org.opencms.test.AllTests.TEST_PROPERTIES_PATH);
        //$JUnit-BEGIN$
        suite.addTest(TestCalendarDailyView.suite());
        suite.addTest(TestCalendarDisplay.suite());
        suite.addTest(TestCalendarSerialDateProperties.suite());