[jboss-cvs] jboss-seam/src/test/integration/src/org/jboss/seam/test/integration ...

Peter Muir peter at bleepbleep.org.uk
Tue Nov 20 07:38:55 EST 2007


  User: pmuir   
  Date: 07/11/20 07:38:54

  Modified:    src/test/integration/src/org/jboss/seam/test/integration  
                        testng.xml
  Added:       src/test/integration/src/org/jboss/seam/test/integration  
                        JavaBeanEqualsTest.java
  Log:
  JBSEAM-1257
  
  Revision  Changes    Path
  1.9       +3 -2      jboss-seam/src/test/integration/src/org/jboss/seam/test/integration/testng.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: testng.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/test/integration/src/org/jboss/seam/test/integration/testng.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- testng.xml	16 Nov 2007 06:27:10 -0000	1.8
  +++ testng.xml	20 Nov 2007 12:38:54 -0000	1.9
  @@ -4,6 +4,7 @@
       <test name="Seam Core - Integration: Contexts">
           <classes>
               <class name="org.jboss.seam.test.integration.PageContextTest"/>
  +            <class name="org.jboss.seam.test.integration.ConversationTest" />
           </classes>
       </test>
      
  @@ -39,9 +40,9 @@
           </classes>
       </test>
   
  -    <test name="Seam Core - Integration: Conversation Components">
  +    <test name="Seam Core - Integration: Components">
           <classes>
  -            <class name="org.jboss.seam.test.integration.ConversationTest" />
  +            <class name="org.jboss.seam.test.integration.JavaBeanEqualsTest"/>
           </classes>
       </test>
   
  
  
  
  1.1      date: 2007/11/20 12:38:54;  author: pmuir;  state: Exp;jboss-seam/src/test/integration/src/org/jboss/seam/test/integration/JavaBeanEqualsTest.java
  
  Index: JavaBeanEqualsTest.java
  ===================================================================
  package org.jboss.seam.test.integration;
  
  import org.jboss.seam.mock.SeamTest;
  import org.testng.annotations.Test;
  
  /**
   * @author Pete Muir
   *
   */
  public class JavaBeanEqualsTest extends SeamTest
  {
     
     @Test
     // Test for JBSEAM-1257
     public void testReflexiveEquals() throws Exception
     {
        new ComponentTest()
        {
  
           @Override
           protected void testComponents() throws Exception
           {
              assert getInstance("beanA").equals(getInstance("beanA"));
              assert getValue("#{beanA.component}").equals(getValue("#{beanA.component}"));
           }
           
        }.run();
     }
  
  }
  
  
  



More information about the jboss-cvs-commits mailing list