<table><tr><td style="">TallFurryMan created this revision.<br />TallFurryMan added a reviewer: KStars.<br />Herald added a project: KDE Edu.<br />Herald added a subscriber: kde-edu.<br />TallFurryMan requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28890">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This differential makes UI tests independent on the local user settings by using the Qt Test Mode user. Basically it:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">Uses test mode to make sure unitary userdb tests use a blank user db.</li>
<li class="remarkup-list-item">Uses test mode to make sure UI tests start from scratch, as the user folder is completely removed before testing.</li>
<li class="remarkup-list-item">Provides 'kstarsui.rc' explicitely when initializing KStars, so that (at last!) toolbars and menus are visible.</li>
</ul>
<p>Now anyone can safely run UI tests without the risk that one's carefully tuned Ekos configuration is lost.</p>
<p>This differential should also fix builds made with no INDI dependency installed.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Execute kstars_ui_tests.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>improve__userdb_tests (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28890">https://phabricator.kde.org/D28890</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>Tests/auxiliary/testksuserdb.cpp<br />
Tests/auxiliary/testksuserdb.h<br />
Tests/kstars_ui/CMakeLists.txt<br />
Tests/kstars_ui/kstars_ui_tests.cpp<br />
Tests/kstars_ui/kstars_ui_tests.h<br />
Tests/kstars_ui/test_ekos.cpp<br />
Tests/kstars_ui/test_ekos.h<br />
Tests/kstars_ui/test_ekos_focus.cpp<br />
Tests/kstars_ui/test_ekos_focus.h<br />
Tests/kstars_ui/test_ekos_simulator.cpp<br />
Tests/kstars_ui/test_ekos_simulator.h<br />
Tests/kstars_ui/test_ekos_wizard.cpp<br />
Tests/kstars_ui/test_ekos_wizard.h<br />
Tests/kstars_ui/test_kstars_startup.cpp<br />
Tests/kstars_ui/test_kstars_startup.h<br />
kstars/kstarsinit.cpp</div></div></div><br /><div><strong>To: </strong>TallFurryMan, KStars<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>