PropertiesWithComments toggle ?

Tom Zeller tzeller at dragonacea.biz
Wed Oct 22 17:56:55 EDT 2014


Rod,

Do you have a suggestion for how to toggle a property which by default
is commented out ?

For consent integration tests, I'd like to set a property before tests
are run and then revert to the original uncommented-out form after the
tests finish.

I'm using replaceProperty("key", "value") to set the property,
however, if I try to revert my change by calling
replaceProperty("#key", "value") I of course get two properties, one
that is commented out and one that is not.

Thanks.


More information about the dev mailing list