this seems to work:
Logger.getLogger(CurrencyConverter.class).setLevel(Level.WARN);
testConvertString();
Logger.getLogger(CurrencyConverter.class).setLevel(Level.DEBUG);
testConvertString();
ok i will add the currencyConverterTest to the jirra
next ;)
tibi wrote:
> working on testing the currencyConverter
>
>
> anyone an idea how to test this kind of stuff:
>
> if (log.isDebugEnabled()) {
> log.debug("value (" + value + ") instance of String");
> }
>
> how can i toggel the isDebugEnabled??
>
>
>
> ---------------------------------------------------------------------
> 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]