<br><font size=2 face="sans-serif">Thanks Julian,</font>
<br>
<br><font size=2 face="sans-serif">I have made the test strategy changes</font>
<br>
<br><font size=2 face="sans-serif">I have added three specific test cases
for different NullMemberRepresentation values in megatest doAllTests()</font>
<br>
<br><font size=2 face="sans-serif">The tests that would have failed now
recuse themselves whenever the NullMemberRepresentation value is other
than default. Other possibility was to form the expected result values
using the current NullMemberRepresentation value atleast in the case of
non xml file based tests</font>
<br>
<br><font size=2 face="sans-serif">-Ajit</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Julian Hyde"
<jhyde@pentaho.org></b> </font>
<p><font size=1 face="sans-serif">11/04/2007 07:49 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
<julian@hydromatic.net></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">"'Ajit Joglekar'" <ajogleka@thoughtworks.com></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif"><mondrian@pentaho.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">RE: Eigenbase perforce change 10142
for review</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Ajit,<br>
<br>
The change looks great - but I'd have used a different testing strategy.<br>
<br>
With properties which can't readily be changed at runtime, I generally
use a<br>
different testing strategy. I don't try to change the property at runtime,<br>
but modify megatest to run the test with the property set both ways.<br>
Sometimes a test has to recuse itself if the property setting is<br>
incompatible with the test, but that's OK. The nice thing is that then
all<br>
tests can be run from Main, or indeed standalone.<br>
<br>
To see this, change the line in bin/megatest from<br>
<br>
doTest jdk1.6 access<br>
<br>
to<br>
<br>
doTest jdk1.6 access mondrian.olap.NullMemberRepresentation=TheNullMember<br>
<br>
and you'll get about 10 failures. Can you fix up the suite so it works<br>
whatever the value of the property. You should also be able to back out
the<br>
ant changes, such as the junit-nobuild-nomember target.<br>
<br>
Julian<br>
<br>
<br>
</tt></font>
<br>