I've found the cause for this one: the failing test is checking that the TestElements returned by two consecutive calls to guiComponent.createTestElement() will be separate -- which is not true for the AccessLogSamplerGui.

The only reason why it does not fail for the ProxyControlGUI (which also repeatedly returns the same ProxyControl object) is because the ProxyControl is because the test won't continue after that first failure.

Which is wrong: the test or the components?

--
Salut,

Jordi.



En/na Jordi Salvat i Alabart ha escrit:
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.ComparisonFailure: 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.java:39)


[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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.



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



Reply via email to