> On July 18, 2012, 12:11 p.m., Sebastian Trueg wrote: > > autotests/CMakeLists.txt, line 3 > > <http://git.reviewboard.kde.org/r/105597/diff/1/?file=73148#file73148line3> > > > > does this mean the tests install files?
Yup. The test library installs some files which are required to run the tests. It installs a mock "nepomukserverrc" file along with certain shell scripts for creating the mock dbus and kde session. > On July 18, 2012, 12:11 p.m., Sebastian Trueg wrote: > > autotests/README, line 17 > > <http://git.reviewboard.kde.org/r/105597/diff/1/?file=73149#file73149line17> > > > > Would it be hard to add an environment check to avoid loosing any data? Good idea. I'll do that. > On July 18, 2012, 12:11 p.m., Sebastian Trueg wrote: > > autotests/lib/CMakeLists.txt, line 54 > > <http://git.reviewboard.kde.org/r/105597/diff/1/?file=73150#file73150line54> > > > > Why do you install the test? nepomuktest is actually the libraries name. I'll change it to nepomuktestlib. - Vishesh ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/105597/#review16069 ----------------------------------------------------------- On July 16, 2012, 6:57 p.m., Vishesh Handa wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/105597/ > ----------------------------------------------------------- > > (Updated July 16, 2012, 6:57 p.m.) > > > Review request for Nepomuk and Sebastian Trueg. > > > Description > ------- > > This is the Nepomuk Test Framework which I had described months ago over here > - http://vhanda.in/blog/2012/03/nepomuk-test-framework/ > > It is currently in the testLibrary branch in nepomuk-core. This is a diff of > testLibrary against KDE/4.9. > > The testlib creates mock kde and dbus sessions and then starts Nepomuk. It > waits till the nepomuk query service has been started and it then runs the > tests. Once the tests have run, it shuts down the mock kde sessions, and > destroys the temporary folder in which it was created. > > The patch also contains very detailed tests for the Resource class. Most of > the tests fail :) It seems like I have a lot of work to do. > > I would like to merge this into KDE/4.9. I hope no one has any objections. > > > Diffs > ----- > > CMakeLists.txt 4d5ae3f > autotests/CMakeLists.txt PRE-CREATION > autotests/README PRE-CREATION > autotests/lib/CMakeLists.txt PRE-CREATION > autotests/lib/NepomukTestLibMacros.cmake.in PRE-CREATION > autotests/lib/nepomukserverrc.in PRE-CREATION > autotests/lib/nepomuktest_export.h PRE-CREATION > autotests/lib/testbase.h PRE-CREATION > autotests/lib/testbase.cpp PRE-CREATION > autotests/lib/tools/CMakeLists.txt PRE-CREATION > autotests/lib/tools/runNepomukTest.sh.in PRE-CREATION > autotests/lib/tools/run_in_new_dbus_session.sh PRE-CREATION > autotests/lib/tools/with-nepomuk-sandbox.sh.in PRE-CREATION > autotests/test/CMakeLists.txt PRE-CREATION > autotests/test/resourcetests.h PRE-CREATION > autotests/test/resourcetests.cpp PRE-CREATION > > Diff: http://git.reviewboard.kde.org/r/105597/diff/ > > > Testing > ------- > > Yes. The tests have been tested. > > If you want to run the tests please run them via 'ctest -VV'. Do not run the > test executables manually. This would not result in the test environment > being setup, and a new virtuoso database would be not be created. This would > result in ALL your Nepomuk data being deleted at the end of the test. > > > Thanks, > > Vishesh Handa > >
_______________________________________________ Nepomuk mailing list [email protected] https://mail.kde.org/mailman/listinfo/nepomuk
