<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/mockobjects/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/mockobjects/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/mockobjects/support-requests/</id><updated>2003-12-09T09:56:07Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>CHM FILE</title><link href="https://sourceforge.net/p/mockobjects/support-requests/4/" rel="alternate"/><published>2003-12-09T09:56:07Z</published><updated>2003-12-09T09:56:07Z</updated><author><name>Jose A Lobato</name><uri>https://sourceforge.net/u/coshjaguar/</uri></author><id>https://sourceforge.net2c030e5afc5b3dcceb253a8e39d9283c0d9d059a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I've download the zip file for version 0.4 twice but no &lt;br /&gt;
able to se the chm help file, neither in my w2k laptop or &lt;br /&gt;
my NT workstation.&lt;br /&gt;
Basically it fails on open.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Unable to test chained actions</title><link href="https://sourceforge.net/p/mockobjects/support-requests/3/" rel="alternate"/><published>2003-08-27T14:49:09Z</published><updated>2003-08-27T14:49:09Z</updated><author><name>Matt Stine</name><uri>https://sourceforge.net/u/javasage/</uri></author><id>https://sourceforge.net05a9a876db9ea7636815eda3ba4c0b50111e444d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am using the command pattern in a web application for &lt;br /&gt;
online ordering.  Each command sent to the Servlet is &lt;br /&gt;
delegated to a command handler.&lt;/p&gt;
&lt;p&gt;Currently I have a passing unit test for a &lt;br /&gt;
SaveOrderHandler and an EditOrderHandler.  What I &lt;br /&gt;
want to do is chain these two actions together, so that &lt;br /&gt;
a user can save an order they are currently working on &lt;br /&gt;
and then edit another one w/ only one click.&lt;/p&gt;
&lt;p&gt;To do this, I have written a test for a command handler &lt;br /&gt;
called SaveThenEditOrderHandler...what it does is call &lt;br /&gt;
the SaveOrderHandler, check a request attribute to see &lt;br /&gt;
if the save succeeded, and then calls EditOrderHandler.&lt;/p&gt;
&lt;p&gt;These two requests share some common request/session &lt;br /&gt;
parameters/attributes.  The behavior that I am seeing is &lt;br /&gt;
that the first command handler executes successfully.&lt;br /&gt;
Open entering the second command handler, any &lt;br /&gt;
attempt to access request/session &lt;br /&gt;
parameters/attributes that is shares with the first &lt;br /&gt;
handler fail with a message such as:&lt;/p&gt;
&lt;p&gt;junit.framework.AssertionFailedError: &lt;br /&gt;
parameters.orderType has run out of objects.&lt;/p&gt;
&lt;p&gt;If I am reading this correctly, any objects stored in the &lt;br /&gt;
request/session objects can must be accessed once and &lt;br /&gt;
only once.  Is this true?  And if so, is there another way &lt;br /&gt;
to implement this test?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MockHttpServletRequest getHeader() not API compliant</title><link href="https://sourceforge.net/p/mockobjects/support-requests/2/" rel="alternate"/><published>2003-08-14T16:00:02Z</published><updated>2003-08-14T16:00:02Z</updated><author><name>Gael Marziou</name><uri>https://sourceforge.net/u/gmarziou/</uri></author><id>https://sourceforge.net0cce710075f5034e3680c84acd29e0e9620c64d9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;MockHttpServletRequest version 1.18 (J2EE 1.3), the &lt;br /&gt;
getHeader() method should not throw an AssertFailError &lt;br /&gt;
when the requested  header is not present because the &lt;br /&gt;
javadoc for this method says:&lt;/p&gt;
&lt;p&gt;If the request did not include a header of the specified &lt;br /&gt;
name, this method returns null. &lt;/p&gt;
&lt;p&gt;So, with the current behavior I cannot test my code &lt;br /&gt;
error handling when request.getHeader() returns null on &lt;br /&gt;
not existing header.&lt;/p&gt;
&lt;p&gt;Or maybe there is a way to disable this assertion &lt;br /&gt;
checking?&lt;/p&gt;
&lt;p&gt;Thanks for any help&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Dynamic Objects documentation</title><link href="https://sourceforge.net/p/mockobjects/support-requests/1/" rel="alternate"/><published>2002-11-04T01:51:01Z</published><updated>2002-11-04T01:51:01Z</updated><author><name>Nascif Abousalh Neto</name><uri>https://sourceforge.net/u/nascif/</uri></author><id>https://sourceforge.net229c44d1726eecfbe91f8434a95512f8121245ac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Can you please provide some information about the new dynamic &lt;br /&gt;
objects support? How to use them, what are they best suited &lt;br /&gt;
for?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>