test/unit/MLGWTests.java
author cli
Sun, 09 May 2010 12:38:46 +0200
changeset 30 146b3275b792
parent 12 bb6990c0dd1a
permissions -rw-r--r--
The StorageBackendException is catched two times so that the user see the "500 internal server error" only at the second catch (probably fixes #5).
     1 /*
     2  *   SONEWS News Server
     3  *   see AUTHORS for the list of contributors
     4  *
     5  *   This program is free software: you can redistribute it and/or modify
     6  *   it under the terms of the GNU General Public License as published by
     7  *   the Free Software Foundation, either version 3 of the License, or
     8  *   (at your option) any later version.
     9  *
    10  *   This program is distributed in the hope that it will be useful,
    11  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
    12  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    13  *   GNU General Public License for more details.
    14  *
    15  *   You should have received a copy of the GNU General Public License
    16  *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
    17  */
    18 
    19 package test.unit;
    20 
    21 import junit.textui.TestRunner;
    22 import test.util.mlgw.DispatcherTest;
    23 
    24 /**
    25  * Unit tests for package org.sonews.mlgw.
    26  * @author Christian Lins
    27  * @since sonews/1.0.3
    28  */
    29 public class MLGWTests
    30 {
    31 
    32   public static void main(String[] args)
    33   {
    34     System.out.println("DispatcherTest");
    35     TestRunner.run(DispatcherTest.class);
    36   }
    37 
    38 }