commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/jelly/jelly-tags/dynabean/src/test/org/apache/commons/jelly/tags/dynabean suite.jelly
Date Wed, 08 Sep 2004 05:15:03 GMT
dion        2004/09/07 22:15:03

  Modified:    jelly/jelly-tags/dynabean/src/test/org/apache/commons/jelly/tags/dynabean
                        suite.jelly
  Log:
  detab
  
  Revision  Changes    Path
  1.3       +18 -18    jakarta-commons/jelly/jelly-tags/dynabean/src/test/org/apache/commons/jelly/tags/dynabean/suite.jelly
  
  Index: suite.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/dynabean/src/test/org/apache/commons/jelly/tags/dynabean/suite.jelly,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- suite.jelly	25 Feb 2004 06:25:08 -0000	1.2
  +++ suite.jelly	8 Sep 2004 05:15:03 -0000	1.3
  @@ -16,26 +16,26 @@
   -->
   
   <test:suite 
  -	xmlns:j="jelly:core"
  -	xmlns:dynabean="jelly:dynabean" 
  -	xmlns:test="jelly:junit" 
  -	xmlns:log="jelly:log">
  +    xmlns:j="jelly:core"
  +    xmlns:dynabean="jelly:dynabean" 
  +    xmlns:test="jelly:junit" 
  +    xmlns:log="jelly:log">
   
   <test:case name="simpleDynaBean">
   
     <dynabean:dynaclass var="CustomerType" name ="CustomerDynaClass"> 
  -		<dynabean:property name="name" type="String" />
  -		<dynabean:property name="address" type="String" />
  -	</dynabean:dynaclass>
  +        <dynabean:property name="name" type="String" />
  +        <dynabean:property name="address" type="String" />
  +    </dynabean:dynaclass>
   
     <dynabean:dynabean var="customer" dynaclass="${CustomerType}"/>
   
     <dynabean:set var="customer" property="name" value="Customer 1" />
     <dynabean:set var="customer" property="address" value="Address of Customer 1" />
   
  -	<test:assertEquals expected="Customer 1" actual="${customer.name}"/>
  -	<test:assertEquals expected="Address of Customer 1" actual="${customer.address}"/>
  -	<test:assertEquals expected="CustomerDynaClass" actual="${customer.dynaClass.name}"/>
  +    <test:assertEquals expected="Customer 1" actual="${customer.name}"/>
  +    <test:assertEquals expected="Address of Customer 1" actual="${customer.address}"/>
  +    <test:assertEquals expected="CustomerDynaClass" actual="${customer.dynaClass.name}"/>
   
   </test:case>
   
  @@ -63,14 +63,14 @@
     <dynabean:set var="customer" property="address.street" value="Downing Street" />
     <dynabean:set var="customer" property="address.housenumber" value="10" />
   
  -	<test:assertEquals expected="Customer 1" actual="${customer.name}"/>
  -	<test:assertEquals expected="London" actual="${customer.address.city}"/>
  -	<test:assertEquals expected="Downing Street" actual="${customer.address.street}"/>
  -	
  -	<!-- #### JellyUnit needs to support type cooercion for this to work...
  -	<test:assertEquals expected="10" actual="${customer.address.housenumber}"/>
  -	-->
  -	
  +    <test:assertEquals expected="Customer 1" actual="${customer.name}"/>
  +    <test:assertEquals expected="London" actual="${customer.address.city}"/>
  +    <test:assertEquals expected="Downing Street" actual="${customer.address.street}"/>
  +    
  +    <!-- #### JellyUnit needs to support type cooercion for this to work...
  +    <test:assertEquals expected="10" actual="${customer.address.housenumber}"/>
  +    -->
  +    
     
   </test:case>
      
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message