[Yanel-dev] Hardcoded yanel prefix
Guillaume Déflache
guillaume.deflache at wyona.com
Mon Dec 15 09:03:00 CET 2008
Hi all!
Michael Wechner schrieb:
> I think we need to refactor the hard-coded yanel prefix within
>
> src/test/htmlunit/org/wyona/yanel/htmlunit/yanelwebsite/GlobalDataWebTest.java
>
>
> Any idea how we can best do this?
Yeah, sorry for that. I introduced this... but Simon and I started to
think of a
solution Friday afternoon.
I still need to test it but there should no be any problem, will send a
patch here or (may be better) on the original bug ASAP.
Basically I just added a parameter for this in the
htmlunit-properties.xml HTMLUnit XML
properties file, and made the value available as a protected variable in
the base class for tests, which made the hard-coded constant superfluous.
Also introducing a local.htmlunit-properties.xml file would also help
(esp. with Hudson) not to have locally-modified configuration files, so
I was thinking of including that in the patch too. WDYT?
Cheers,
Guillaume
More information about the Yanel-development
mailing list