tests: Fix creation/deletion of E.Sources in EDS test backend
authorPhilip Withnall <philip@tecnocode.co.uk>
Wed, 3 Oct 2012 23:50:38 +0000 (00:50 +0100)
committerPhilip Withnall <philip@tecnocode.co.uk>
Thu, 4 Oct 2012 06:45:41 +0000 (07:45 +0100)
commit43d690d0aa4ceb6702cc179c5f75d10bcfeb8f72
tree5b085e79d55c3f6d723b38f4c1a30bf77b80c13a
parent7c0ad68e75c5ab98abe348ce51b9479ce5ff6074
tests: Fix creation/deletion of E.Sources in EDS test backend

The E.Sources for testing were being created by calling `cp` in the wrapper
script running around the entire test suite. However, each test case was
tearing down the E.Sources by deleting them. This meant that no E.Source
existed for anything except the first test case in a given test suite.

The fix is to move the file copying inside the test suiteā€™s setup method.
tests/lib/eds/backend.vala
tests/tools/Makefile.am
tests/tools/eds.sh
tests/tools/other.source [deleted file]
tests/tools/test.source [deleted file]