User: jung    
  Date: 00/12/04 04:35:51

  Modified:    src/de/infor/ce/http/test Http.java test.dfPackage
  Log:
  adopted to latest jboss container,
  
  added decimal and date
  
  removed some problems due to forward-referencing in meta-data
  
  added serialisation policy
  
  Revision  Changes    Path
  1.2       +153 -153  zoap/src/de/infor/ce/http/test/Http.java
  
  Index: Http.java
  ===================================================================
  RCS file: /products/cvs/ejboss/zoap/src/de/infor/ce/http/test/Http.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Http.java 2000/08/10 21:06:46     1.1
  +++ Http.java 2000/12/04 12:35:50     1.2
  @@ -1,156 +1,162 @@
  -/*
  - *   $Id: Http.java,v 1.1 2000/08/10 21:06:46 jung Exp $
  - *   Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
  - *   D-66299 Friedrichsthal, Germany. All Rights Reserved.
  - *
  - *   License Statement
  - *
  - *   Redistribution and use of this software and associated documentation 
("Software"), with or without
  - *   modification, are permitted provided that the following conditions are met:
  - *
  - *   1.      Redistributions of source code must retain copyright statements and 
notices.
  - *           Redistributions must also contain a copy of this document.
  - *
  - *   2.      Redistributions in binary form must reproduce the attached copyright 
notice, this list of
  - *           conditions and the following disclaimer in the documentation and/or 
other materials provided
  - *           with the distribution.
  - *
  - *   3.      The end-user documentation included with the redistribution, if any, 
must include the following
  - *           acknowledgment: "This product includes software developed by infor: 
business solutions AG
  - *           (http://www.infor.de/)." Alternately, this acknowledgment may appear 
in the software itself,
  - *           if and wherever such third-party acknowledgments normally appear.
  - *
  - *   4.      The name "infor" must not be used to endorse or promote products 
derived from this
  - *           Software without prior written permission of infor: business solutions 
AG.
  - *           For written permission, please contact [EMAIL PROTECTED]
  - *
  - *   5.      Products derived from this Software may not be called "infor" nor may 
"infor" appear
  - *           in their names without prior written permission of infor: business 
solutions AG. infor
  - *           is a registered trademark of infor:business solutions AG.
  - *
  - *   Disclaimer
  - *
  - *   THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS 
IS" AND ANY
  - *   EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
WARRANTIES OF
  - *   MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  - *
  - *   IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE 
FOR ANY DIRECT,
  - *   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
BUT NOT LIMITED TO,
  - *   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 
BUSINESS INTERRUPTION)
  - *   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
LIABILITY, OR TORT
  - *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
SOFTWARE,
  - *   EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  - */
  -
  -package de.infor.ce.http.test;
  -
  -import de.infor.ce.http.*;
  -
  -/**
  - *      A unit test for checking low-level features of the http service
  - *      @see <related>
  - *      @author $Author: jung $
  - *      @version $Revision: 1.1 $
  - */
  -
  -public class Http extends junit.framework.TestCase {
  -
  -  public Http(String name) {
  -     super(name);
  -  }
  -
  -  public static void main(String[] args) {
  -
  -     junit.textui.TestRunner runner=new junit.textui.TestRunner();
  -
  -     try{
  -       runner.run(suite());
  -     } catch (Exception e) {
  -     }
  -  }
  -
  -  public static junit.framework.Test suite() {
  -     return new junit.framework.TestSuite(Http.class);
  -  }
  -
  -  public void setUp() {
  -  }
  -
  -  public void testHttp() throws java.io.IOException, HttpException {
  -
  -    Server server=new Server(8080);
  -
  -    server.start();
  -
  -    java.net.URL testProxyUrl=new java.net.URL("http://localhost:8080/");
  -
  -    java.net.URL testDestinationUrl=new java.net.URL(testProxyUrl,"");
  -
  -    Request request=new 
Request(null,1,1,"",false,testProxyUrl,testDestinationUrl,"GET");
  -
  -    Response response=request.send();
  -
  -    Environment.out.println(response);
  -
  -    response=request.send();
  -
  -    Environment.out.println(response);
  -
  -    server.stop();
  -
  -  } // testHttp
  -
  -  public void tearDown() {
  -  }
  -
  -} // DataAccess
  -
  -/**
  +/*
  + *   $Id: Http.java,v 1.2 2000/12/04 12:35:50 jung Exp $
  + *   Copyright 2000 (C) infor:business solutions AG, Hauerstrasse 12,
  + *   D-66299 Friedrichsthal, Germany. All Rights Reserved.
  + *
  + *   License Statement
  + *
  + *   Redistribution and use of this software and associated documentation 
("Software"), with or without
  + *   modification, are permitted provided that the following conditions are met:
  + *
  + *   1.      Redistributions of source code must retain copyright statements and 
notices.
  + *           Redistributions must also contain a copy of this document.
  + *
  + *   2.      Redistributions in binary form must reproduce the attached copyright 
notice, this list of
  + *           conditions and the following disclaimer in the documentation and/or 
other materials provided
  + *           with the distribution.
  + *
  + *   3.      The end-user documentation included with the redistribution, if any, 
must include the following
  + *           acknowledgment: "This product includes software developed by infor: 
business solutions AG
  + *           (http://www.infor.de/)." Alternately, this acknowledgment may appear 
in the software itself,
  + *           if and wherever such third-party acknowledgments normally appear.
  + *
  + *   4.      The name "infor" must not be used to endorse or promote products 
derived from this
  + *           Software without prior written permission of infor: business solutions 
AG.
  + *           For written permission, please contact [EMAIL PROTECTED]
  + *
  + *   5.      Products derived from this Software may not be called "infor" nor may 
"infor" appear
  + *           in their names without prior written permission of infor: business 
solutions AG. infor
  + *           is a registered trademark of infor:business solutions AG.
  + *
  + *   Disclaimer
  + *
  + *   THIS SOFTWARE IS PROVIDED BY INFOR: BUSINESS SOLUTIONS AG AND CONTRIBUTORS "AS 
IS" AND ANY
  + *   EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
WARRANTIES OF
  + *   MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  + *
  + *   IN NO EVENT SHALL INFOR: BUSINESS SOLUTIONS AG OR ITS CONTRIBUTORS BE LIABLE 
FOR ANY DIRECT,
  + *   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
BUT NOT LIMITED TO,
  + *   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 
BUSINESS INTERRUPTION)
  + *   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
LIABILITY, OR TORT
  + *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
SOFTWARE,
  + *   EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  + */
  +
  +package de.infor.ce.http.test;
  +
  +import de.infor.ce.http.*;
  +
  +/**
  + *      A unit test for checking low-level features of the http service
  + *      @see <related>
  + *      @author $Author: jung $
  + *      @version $Revision: 1.2 $
  + */
  +
  +public class Http extends junit.framework.TestCase {
  +
  +  public Http(String name) {
  +     super(name);
  +  }
  +
  +  public static void main(String[] args) {
  +
  +     junit.textui.TestRunner runner=new junit.textui.TestRunner();
  +
  +     try{
  +       runner.run(suite());
  +     } catch (Exception e) {
  +     }
  +  }
  +
  +  public static junit.framework.Test suite() {
  +     return new junit.framework.TestSuite(Http.class);
  +  }
  +
  +  public void setUp() {
  +  }
  +
  +  public void testHttp() throws java.io.IOException, HttpException {
  +
  +    Server server=new Server(8080);
  +
  +    server.start();
  +
  +    java.net.URL testProxyUrl=new java.net.URL("http://localhost:8080/");
  +
  +    java.net.URL testDestinationUrl=new java.net.URL(testProxyUrl,"");
  +
  +    Request request=new 
Request(null,1,1,"",false,testProxyUrl,testDestinationUrl,"GET");
  +
  +    Response response=request.send();
  +
  +    response=request.send();
  +
  +    server.stop();
  +
  +  } // testHttp
  +
  +  public void tearDown() {
  +  }
  +
  +} // DataAccess
  +
  +/**
    * $Log: Http.java,v $
  - * Revision 1.1  2000/08/10 21:06:46  jung
  - * Initial revision
  - *
  - * Revision 1.1.1.1.2.1  2000/07/13 12:46:15  jung
  - * package renaming, most of the zoap stuff now under org.zoap
  - * util and http stay infor.ce, containerInvoker etc move to org.jboss
  - *
  - * changed the makefile, adopted most of the licenses
  - *
  - * Revision 1.1.1.1  2000/07/06 14:11:26  jung
  - * Import of a pre beta version of ZOAP source with a new directory structure,
  - * ant-based make, apache-kind of license, etc.
  - *
  - * jars are coming later because of cvs-history reasons.
  - *
  - * Revision 1.1.2.2  2000/06/16 08:03:03  jung
  - * removed the bug that expected a fully-qualified url
  - * in a request.
  - *
  - * requests now have two urls: one (fully-qualified) of the proxy that they talk to
  - * and one (relative to the first one) that identifies the file that you
  - * addess.
  - *
  - * Revision 1.1.2.1  2000/06/13 15:04:48  jung
  - * HTTP support migrated into an extra service
  - *
  - * Revision 1.1.2.1  2000/06/13 15:01:42  jung
  - * SOAP support begins to run
  - *
  - * Revision 1.1.2.1  2000/06/08 17:15:47  jung
  - * added initial soap service that uses the infor:X framework.
  - *
  - * Revision 1.2  2000/06/06 19:42:30  jung
  - * added transaction support.
  - *
  - * redesigned the dataAccess package to provide BSF database
  - * sessions as transactional resources under any TXManager.
  - *
  - * DataAccess now manages the mappingData associations to apartments
  - * and threads.
  - *
  - * test component runs.
  - *
  - * Revision 1.1  2000/05/16 15:29:33  jung
  - * added initial vbsf support
  - *
  - */
  + * Revision 1.2  2000/12/04 12:35:50  jung
  + * adopted to latest jboss container,
  + *
  + * added decimal and date
  + *
  + * removed some problems due to forward-referencing in meta-data
  + *
  + * added serialisation policy
  + *
  + * Revision 1.1.1.1  2000/08/10 21:06:46  jung
  + * Initial import.
  + *
  + *
  + * Revision 1.1.1.1.2.1  2000/07/13 12:46:15  jung
  + * package renaming, most of the zoap stuff now under org.zoap
  + * util and http stay infor.ce, containerInvoker etc move to org.jboss
  + *
  + * changed the makefile, adopted most of the licenses
  + *
  + * Revision 1.1.1.1  2000/07/06 14:11:26  jung
  + * Import of a pre beta version of ZOAP source with a new directory structure,
  + * ant-based make, apache-kind of license, etc.
  + *
  + * jars are coming later because of cvs-history reasons.
  + *
  + * Revision 1.1.2.2  2000/06/16 08:03:03  jung
  + * removed the bug that expected a fully-qualified url
  + * in a request.
  + *
  + * requests now have two urls: one (fully-qualified) of the proxy that they talk to
  + * and one (relative to the first one) that identifies the file that you
  + * addess.
  + *
  + * Revision 1.1.2.1  2000/06/13 15:04:48  jung
  + * HTTP support migrated into an extra service
  + *
  + * Revision 1.1.2.1  2000/06/13 15:01:42  jung
  + * SOAP support begins to run
  + *
  + * Revision 1.1.2.1  2000/06/08 17:15:47  jung
  + * added initial soap service that uses the infor:X framework.
  + *
  + * Revision 1.2  2000/06/06 19:42:30  jung
  + * added transaction support.
  + *
  + * redesigned the dataAccess package to provide BSF database
  + * sessions as transactional resources under any TXManager.
  + *
  + * DataAccess now manages the mappingData associations to apartments
  + * and threads.
  + *
  + * test component runs.
  + *
  + * Revision 1.1  2000/05/16 15:29:33  jung
  + * added initial vbsf support
  + *
  + */
  
  
  
  1.2       +27 -27    zoap/src/de/infor/ce/http/test/test.dfPackage
  
  Index: test.dfPackage
  ===================================================================
  RCS file: /products/cvs/ejboss/zoap/src/de/infor/ce/http/test/test.dfPackage,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- test.dfPackage    2000/08/10 21:06:46     1.1
  +++ test.dfPackage    2000/12/04 12:35:50     1.2
  @@ -1,27 +1,27 @@
  -package id3iqfxca3fgnbmca3tcayx;
  -
  -/**
  -@version 2.0
  -@physicalPackage
  -@__modelType diagram 
  -*/
  -class diagram {
  -/**
  -@__ref <oiref:java#Class#de.infor.ce.http.test.Http:oiref><oihard>
  -@__modelType reference 
  -*/
  -class reference {
  -}}/**
  -@__tags
  -@shapeType ClassDiagram 
  -*/
  -class __tags {
  -}/**
  -@__options 
  -*/
  -class __options {
  -}/**
  -@__positions 
  -*/
  -class __positions {
  -}
  \ No newline at end of file
  +package id3iqfxca3fgnbmca3tcayx;
  +
  +/**
  +@version 2.0
  +@physicalPackage
  +@__modelType diagram 
  +*/
  +class diagram {
  +/**
  +@__ref <oiref:java#Class#de.infor.ce.http.test.Http:oiref><oihard>
  +@__modelType reference 
  +*/
  +class reference {
  +}}/**
  +@__tags
  +@shapeType ClassDiagram 
  +*/
  +class __tags {
  +}/**
  +@__options 
  +*/
  +class __options {
  +}/**
  +@__positions 
  +*/
  +class __positions {
  +}
  
  
  

Reply via email to