CVS: Tapestry/junit/src/net/sf/tapestry/junit/mock TestPersistentProperties.xml,1.1.2.3,1.1.2.4 TestRegisterForm.xml,1.4.2.3,1.4.2.4

Howard Lewis Ship <[email protected]>
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/Tapestry/junit/src/net/sf/tapestry/junit/mock
In directory sc8-pr-cvs1:/tmp/cvs-serv28564/junit/src/net/sf/tapestry/junit/mock

Modified Files:
      Tag: hship-2-3
	TestPersistentProperties.xml TestRegisterForm.xml 
Log Message:
Fix some of the test cases to work properly under JDK 1.3.

Index: TestPersistentProperties.xml
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/junit/src/net/sf/tapestry/junit/mock/Attic/TestPersistentProperties.xml,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** TestPersistentProperties.xml	2 Jan 2003 13:25:53 -0000	1.1.2.3
--- TestPersistentProperties.xml	5 Jan 2003 00:24:52 -0000	1.1.2.4
***************
*** 6,10 ****
      <context name="c6" root="context6"/>
  
!   	<servlet name="app" class="net.sf.tapestry.ApplicationServlet"/>
         
      <request>
--- 6,13 ----
      <context name="c6" root="context6"/>
  
!   	<servlet name="app" class="net.sf.tapestry.ApplicationServlet">
!   		<init-parameter name="net.sf.tapestry.engine-class"
!   					value="net.sf.tapestry.junit.mock.c6.C6Engine"/>
!   	</servlet>
         
      <request>

Index: TestRegisterForm.xml
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/junit/src/net/sf/tapestry/junit/mock/TestRegisterForm.xml,v
retrieving revision 1.4.2.3
retrieving revision 1.4.2.4
diff -C2 -d -r1.4.2.3 -r1.4.2.4
*** TestRegisterForm.xml	21 Dec 2002 13:05:46 -0000	1.4.2.3
--- TestRegisterForm.xml	5 Jan 2003 00:24:52 -0000	1.4.2.4
***************
*** 160,174 ****
       are emitted appears to be somewhat unpredictable. -->
       		
! 		<assert-output name="First Name">
  <![CDATA[
! <input type="text" name="inputFirstName" value="Suzy" maxlength="100" size="40"/>
  ]]>
! 		</assert-output>
  		
! 		<assert-output name="Last Name">
  <![CDATA[
! <input type="text" name="inputLastName" maxlength="100" size="40"/>&nbsp;<font color="red">**</font>
  ]]>
! 		</assert-output>				
  	</request>
  	
--- 160,174 ----
       are emitted appears to be somewhat unpredictable. -->
       		
! 		<assert-regexp name="First Name">
  <![CDATA[
! <input type="text" name="inputFirstName" value="Suzy"(.*?)/>
  ]]>
! 		</assert-regexp>
  		
! 		<assert-regexp name="Last Name">
  <![CDATA[
! <input type="text" name="inputLastName"(.*?)/>&nbsp;<font color="red">\*\*</font>
  ]]>
! 		</assert-regexp>				
  	</request>
  	



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.