KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > testdriver


1 /*******************************************************************************
2  * Copyright (c) 2004, Dirk von der Weiden.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution.
6  *
7  * Contributors:
8  * Dirk von der Weiden - initial API and implementation
9  *
10  * Created on 04.04.2004
11  *
12  * date: 04.04.2004
13  * project: WiSer Builder
14  *
15  *******************************************************************************/

16
17 //package Raptor;
18
//
19
//import Jmc.commonGui.*;
20
//import Jmc.baseTools.*;
21
//import Jmc.connector.*;
22
//import Jmc.baseGui.*;
23
//import Jmc.script.*;
24
//
25
///**
26
// * @author dvonderweiden
27
// * Comment: Testdriver für WiSer - UI Builder
28
// */
29
//
30
//public class testdriver
31
//{
32
// public void pcmf_crswapp() throws Exception
33
// {
34
// gui_objFactory l_fact = new gui_objFactory("xml_parameter\\parfile.xml");
35
// Jmc.baseGui.gui_applProducer l_prod = new Jmc.baseGui.gui_applProducer("xml_gui\\raptor_guiDef_main.xml", l_fact);
36
//
37
// ===HTML-Gui
38
// base_appl_if l_testapp = (base_appl_if)l_prod.pcmf_produce(new Integer (gui_objFactory.HTML));
39
// System.out.println (l_testapp.pcmf_execView());
40
//
41
// ===Swing-Gui
42
// base_appl_if l_swtestapp = (base_appl_if)l_prod.pcmf_produce(new Integer (gui_objFactory.SWING));
43
// l_swtestapp.pcmf_execView();
44
// };
45
//
46
// public static void applFactTest () throws Exception
47
// {
48
// Jmc.connector.base_remoteServiceServer serv = new Jmc.connector.base_remoteServiceServer (10000,false, true);
49
// Jmc.connector.base_remoteServiceClient client = new Jmc.connector.base_remoteServiceClient (10000, "localhost",false, true);
50
//
51
// STRING_T l_remCall = new STRING_T (new String());
52
// base_xScript.pcmf_createxScriptString(l_remCall, null);
53
// base_xScript.pcmf_addProc(l_remCall, null);
54
// base_xScript.pcmf_addDecl(l_remCall, "INIT_PROC", "Raptor.testdriver", "forever");
55
// base_xScript.pcmf_addCall(l_remCall, null, "INIT_PROC", "pcmf_crswapp");
56
// base_xScript.pcmf_endAll(l_remCall);
57
//
58
// base_session l_session = client.pcmf_getSession();
59
//
60
// l_session.pcmf_call(l_remCall.toString());
61
// };
62
//
63
// public static void main(String[] args) throws Exception
64
// {
65
// testdriver l_td = new testdriver ();
66
//
67
// base_log.pcmf_setPrio(base_log.MESSAGE);
68
// base_log.pcmf_addClass(base_registredObject.class);
69
// base_environment.pcmf_setRootDir("d:\\Data\\development\\Java\\eclipse_projects\\Raptor\\");
70
//
71
// base_environment.pcmf_setRootDir(".\\");
72
// base_environment.pcmf_setTmpDir(".\\tmp");
73
//
74
// l_td.applFactTest();
75
//
76
// return;
77
// };
78
//}
79

80
Popular Tags