Author: tziade Date: Fri Mar 24 23:33:51 2006 New Revision: 2720 Modified: cookbook/trunk/cookbook.en.kilepr cookbook/trunk/cookbook.fr.kilepr cookbook/trunk/recipe07.en.tex cookbook/trunk/recipe51.en.tex Log: removed trailing space
Modified: cookbook/trunk/cookbook.en.kilepr ============================================================================== --- cookbook/trunk/cookbook.en.kilepr (original) +++ cookbook/trunk/cookbook.en.kilepr Fri Mar 24 23:33:51 2006 @@ -1,7 +1,7 @@ [General] img_extIsRegExp=false img_extensions=.eps .pdf .dvi .ps .fig .gif .jpg .jpeg .png -lastDocument=file:///home/svn.z3lab.org/cookbook/recipe57.en.tex +lastDocument=file:///home/svn.z3lab.org/cookbook/recipe50.en.tex masterDocument= name=Zope 3 Cookbook, English pkg_extIsRegExp=false @@ -32,17 +32,17 @@ [item:recipe07.en.tex] archive=true column=0 -encoding=UTF-8 +encoding=ISO 8859-15 highlight=LaTeX -line=0 +line=6 open=true [item:recipe48.en.tex] archive=true -column=0 +column=24 encoding= highlight=LaTeX -line=0 +line=5 open=true [item:recipe49.en.tex] @@ -50,7 +50,7 @@ column=0 encoding= highlight=LaTeX -line=0 +line=6 open=true [item:recipe50.en.tex] @@ -58,7 +58,7 @@ column=0 encoding= highlight=LaTeX -line=0 +line=59 open=true [item:recipe51.en.tex] @@ -66,21 +66,21 @@ column=0 encoding= highlight=LaTeX -line=0 +line=7 open=true [item:recipe57.en.tex] archive=true -column=12 +column=0 encoding=ISO 8859-15 highlight=LaTeX -line=82 +line=6 open=true [item:recipe58.en.tex] archive=true -column=5 +column=0 encoding=ISO 8859-15 highlight=LaTeX -line=57 +line=6 open=true Modified: cookbook/trunk/cookbook.fr.kilepr ============================================================================== --- cookbook/trunk/cookbook.fr.kilepr (original) +++ cookbook/trunk/cookbook.fr.kilepr Fri Mar 24 23:33:51 2006 @@ -1,7 +1,7 @@ [General] img_extIsRegExp=false img_extensions=.eps .pdf .dvi .ps .fig .gif .jpg .jpeg .png -lastDocument=file:///home/svn.z3lab.org/cookbook/recipe57.fr.tex +lastDocument=file:///home/svn.z3lab.org/cookbook/recipe00.fr.tex masterDocument= name=Zope 3 Cookbook, Français pkg_extIsRegExp=false @@ -23,26 +23,26 @@ [item:recipe00.fr.tex] archive=true -column=43 +column=0 encoding=ISO 8859-15 highlight=LaTeX -line=70 +line=0 open=true [item:recipe07.fr.tex] archive=true -column=62 +column=0 encoding=ISO 8859-15 highlight=LaTeX -line=237 +line=5 open=true [item:recipe48.fr.tex] archive=true -column=44 +column=18 encoding=ISO 8859-15 highlight=LaTeX -line=116 +line=154 open=true [item:recipe49.fr.tex] @@ -55,7 +55,7 @@ [item:recipe50.fr.tex] archive=true -column=14 +column=0 encoding=ISO 8859-15 highlight=LaTeX line=172 @@ -63,10 +63,10 @@ [item:recipe51.fr.tex] archive=true -column=34 +column=0 encoding=ISO 8859-15 highlight=LaTeX -line=70 +line=127 open=true [item:recipe57.fr.tex] Modified: cookbook/trunk/recipe07.en.tex ============================================================================== --- cookbook/trunk/recipe07.en.tex (original) +++ cookbook/trunk/recipe07.en.tex Fri Mar 24 23:33:51 2006 @@ -29,16 +29,16 @@ For web applications, these tests need a special execution environment, which imitates a browser as best as possible, and -offers an API for lauching requests and study the response, +offers an API for lauching requests and study the response, just like it would be done by FireFox or Internet Explorer. \end{problem} \begin{solution} \section*{Understanding how it works} - + By definition, a functional tests only concentrates on the -functionality of the application, and doesn't care for +functionality of the application, and doesn't care for implementation details, as opposed to unit tests. It is a practical test as performed by an end user, who can for example browse the menues of the application in order to test each @@ -68,24 +68,24 @@ \item \code{getRootFolder()}: returns the Zope root folder. It's used to prepare the site before analysing a publication. \item \code{publish(path, basic=None)}: Returns the rendered object -behind the path in the form of a \code{Response} object. the +behind the path in the form of a \code{Response} object. the optional \code{basic} parameter has the form -\code{'login:password'}. The string 'mgr:mgrpw' can be used to +\code{'login:password'}. The string 'mgr:mgrpw' can be used to authenticate with manager rights. \item \code{checkForBrokenLinks(body,path, basic=None)}: Checks for -broken links in the \code{body}, which is a string representing +broken links in the \code{body}, which is a string representing the body of the response (fetched with \code{Response.getBody()}). \code{path} gives the relative path that corresponds to the object at the origin of the response. This parameter is needed by the method in order to make sense of relative links in the site. \end{itemize} -The test utility augments the \code{Response} object with +The test utility augments the \code{Response} object with methods for retrieving information easily, such as: \begin{itemize} \item \code{getBody()}: returns the response body -\item \code{getOutput()}: returns the complete response (body and +\item \code{getOutput()}: returns the complete response (body and headers) \item \code{getStatus()}: returns the status \item \code{getHeaders()}: for retrieving the headers Modified: cookbook/trunk/recipe51.en.tex ============================================================================== --- cookbook/trunk/recipe51.en.tex (original) +++ cookbook/trunk/recipe51.en.tex Fri Mar 24 23:33:51 2006 @@ -4,6 +4,7 @@ \status{draft} \author{Tarek Ziad�} \translator{Tarek Ziad�} +\translator{Tarek Ziad�} \begin{document} -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins