1. 19 Mar, 2019 2 commits
  2. 18 Mar, 2019 1 commit
  3. 05 Jan, 2019 1 commit
  4. 19 Jul, 2018 1 commit
  5. 16 Jul, 2018 2 commits
    • Sam Thursfield's avatar
      functional-tests: Rewrite tracker-extract tests to parse JSON-LD output · baf8b40e
      Sam Thursfield authored
      These tests have been broken for about 2 years (since the TrackerResource
      work landed and changed the output generated by `tracker-extract
      --file`).
      
      In this commit they are reworked with a focus on using JSON-LD rather
      than doing any custom parsing of SPARQL. The test description files are
      now JSON too rather than .ini format, which is not stricty needed but
      should make the code a lot simpler
      
      The failure messages could still be improved in many cases, help is
      welcome here!
      baf8b40e
    • Sam Thursfield's avatar
      meson: Rework how 400-extractor-metadata is run · 441a0886
      Sam Thursfield authored
      We now create a separate test() instance corresponding to each of the
      test cases, which were previously treated as one single test.
      
      This allows running only one of the tests by doing something like
      `meson test functional/extract/images/roi.expected.json`, which is
      useful for debugging.
      441a0886
  6. 08 Jun, 2017 1 commit
    • Sam Thursfield's avatar
      Remove Maemo/Meego leftovers · 809b5676
      Sam Thursfield authored
      This removes various code paths that we believe to be unused.
      
        * The userguides miner has been removed altogether.
        * The application miner no longer parses MeeGo-style .desktop files
        * The TRACKER_DISABLE_MEEGOTOUCH_LOCALE environment flag is gone
          (it already did nothing)
        * Character set detection with libmeegotouch is removed, only enca
          or libicu are supported
        * Meego-specific flags are gone from .desktop files
        * Functional tests have lost their vestigal Scratchbox and Aegis support
      
      There are 5 ontologies referencing Maemo, 4 of which are largely unused.
      These have been kept around in case anyone is using them outside
      Tracker.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=783555
      809b5676
  7. 13 Jul, 2016 1 commit
  8. 31 Jul, 2014 1 commit
    • Sam Thursfield's avatar
      functional-tests: Rework 400-extractor.py test · 7685f7b7
      Sam Thursfield authored
      Tests now call the tracker-extract process manually and parse its
      ouput. This is necessary because the D-Bus interface it used to expose
      has been removed. It'd be better to run the tests with a store and
      miner and check that the correct data is inserted in the store, but
      for now this approach is OK, and it does have the advantage that the
      extractor is tested independently of the store & filesystem miner.
      7685f7b7
  9. 24 Feb, 2014 1 commit
    • Martin Kampas's avatar
      functional-tests: 400-extractor.py expects different arguments · 73e9adc0
      Martin Kampas authored
      The tests.xml is autogenerated by create-tests-xml.py. It scans all *.py
      scripts for test class definitions and generate one test case for each class
      found. In that test case it invokes the script with the class name passed as
      an argument. 400-extractor.py expect different kind of argument.
      73e9adc0
  10. 06 Sep, 2011 1 commit
  11. 25 Aug, 2011 1 commit
    • Sam Thursfield's avatar
      functional-tests: Refactor common/utils/helpers.py · 690eecb1
      Sam Thursfield authored
      * Add Helper base class.
      
      * New setup behaviour: start() runs the process and blocks until it is
        available on the bus. connect() and wait() are removed.
      
      * A new process is always explicitly spawned, instead of relying on DBus
        activation. This allows passing environment variables to the tracker
        processes being tested, regardless of whether they are being run in
        the session dbus or a nested bus from test-helper.sh.
      
      * common/utils/system.py: use Helper instead of our own LifeCycle
        classes because they now do the same thing.
      
      * StoreHelper: don't try to respawn the tracker-store unless it actually
        has disappeared from the bus - other exceptions are now passed to the
        caller.
      
      All tests fixed for new behaviour.
      690eecb1
  12. 24 Aug, 2011 3 commits
  13. 12 Apr, 2011 2 commits
  14. 04 Feb, 2011 1 commit
  15. 18 Aug, 2010 1 commit