/**
 * This file is part of the Meeds project (https://meeds.io/).
 *
 * Copyright (C) 2020 - 2025 Meeds Association contact@meeds.io
 *
 * This program 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 3 of the License, or (at your option) any later version.
 * This program 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.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 */
package org.gatein.pc.test.portlet.jsr168.tck.portletinterface;

public class PortletInterfaceTestSuite
{
   public static void suite()
   {
//      TestSuite suite = new TestSuite("test-jsr168-portletinterface.war");
//
//      //SPEC:4 Testable=true Section=PLT.5.2.2
//      suite.addTest(new TestCase("InitializeBeforeHandle"));
//
//      /**
//       * SPEC:5 Testable=true Section=PLT.5.2.2.1
//       * SPEC:6 Testable=true Section=PLT.5.2.2.1
//       * SPEC:8 Testable=true Section=PLT.5.2.2.1
//       * This case is based on:
//       * - PortletExceptionDuringInitPortlet
//       * - RuntimeExceptionDuringInitPortlet
//       * - UnavailableExceptionDuringInitPortlet
//       */
//      suite.addTest(new TestCase("ExceptionsOnInit"));
//
//      /**
//       * SPEC:7 Testable=true Section=PLT.5.2.2.1
//       * POSTPONED
//       */
//
//      /**
//       * SPEC:9 Testable=true Section=PLT 5.2.4
//       */
//      suite.addTest(new TestCase("InvokeActionFirst"));
//
//      /**
//       * SPEC:10 Testable=true Section=PLT 5.2.4
//       */
//      suite.addTest(new TestCase("InvokeRenderAfterActionURL"));
//
//      /**
//       * SPEC:11 Testable=true Section=PLT 5.2.4
//       */
//      suite.addTest(new TestCase("InvokeRenderAfterRenderURL"));
//
//      /**
//       * SPEC:12 Testable= true Section=PLT.5.2.4.1
//       */
//      suite.addTest(new TestCase("SendRedirectDuringAction"));
//
//      /**
//       * SPEC:13 Testable= true Section=PLT.5.2.4.2.1
//       * SPEC:14 Testable= true Section=PLT.5.2.4.2.1
//       * SPEC:15 Testable= true Section=PLT.5.2.4.2.1
//       * -----> Tested in SPEC:36
//       * - portletmode/spec/RequestDispatchingDependingOnModePortlet (SPEC:36)
//       */
//
//      /**
//       * SPEC:16 Testable=true Section=PLT 5.2.4.2.1
//       * - MinimizedStateDontRenderPortlet
//       */
//      suite.addTest(new TestCase("MinimizedStateDontRenderPortlet"));
//
//      /**
//       * SPEC:17 Testable=true Section=PLT.5.2.4.4
//       * SPEC:18 Testable=false Section=PLT.5.2.4.4
//       * SPEC:19 Testable=true Section=PLT.5.2.4.4
//       * This case is based on:
//       * - ExceptionsDuringRequestHandlingControllerPortlet
//       * - PortletExceptionDuringRequestHandlingPortlet
//       * - RuntimeExceptionDuringRequestHandlingPortlet
//       * - UnavailableExceptionDuringProcessActionPortlet
//       * - UnavailableExceptionDuringRenderPortlet
//       *
//       * This test is disabled. Specification doesn't defined strictly portal behaviour when
//       * one of the portlets throws PortletException. Currently in GateIn if one portlet
//       * throws an PortletException than the rest of portlet of the page is not rendered - code 500
//       * is returned. Tests are based on different behaviour where rest of portlets are rendered.
//       */
//      /////suite.addTest(new PortletTestCase("ExceptionsDuringRequestHandlingPortlet"));
//
//
//      return suite;
   }
}
