As a whole, I have a feeling that our TreeNode<-->TestElement<-->GUI relationship (and the corresponding API semantics) is not as clean as it should be. We'll need to work on that [again] in the future.
-- Salut,
Jordi.
En/na [EMAIL PROTECTED] ha escrit:
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:<Shouldn't be here>
[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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
