emailer/src/test/scala/cz/xelfi/quoridor/emailer/MainTest.scala
author Jaroslav Tulach <jtulach@netbeans.org>
Sun, 25 Apr 2010 22:46:08 +0200
changeset 240 29287b0a1a0b
parent 155 388a3511c433
child 241 b6a67364aff7
permissions -rw-r--r--
Adding description of individual lonely games. More verbose subject added too.
jtulach@155
     1
/*
jtulach@155
     2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
jtulach@155
     3
 *
jtulach@155
     4
 * The contents of this file are subject to the terms of either the GNU
jtulach@155
     5
 * General Public License Version 2 only ("GPL") or the Common
jtulach@155
     6
 * Development and Distribution License("CDDL") (collectively, the
jtulach@155
     7
 * "License"). You may not use this file except in compliance with the
jtulach@155
     8
 * License. You can obtain a copy of the License at
jtulach@155
     9
 * http://www.netbeans.org/cddl-gplv2.html
jtulach@155
    10
 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
jtulach@155
    11
 * specific language governing permissions and limitations under the
jtulach@155
    12
 * License.  When distributing the software, include this License Header
jtulach@155
    13
 * Notice in each file and include the License file at
jtulach@155
    14
 * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
jtulach@155
    15
 * particular file as subject to the "Classpath" exception as provided
jtulach@155
    16
 * by Sun in the GPL Version 2 section of the License file that
jtulach@155
    17
 * accompanied this code. If applicable, add the following below the
jtulach@155
    18
 * License Header, with the fields enclosed by brackets [] replaced by
jtulach@155
    19
 * your own identifying information:
jtulach@155
    20
 * "Portions Copyrighted [year] [name of copyright owner]"
jtulach@155
    21
 *
jtulach@155
    22
 * Contributor(s):
jtulach@155
    23
 *
jtulach@155
    24
 * Portions Copyrighted 2009 Jaroslav Tulach
jtulach@155
    25
 */
jtulach@155
    26
jtulach@153
    27
package cz.xelfi.quoridor.emailer
jtulach@153
    28
jtulach@153
    29
import org.junit._
jtulach@153
    30
import Assert._
jtulach@153
    31
jtulach@153
    32
@Test
jtulach@155
    33
class MainTest {
jtulach@153
    34
    @Test
jtulach@154
    35
    def testCheckLazyPlayers() = {
jtulach@240
    36
      val arr = new Array[String](4)
jtulach@240
    37
      /*
jtulach@240
    38
      arr(0) = "http://quoridor.xelfi.cz/api/"
jtulach@240
    39
      arr(1) = ""
jtulach@240
    40
      arr(2) = ""
jtulach@240
    41
      arr(3) = "print"
jtulach@240
    42
      Main.main(arr)
jtulach@240
    43
      */
jtulach@154
    44
    }
jtulach@153
    45
}
jtulach@153
    46
jtulach@153
    47