[Httpunit-commit] CVS: httpunit/doc/tutorial task1editor-entry.html,1.4,1.5
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2003-09-15 11:51:16
|
Update of /cvsroot/httpunit/httpunit/doc/tutorial
In directory sc8-pr-cvs1:/tmp/cvs-serv3324/doc/tutorial
Modified Files:
task1editor-entry.html
Log Message:
Corrected code error in tutorial
Index: task1editor-entry.html
===================================================================
RCS file: /cvsroot/httpunit/httpunit/doc/tutorial/task1editor-entry.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- task1editor-entry.html 23 May 2003 03:07:30 -0000 1.4
+++ task1editor-entry.html 15 Sep 2003 11:51:13 -0000 1.5
@@ -94,7 +94,7 @@
form.setParameter( "home1", "Denver Broncos" );
form.setParameter( "tiebreaker", "1" );
- SubmitButton saveButton = getSubmitButton( "save", "Save" ); // (2) select the desired submit button
+ SubmitButton saveButton = form.getSubmitButton( "save", "Save" ); // (2) select the desired submit button
response = form.submit( saveButton ); // (3) submit the form
assertEquals( "Away team 0", "", form.getParameterValue( "away0" ) ); // (4) verify the response
|