Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

src/net/threebit/jvr/test/DxOpenTest.java

Go to the documentation of this file.
00001 package net.threebit.jvr.test;
00002 
00003 /*
00004  * $Id: DxOpenTest.java,v 1.2 2004/07/02 18:11:38 kevino Exp $
00005  *
00006  * Copyright (c) 2003,2004 Kevin O'Donnell
00007  * 
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public
00010  * License as published by the Free Software Foundation; either
00011  * version 2.1 of the License, or (at your option) any later version.
00012  *
00013  * This library is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * Lesser General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with this library; if not, write to the Free Software
00020  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307,  USA.
00021  */
00022 
00023 import java.util.logging.Logger;
00024 import net.threebit.jvr.dx;
00025 
00026 /**
00027  * A simple test class that verifies that the JVR framework
00028  * can successfully communicate with the Dialogic runtime.
00029  * <p>
00030  * See <b>bin/jvr_dx_open_test</b> for information on how to
00031  * run the test.
00032  */
00033 
00034 public class DxOpenTest {
00035 
00036   /**
00037    * No arguments required - everything is hard coded.
00038    */
00039   public static void main (String[] args) {
00040     try {
00041       int dev = dx.open("dxxxB1C1",0);
00042       System.out.println("OK");
00043     }
00044     catch (Throwable t) {
00045       Logger logger = Logger.getLogger("net.threebit.jvr.test");
00046       logger.info("Test Failed");
00047       logger.throwing(DxOpenTest.class.getName(),"main",t);
00048     }
00049   }
00050 
00051 }

Generated on Sat Jul 16 03:47:35 2005 for JVR by doxygen 1.3.5