Mike is right. He and I had discussions about how to best handle validation at 
runtime. I probably won't have time until next week to fix it, so feel free to clean 
out AccessLogSampler.
 
the larger problem of how to handle runtime errors and pass the events back to the GUI 
is a much larger challenge that isn't simple to fix.
 
peter


[EMAIL PROTECTED] wrote:
The AccessLogSamplerGui holds a reference to an internal HTTPSampler, 
and it stores values in it as well as in the individual GUI elements. Because 
of the interaction of modifyTestElement, createTestElement, and 
configure(TestElement), this double storing of values causes problems. The 
easiest way to fix this is to remove the HTTPSampler member, and force 
these three methods to store and retrieve all values from the individual gui 
components. Also, createTestElement should just call modifyTestElement 
after it creates an HTTPSampler.

In any case, this particular unit test failure is not a serious one.

-Mike

On 3 Dec 2003 at 14:01, Jordi Salvat i Alabart wrote:

> Just to clarify and factor out possible platform differences: are you 
> seeing this unit test failure?
> 
> > [java] 1) 
testGUIComponents(org.apache.jmeter.junit.JMeterTest)junit.framework.Co
mparisonFailure: GUI-CLASS: Failed on 
org.apache.jmeter.protocol.http.control.gui.AccessLogSamplerGui 
expected:<> but was:
> > [java] at 
org.apache.jmeter.junit.JMeterTest.testGUIComponents(JMeterTest.java:75)
> > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
> > [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:39)
> > [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImpl.java:25)
> > [java] at org.apache.jorphan.test.AllTests.main(AllTests.java:183)
> 
> I know it's not the one you're researching for Gump, but It's been there 
> for a looong while. I'll work on it.
> 
> -- 
> Salut,
> 
> Jordi.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 




--
Michael Stover
[EMAIL PROTECTED]
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now

Reply via email to