Paul, > I've just started preparing for the change, and started off by thinking > about the Test cases first. > > Am I correct in thinking that the following is the process to add a test > case for log4j & MDC?: > > * modify XMLLayoutTestCase, add another test method for MDC. > * create an xmlLayout.MDC witness file with the expected text output > * add the method name to the suite() > > That seems logical, so I'll be attempting that first, ensuring > that the test > fails and then start programming until the test works.
Oooh. Test cases. Primo! Sounds like you have a good handle on it to me. I usually create the witness file by generating it using the test case. I check it over to make sure the output is correct and expected, then move it into the witness file directory. We don't expect you to create it by hand. BTW, would you be interested in writing a page on the wiki about what you had to do to get the development environment setup for log4j? -Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]