View Javadoc

1   package test.org.wcb.plugins.speech;
2   
3   import org.wcb.plugins.speech.SpeakPlugin;
4   import junit.framework.TestCase;
5   
6   /***
7    * Copyright (C) 1999  Walter Bogaardt
8    *
9    * This library is free software; you can redistribute it and/or
10   * modify it under the terms of the GNU Lesser General Public
11   * License as published by the Free Software Foundation; either
12   * version 2 of the License, or (at your option) any later version.
13   *
14   * This library is distributed in the hope that it will be useful,
15   * but WITHOUT ANY WARRANTY; without even the implied warranty of
16   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17   * Lesser General Public License for more details.
18   *
19   * You should have received a copy of the GNU Lesser General Public
20   * License along with this library; if not, write to the Free Software
21   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
22   *
23   * Project: Alice X10 Home Automation<BR>
24   * Filename:  $Id: SpeakPluginTestCase.java,v 1.1 2004/02/23 22:28:55 wbogaardt Exp $<BR>
25   * Abstract: Used to test the speech engine
26   *
27   * $Log: SpeakPluginTestCase.java,v $
28   * Revision 1.1  2004/02/23 22:28:55  wbogaardt
29   * Speech plugin test
30   *
31   * Revision 1.1  2004/02/20 23:57:30  wbogaardt
32   * tests the speech engine
33   *
34   */
35  public class SpeakPluginTestCase extends TestCase{
36      private SpeakPlugin voice;
37  
38      public void setUp(){
39          voice = new SpeakPlugin();
40      }
41  
42      public void tearDown(){
43  
44      }
45  
46      public void testHelloWorld(){
47          voice.play("HelloWorld");
48      }
49  }