<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hi all,</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">In an attempt to make maintaining Engine&#39;s DAO tests a bit more manageable, yesterday I&#39;ve merged patches to upgrade the DBUnit version we&#39;re using to the latest available version, 2.5.3 [1], and changed the format to flat-XML [2], ending up with a fixures.xml file which is almost 10K lines shorter.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">What do you need to know about this change? Frankly, not much.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">The format itself is pretty self-descriptive. To add a row to a table in the test database, just add a row to fixtures.xml: &lt;table_name some_column=&quot;some_value&quot; some_other_column=&quot;123&quot;/&gt;</div><div class="gmail_default" style="font-family:monospace,monospace">Note that you can pretty much add such a row wherever you want in the file, but in the interest of maintainability, please group rows from the same tables together, and leave an empty line between tables (as the file currently is).</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Note also that DBUnit 2.5.3 doesn&#39;t seem to allow timezones, offsets or whitespaces at the end of timestamp values. Since our tests don&#39;t really depend on them, I just removed the handful of instances we had. If anyone wants to take a deeper look, I&#39;d gladly review it :-)</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">If this change causes trouble to anyone (it shouldn&#39;t - it was tested both on my machine and in the CI, several times), please let me know.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">You friendly neighborhood cleanup guy,</div><div class="gmail_default" style="font-family:monospace,monospace">Allon</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">[1] <a href="https://gerrit.ovirt.org/#/c/76678/">https://gerrit.ovirt.org/#/c/76678/</a></div><div class="gmail_default" style="font-family:monospace,monospace">[2] <a href="https://gerrit.ovirt.org/#/c/76679/">https://gerrit.ovirt.org/#/c/76679/</a></div></div>