[Httpunit-commit] CVS: httpunit/src/com/meterware/servletunit ServletRunner.java,1.4,1.5 ServletUnit
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2001-06-18 20:21:33
|
Update of /cvsroot/httpunit/httpunit/src/com/meterware/servletunit
In directory usw-pr-cvs1:/tmp/cvs-serv14775/src/com/meterware/servletunit
Modified Files:
ServletRunner.java ServletUnitServletContext.java
Log Message:
Added tests and documentation for ServletUnit
Index: ServletRunner.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/servletunit/ServletRunner.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ServletRunner.java 2001/06/06 13:25:04 1.4
+++ ServletRunner.java 2001/06/18 20:21:30 1.5
@@ -68,7 +68,7 @@
/**
* Creates and returns a new web client that communicates with this servlet runner.
**/
- public WebClient newClient() {
+ public ServletUnitClient newClient() {
return new ServletUnitClient( this );
}
Index: ServletUnitServletContext.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/servletunit/ServletUnitServletContext.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ServletUnitServletContext.java 2000/12/13 21:56:03 1.1
+++ ServletUnitServletContext.java 2001/06/18 20:21:30 1.2
@@ -2,7 +2,7 @@
/********************************************************************************************************************
* $Id$
*
-* Copyright (c) 2000, Russell Gold
+* Copyright (c) 2000-2001, Russell Gold
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
@@ -175,8 +175,7 @@
* Writes the specified message to a servlet log file, usually an event log.
* The name and type of the servlet log file is specific to the servlet container.
**/
- public void log( String message ) {
- System.out.println( "log: " + message ); // XXX change this to use something testable
+ public void log( String message ) { // XXX change this to use something testable
}
|