[tracker/sam/functional-test-runner: 6/15] functional-tests: Rearrange the tests into modules
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/functional-test-runner: 6/15] functional-tests: Rearrange the tests into modules
- Date: Tue, 30 Dec 2014 21:21:09 +0000 (UTC)
commit d7af2d000142f8a9373184a5f510d25c0843233b
Author: Sam Thursfield <sam afuera me uk>
Date: Fri Dec 26 23:59:01 2014 +0000
functional-tests: Rearrange the tests into modules
This should allow running the whole test suite in one go using
'python -m unittest xxx', which will make the output more readable.
tests/functional-tests/__init__.py | 1 -
.../{ => apps}/600-applications-camera.py | 0
.../{ => apps}/601-applications-sync.py | 0
tests/functional-tests/apps/__init__.py | 3 +++
.../{ => extractor}/400-extractor.py | 0
tests/functional-tests/extractor/__init__.py | 3 +++
.../{ => miner}/300-miner-basic-ops.py | 0
.../{ => miner}/301-miner-resource-removal.py | 0
.../{ => miner}/310-fts-indexing.py | 0
tests/functional-tests/miner/__init__.py | 3 +++
tests/functional-tests/{ => store}/01-insertion.py | 0
.../functional-tests/{ => store}/02-sparql-bugs.py | 0
.../{ => store}/03-fts-functions.py | 0
.../{ => store}/04-group-concat.py | 0
tests/functional-tests/{ => store}/05-coalesce.py | 0
tests/functional-tests/{ => store}/06-distance.py | 0
tests/functional-tests/{ => store}/07-graph.py | 0
.../{ => store}/08-unique-insertions.py | 0
.../{ => store}/09-concurrent-query.py | 0
.../{ => store}/10-sqlite-misused.py | 0
.../{ => store}/11-sqlite-batch-misused.py | 0
.../{ => store}/12-transactions.py | 0
.../{ => store}/13-threaded-store.py | 0
tests/functional-tests/{ => store}/14-signals.py | 0
.../functional-tests/{ => store}/15-statistics.py | 0
tests/functional-tests/{ => store}/16-collation.py | 0
.../{ => store}/17-ontology-changes.py | 0
.../{ => store}/200-backup-restore.py | 0
tests/functional-tests/store/__init__.py | 3 +++
.../{ => writeback}/500-writeback.py | 0
.../{ => writeback}/501-writeback-details.py | 0
31 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/tests/functional-tests/600-applications-camera.py
b/tests/functional-tests/apps/600-applications-camera.py
similarity index 100%
rename from tests/functional-tests/600-applications-camera.py
rename to tests/functional-tests/apps/600-applications-camera.py
diff --git a/tests/functional-tests/601-applications-sync.py
b/tests/functional-tests/apps/601-applications-sync.py
similarity index 100%
rename from tests/functional-tests/601-applications-sync.py
rename to tests/functional-tests/apps/601-applications-sync.py
diff --git a/tests/functional-tests/apps/__init__.py b/tests/functional-tests/apps/__init__.py
new file mode 100644
index 0000000..61b258f
--- /dev/null
+++ b/tests/functional-tests/apps/__init__.py
@@ -0,0 +1,3 @@
+"""
+This module contains functional tests for Tracker.
+"""
diff --git a/tests/functional-tests/400-extractor.py b/tests/functional-tests/extractor/400-extractor.py
similarity index 100%
rename from tests/functional-tests/400-extractor.py
rename to tests/functional-tests/extractor/400-extractor.py
diff --git a/tests/functional-tests/extractor/__init__.py b/tests/functional-tests/extractor/__init__.py
new file mode 100644
index 0000000..61b258f
--- /dev/null
+++ b/tests/functional-tests/extractor/__init__.py
@@ -0,0 +1,3 @@
+"""
+This module contains functional tests for Tracker.
+"""
diff --git a/tests/functional-tests/300-miner-basic-ops.py
b/tests/functional-tests/miner/300-miner-basic-ops.py
similarity index 100%
rename from tests/functional-tests/300-miner-basic-ops.py
rename to tests/functional-tests/miner/300-miner-basic-ops.py
diff --git a/tests/functional-tests/301-miner-resource-removal.py
b/tests/functional-tests/miner/301-miner-resource-removal.py
similarity index 100%
rename from tests/functional-tests/301-miner-resource-removal.py
rename to tests/functional-tests/miner/301-miner-resource-removal.py
diff --git a/tests/functional-tests/310-fts-indexing.py b/tests/functional-tests/miner/310-fts-indexing.py
similarity index 100%
rename from tests/functional-tests/310-fts-indexing.py
rename to tests/functional-tests/miner/310-fts-indexing.py
diff --git a/tests/functional-tests/miner/__init__.py b/tests/functional-tests/miner/__init__.py
new file mode 100644
index 0000000..61b258f
--- /dev/null
+++ b/tests/functional-tests/miner/__init__.py
@@ -0,0 +1,3 @@
+"""
+This module contains functional tests for Tracker.
+"""
diff --git a/tests/functional-tests/01-insertion.py b/tests/functional-tests/store/01-insertion.py
similarity index 100%
rename from tests/functional-tests/01-insertion.py
rename to tests/functional-tests/store/01-insertion.py
diff --git a/tests/functional-tests/02-sparql-bugs.py b/tests/functional-tests/store/02-sparql-bugs.py
similarity index 100%
rename from tests/functional-tests/02-sparql-bugs.py
rename to tests/functional-tests/store/02-sparql-bugs.py
diff --git a/tests/functional-tests/03-fts-functions.py b/tests/functional-tests/store/03-fts-functions.py
similarity index 100%
rename from tests/functional-tests/03-fts-functions.py
rename to tests/functional-tests/store/03-fts-functions.py
diff --git a/tests/functional-tests/04-group-concat.py b/tests/functional-tests/store/04-group-concat.py
similarity index 100%
rename from tests/functional-tests/04-group-concat.py
rename to tests/functional-tests/store/04-group-concat.py
diff --git a/tests/functional-tests/05-coalesce.py b/tests/functional-tests/store/05-coalesce.py
similarity index 100%
rename from tests/functional-tests/05-coalesce.py
rename to tests/functional-tests/store/05-coalesce.py
diff --git a/tests/functional-tests/06-distance.py b/tests/functional-tests/store/06-distance.py
similarity index 100%
rename from tests/functional-tests/06-distance.py
rename to tests/functional-tests/store/06-distance.py
diff --git a/tests/functional-tests/07-graph.py b/tests/functional-tests/store/07-graph.py
similarity index 100%
rename from tests/functional-tests/07-graph.py
rename to tests/functional-tests/store/07-graph.py
diff --git a/tests/functional-tests/08-unique-insertions.py
b/tests/functional-tests/store/08-unique-insertions.py
similarity index 100%
rename from tests/functional-tests/08-unique-insertions.py
rename to tests/functional-tests/store/08-unique-insertions.py
diff --git a/tests/functional-tests/09-concurrent-query.py
b/tests/functional-tests/store/09-concurrent-query.py
similarity index 100%
rename from tests/functional-tests/09-concurrent-query.py
rename to tests/functional-tests/store/09-concurrent-query.py
diff --git a/tests/functional-tests/10-sqlite-misused.py b/tests/functional-tests/store/10-sqlite-misused.py
similarity index 100%
rename from tests/functional-tests/10-sqlite-misused.py
rename to tests/functional-tests/store/10-sqlite-misused.py
diff --git a/tests/functional-tests/11-sqlite-batch-misused.py
b/tests/functional-tests/store/11-sqlite-batch-misused.py
similarity index 100%
rename from tests/functional-tests/11-sqlite-batch-misused.py
rename to tests/functional-tests/store/11-sqlite-batch-misused.py
diff --git a/tests/functional-tests/12-transactions.py b/tests/functional-tests/store/12-transactions.py
similarity index 100%
rename from tests/functional-tests/12-transactions.py
rename to tests/functional-tests/store/12-transactions.py
diff --git a/tests/functional-tests/13-threaded-store.py b/tests/functional-tests/store/13-threaded-store.py
similarity index 100%
rename from tests/functional-tests/13-threaded-store.py
rename to tests/functional-tests/store/13-threaded-store.py
diff --git a/tests/functional-tests/14-signals.py b/tests/functional-tests/store/14-signals.py
similarity index 100%
rename from tests/functional-tests/14-signals.py
rename to tests/functional-tests/store/14-signals.py
diff --git a/tests/functional-tests/15-statistics.py b/tests/functional-tests/store/15-statistics.py
similarity index 100%
rename from tests/functional-tests/15-statistics.py
rename to tests/functional-tests/store/15-statistics.py
diff --git a/tests/functional-tests/16-collation.py b/tests/functional-tests/store/16-collation.py
similarity index 100%
rename from tests/functional-tests/16-collation.py
rename to tests/functional-tests/store/16-collation.py
diff --git a/tests/functional-tests/17-ontology-changes.py
b/tests/functional-tests/store/17-ontology-changes.py
similarity index 100%
rename from tests/functional-tests/17-ontology-changes.py
rename to tests/functional-tests/store/17-ontology-changes.py
diff --git a/tests/functional-tests/200-backup-restore.py b/tests/functional-tests/store/200-backup-restore.py
similarity index 100%
rename from tests/functional-tests/200-backup-restore.py
rename to tests/functional-tests/store/200-backup-restore.py
diff --git a/tests/functional-tests/store/__init__.py b/tests/functional-tests/store/__init__.py
new file mode 100644
index 0000000..61b258f
--- /dev/null
+++ b/tests/functional-tests/store/__init__.py
@@ -0,0 +1,3 @@
+"""
+This module contains functional tests for Tracker.
+"""
diff --git a/tests/functional-tests/500-writeback.py b/tests/functional-tests/writeback/500-writeback.py
similarity index 100%
rename from tests/functional-tests/500-writeback.py
rename to tests/functional-tests/writeback/500-writeback.py
diff --git a/tests/functional-tests/501-writeback-details.py
b/tests/functional-tests/writeback/501-writeback-details.py
similarity index 100%
rename from tests/functional-tests/501-writeback-details.py
rename to tests/functional-tests/writeback/501-writeback-details.py
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]