User: cgjung  
  Date: 02/02/28 00:01:32

  Modified:    jboss.net/testsuite/src/main/org/jboss/test/net/hello
                        HelloUnitTestCase.java
  Log:
  runtime MBean invocations work again (detyped JMX is a pain!). Security
  tests removed, because hello bean does not support them anymore.
  
  Revision  Changes    Path
  1.5       +3 -15     
contrib/jboss.net/testsuite/src/main/org/jboss/test/net/hello/HelloUnitTestCase.java
  
  Index: HelloUnitTestCase.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/contrib/jboss.net/testsuite/src/main/org/jboss/test/net/hello/HelloUnitTestCase.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- HelloUnitTestCase.java    7 Feb 2002 09:49:32 -0000       1.4
  +++ HelloUnitTestCase.java    28 Feb 2002 08:01:32 -0000      1.5
  @@ -5,7 +5,7 @@
    * See terms of license at gnu.org.
    */
   
  -// $Id: HelloUnitTestCase.java,v 1.4 2002/02/07 09:49:32 cgjung Exp $
  +// $Id: HelloUnitTestCase.java,v 1.5 2002/02/28 08:01:32 cgjung Exp $
   
   package org.jboss.test.net.hello;
   
  @@ -27,18 +27,11 @@
    * Tests remote accessibility of stateless ejb bean
    * @created 5. Oktober 2001, 12:11
    * @author <a href="mailto:[EMAIL PROTECTED]";>Christoph G. Jung</a>
  - * @version $Revision: 1.4 $
  + * @version $Revision: 1.5 $
    */
   
   public class HelloUnitTestCase extends AxisTestCase {
   
  -   /** we use some password authentication to contact
  -    *  a security-aware bean
  -    */
  -   protected String LOGIN="jduke:theduke@";
  -
  -   /** has an associated secure end point that may be configured once */
  -   protected String SECURE_END_POINT=PROTOCOL+LOGIN+SERVICE_PORT;
   
      // Constructors --------------------------------------------------
       public HelloUnitTestCase(String name) {
  @@ -52,7 +45,7 @@
       public void setUp() throws Exception {
           super.setUp();
           hello=(Hello) createAxisService(Hello.class,
  -        new URL(SECURE_END_POINT));
  +        new URL(END_POINT));
       }
   
       /** where the config is stored */
  @@ -63,11 +56,6 @@
       /** test a simple hello world */
       public void testHello() throws Exception {
           assertEquals("Return value must be hello.",hello.hello("World"),"Hello 
World!");
  -    }
  -
  -    /** will be functional as soon as security is there! */
  -    public void testSayHello() throws Exception {
  -        assertEquals("Return value must be hello.","Hello jduke!",hello.sayHello());
       }
   
       /** test some structural parameters */
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to