djencks     2005/03/15 00:32:42

  Added:       modules/openejb-builder/src/test/org/openejb/deployment/corba
                        OpenOrbNameManglerTest.java
  Log:

  Make transaction policy mapping more generic and implement the 
no-distributed-transactions corba tx propagation polices.  CORBA operation name 
to method signature mapping is not yet really implemented
  
  Revision  Changes    Path
  1.1                  
openejb/modules/openejb-builder/src/test/org/openejb/deployment/corba/OpenOrbNameManglerTest.java
  
  Index: OpenOrbNameManglerTest.java
  ===================================================================
  /**
   *
   * Copyright 2003-2004 The Apache Software Foundation
   *
   *  Licensed under the Apache License, Version 2.0 (the "License");
   *  you may not use this file except in compliance with the License.
   *  You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
   *  Unless required by applicable law or agreed to in writing, software
   *  distributed under the License is distributed on an "AS IS" BASIS,
   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   *  See the License for the specific language governing permissions and
   *  limitations under the License.
   */
  package org.openejb.deployment.corba;
  
  import junit.framework.TestCase;
  import org.openejb.deployment.slsb.MockHome;
  import org.openejb.deployment.slsb.MockRemote;
  //import org.openejb.deployment.entity.MockHome;
  //import org.openejb.deployment.entity.MockRemote;
  
  /**
   * @version $Rev:  $ $Date: 2005/03/15 05:32:42 $
   */
  public class OpenOrbNameManglerTest extends TestCase {
  
      public void testHome() throws Exception {
          OpenOrbNameMangler openOrbNameMangler = new OpenOrbNameMangler();
          openOrbNameMangler.mapMethodNames(MockHome.class, 
MockHome.class.getClassLoader(), true);
      }
  
      public void testRemote() throws Exception {
          OpenOrbNameMangler openOrbNameMangler = new OpenOrbNameMangler();
          openOrbNameMangler.mapMethodNames(MockRemote.class, 
MockRemote.class.getClassLoader(), false);
      }
  }
  
  
  

Reply via email to