1. 21 Aug, 2015 1 commit
  2. 24 May, 2013 1 commit
  3. 23 May, 2013 1 commit
  4. 10 Apr, 2013 1 commit
  5. 08 Apr, 2013 1 commit
  6. 05 Apr, 2013 1 commit
  7. 04 Apr, 2013 4 commits
    • Martin Kampas's avatar
      ut_urlresolver: work in sandbox · 90b3a1e7
      Martin Kampas authored
      Actually, sandbox was not used up to now - it was instantiated but without
      arguments and the enviroment was not prepared externally -> without effect.
    • Martin Kampas's avatar
    • Martin Kampas's avatar
    • Martin Kampas's avatar
      Refactorize project files · 16fe343d
      Martin Kampas authored
      Every subproject "mysubproject" of type app or lib now contains three qmake
      Dependency between two projects is satisfied by calling
      include(../path/to/dependee/dependee.pri) inside dependent_dependencies.pri.
      mysubproject.pri always includes mysubproject_dependencies.pri - this way
      dependencies are gathered transitively.
      Every mysubproject.pro starts with defining TARGET and including one of the
      Settings common to both app and lib type of projects comes from
      For tests, there are derived templates inside tests directory
      Common settings similarly comes from
      Source code root is added to INCLUDEPATH and DEPENDPATH so it is possible to
      include any header file specifying ints path relatively to source code root.
      Since all the libs and apps are part of single source tree, I recommend to
      express this fact by #including ssu own headers with "" instead of <>.
        #include "libssu/ssu.h"
      Projects outside of ssu source tree will still use #include <ssu.h>
      For tests, the "tests" dir is also added to INCLUDEPATH and DEPENDPATH so the
      "tests/" path component can/should be omitted inside tests code:
        #include "testutils/process.h"
      I have removed the hardcoded build paths (buildpath.pri). It is still possible
      to keep source tree clean of build artefacts -- with shadow build:
      mkdir build && cd build && qmake ../ssu.pro -r && make
      Note that the output directories for app and lib binaries is still hardcoded
      as build/{bin,lib}.
      When gcov is to be used, simply build without the shadow build and object
      files will be placed next to source files.
      Other notes:
      I found some CONFIG settings having no effect and removed these. Namely
      CONFIG += dll - shared libs are build by default
      CONFIG -= app_bundle - Mac OS X specific
      CONFIG += console - Windows specific
      CONFIG += qtestlib - QT+=testlib should be the prefered way
      -maybe I am wrong?
      The 'unix' conditional was not used consistently. Similar issue with
      $${PREFIX}. As it is not much useful at the moment, I rather removed it.
  8. 03 Apr, 2013 1 commit
    • Martin Kampas's avatar
      Extract some code into libtestutils · 8cfafdfb
      Martin Kampas authored
      1. Un-inline SandboxFileEngineHandler (originally it was all implemented in
         single header file to avoid the need for a real library to be linked)
      2. Extract RndSsuCliTest::Process
      3. Keep all the stuff inside tests/testutils
  9. 02 Apr, 2013 1 commit
  10. 08 Oct, 2012 1 commit