<div class="gmail_quote">On Sat, Aug 21, 2010 at 1:09 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><div class="gmail_quote">On Sat, Aug 21, 2010 at 1:02 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There is no convention. For the wiki examples we chose a convention.<br>
<div><div></div><div></div></div></blockquote></div><br></div><div>Can I suggest we agree upon and adopt a convention moving forward? We can go back and "correct" existing tests as we have time. It seems reasonable to have a</div>
<div><br></div><div>TestClassName.cxx (without the vtk- prefix) for every concrete class.</div></blockquote><div><br></div><div>I have followed this convention in the tests I have added, but in many ways the "Test" seems redundant. The big plus is that in my editor of choice (Qt Creator) I am able to type "TestS" and have every test starting with S listed, but to run a test I have to type,</div>
<div><br></div><div>./bin/ChartsCxxTests TestScientificPlot -I</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><br></div><div>(e.g vtkPoints -> TestPoints.cxx)</div>
<div><br></div><div>I'm not sure how to handle abstract class tests.</div>
<div><font class="Apple-style-span" color="#888888"><br></font></div></blockquote><div>I doubt the one-to-one mapping of test names to classes will ever be the case. Some classes are very amenable to this, others are not. I agree that it would be good to establish a standard, and stick to it. Now would be a great time to get something set, and do it. I have been working with Bill a little to migrate some tests to use the testing interactor machinery, finding issues and seeing what we can do there too.</div>
<div><br></div><div>Marcus</div><div>--</div>Marcus D. Hanwell, Ph.D.<br>R&D Engineer, Kitware Inc.<br>(518) 881-4937<br></div>