[tracker/functional-test: 4/18] Configuration files to be used in the tests
- From: Ivan Frade <ifrade src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/functional-test: 4/18] Configuration files to be used in the tests
- Date: Wed, 18 Aug 2010 16:47:42 +0000 (UTC)
commit 5839d674ba98560b116c148d893105103e8fae5c
Author: Ivan Frade <ivan frade nokia com>
Date: Wed Aug 18 18:22:02 2010 +0300
Configuration files to be used in the tests
.../test-configurations/Makefile.am | 3 +
.../miner-basic-ops/Makefile.am | 9 +++
.../miner-basic-ops/tracker/tracker-fts.cfg | 16 ++++++
.../miner-basic-ops/tracker/tracker-miner-fs.cfg | 57 ++++++++++++++++++++
.../miner-basic-ops/tracker/tracker-store.cfg | 4 ++
.../test-configurations/writeback/Makefile.am | 8 +++
.../writeback/tracker/tracker-miner-fs.cfg | 57 ++++++++++++++++++++
7 files changed, 154 insertions(+), 0 deletions(-)
---
diff --git a/tests/functional-tests/test-configurations/Makefile.am b/tests/functional-tests/test-configurations/Makefile.am
new file mode 100644
index 0000000..50a799f
--- /dev/null
+++ b/tests/functional-tests/test-configurations/Makefile.am
@@ -0,0 +1,3 @@
+include $(top_srcdir)/Makefile.decl
+
+SUBDIRS = miner-basic-ops writeback
\ No newline at end of file
diff --git a/tests/functional-tests/test-configurations/miner-basic-ops/Makefile.am b/tests/functional-tests/test-configurations/miner-basic-ops/Makefile.am
new file mode 100644
index 0000000..2bb1603
--- /dev/null
+++ b/tests/functional-tests/test-configurations/miner-basic-ops/Makefile.am
@@ -0,0 +1,9 @@
+include $(top_srcdir)/Makefile.decl
+
+conftestdir = $(datadir)/tracker-tests/test-configurations/miner-basic-ops/tracker
+
+conftest_DATA = \
+ tracker/tracker-miner-fs.cfg \
+ tracker/tracker-fts.cfg
+
+EXTRA_DIST = $(conftest_DATA)
\ No newline at end of file
diff --git a/tests/functional-tests/test-configurations/miner-basic-ops/tracker/tracker-fts.cfg b/tests/functional-tests/test-configurations/miner-basic-ops/tracker/tracker-fts.cfg
new file mode 100644
index 0000000..e3d9ce2
--- /dev/null
+++ b/tests/functional-tests/test-configurations/miner-basic-ops/tracker/tracker-fts.cfg
@@ -0,0 +1,16 @@
+
+[Indexing]
+# Set the minimum length of words to index (0->30, default=3)
+MinWordLength=3
+# Set the maximum length of words to index (0->200, default=30)
+MaxWordLength=30
+# Flag to enable word stemming utility (default=FALSE)
+EnableStemmer=false
+# Flag to enable word unaccenting (default=TRUE)
+EnableUnaccent=true
+# Flag to ignore numbers in FTS (default=TRUE)
+IgnoreNumbers=true
+# Flag to ignore stop words in FTS (default=TRUE)
+IgnoreStopWords=true
+# Maximum unique words to index from a file's content (default=10000)
+MaxWordsToIndex=10000
diff --git a/tests/functional-tests/test-configurations/miner-basic-ops/tracker/tracker-miner-fs.cfg b/tests/functional-tests/test-configurations/miner-basic-ops/tracker/tracker-miner-fs.cfg
new file mode 100644
index 0000000..4a674c7
--- /dev/null
+++ b/tests/functional-tests/test-configurations/miner-basic-ops/tracker/tracker-miner-fs.cfg
@@ -0,0 +1,57 @@
+
+[General]
+# Log verbosity (0=errors, 1=minimal, 2=detailed, 3=debug)
+Verbosity=0
+# Time in seconds before crawling filesystem (0->1000)
+InitialSleep=15
+
+[Monitors]
+# Set to false to completely disable any monitoring
+EnableMonitors=true
+# Time in seconds between same events to prevent flooding (0->1000)
+ScanTimeout=0
+# Time in seconds for events to be cached (0->1000)
+CacheTimeout=60
+
+[Indexing]
+# Sets the indexing speed (0->20, where 20=slowest speed)
+Throttle=0
+# Set to true to index while running on battery
+IndexOnBattery=true
+# Set to true to index while running on battery for the first time only
+IndexOnBatteryFirstTime=true
+# Set to true to enable traversing mounted directories on other file systems
+# (this excludes removable devices)
+IndexMountedDirectories=true
+# Set to true to enable traversing mounted directories for removable devices
+# (this includes optical discs)
+IndexRemovableMedia=true
+# Set to true to enable traversing CDs, DVDs, and generally optical media
+# (if removable devices are not indexed, optical discs won't be either)
+IndexOpticalDiscs=false
+# Pause indexer when disk space is <= this value
+# (0->100, value is in % of $HOME file system, -1=disable pausing)
+LowDiskSpaceLimit=1
+# List of directories to crawl recursively for indexing (separator=;)
+# Special values include: (see /etc/xdg/user-dirs.defaults & $HOME/.config/user-dirs.default)
+# &DESKTOP
+# &DOCUMENTS
+# &DOWNLOAD
+# &MUSIC
+# &PICTURES
+# &PUBLIC_SHARE
+# &TEMPLATES
+# &VIDEOS
+# If $HOME is the default below, it is because $HOME/.config/user-dirs.default was missing.
+IndexRecursiveDirectories=$HOME/test-monitored;
+# List of directories to index but not sub-directories for changes (separator=;)
+# Special values used for IndexRecursiveDirectories can also be used here
+IndexSingleDirectories=
+# List of directories to NOT crawl for indexing (separator=;)
+IgnoredDirectories=po;CVS;core-dumps;lost+found;
+# List of directories to NOT crawl for indexing based on child files (separator=;)
+IgnoredDirectoriesWithContent=backup.metadata;
+# List of files to NOT index (separator=;)
+IgnoredFiles=*~;*.o;*.la;*.lo;*.loT;*.in;*.csproj;*.m4;*.rej;*.gmo;*.orig;*.pc;*.omf;*.aux;*.tmp;*.po;*.vmdk;*.vm*;*.nvram;*.part;*.rcore;lzo;autom4te;conftest;confstat;Makefile;SCCS;litmain.sh;libtool;config.status;confdefs.h;
+# Interval in days to check the filesystem is up to date in the database. If set to 0, crawling always occurs on startup, if -1 crawling is disabled entirely. Maximum is 365.
+CrawlingInterval=0
diff --git a/tests/functional-tests/test-configurations/miner-basic-ops/tracker/tracker-store.cfg b/tests/functional-tests/test-configurations/miner-basic-ops/tracker/tracker-store.cfg
new file mode 100644
index 0000000..d772aa2
--- /dev/null
+++ b/tests/functional-tests/test-configurations/miner-basic-ops/tracker/tracker-store.cfg
@@ -0,0 +1,4 @@
+
+[General]
+# Log verbosity (0=errors, 1=minimal, 2=detailed, 3=debug)
+Verbosity=2
diff --git a/tests/functional-tests/test-configurations/writeback/Makefile.am b/tests/functional-tests/test-configurations/writeback/Makefile.am
new file mode 100644
index 0000000..dab7611
--- /dev/null
+++ b/tests/functional-tests/test-configurations/writeback/Makefile.am
@@ -0,0 +1,8 @@
+include $(top_srcdir)/Makefile.decl
+
+wbconftestdir = $(datadir)/tracker-tests/test-configurations/writeback/tracker
+
+wbconftest_DATA = \
+ tracker/tracker-miner-fs.cfg
+
+EXTRA_DIST = $(wbconftest_DATA)
\ No newline at end of file
diff --git a/tests/functional-tests/test-configurations/writeback/tracker/tracker-miner-fs.cfg b/tests/functional-tests/test-configurations/writeback/tracker/tracker-miner-fs.cfg
new file mode 100644
index 0000000..4ed1516
--- /dev/null
+++ b/tests/functional-tests/test-configurations/writeback/tracker/tracker-miner-fs.cfg
@@ -0,0 +1,57 @@
+
+[General]
+# Log verbosity (0=errors, 1=minimal, 2=detailed, 3=debug)
+Verbosity=0
+# Time in seconds before crawling filesystem (0->1000)
+InitialSleep=15
+
+[Monitors]
+# Set to false to completely disable any monitoring
+EnableMonitors=true
+# Time in seconds between same events to prevent flooding (0->1000)
+ScanTimeout=0
+# Time in seconds for events to be cached (0->1000)
+CacheTimeout=60
+
+[Indexing]
+# Sets the indexing speed (0->20, where 20=slowest speed)
+Throttle=0
+# Set to true to index while running on battery
+IndexOnBattery=false
+# Set to true to index while running on battery for the first time only
+IndexOnBatteryFirstTime=true
+# Set to true to enable traversing mounted directories on other file systems
+# (this excludes removable devices)
+IndexMountedDirectories=true
+# Set to true to enable traversing mounted directories for removable devices
+# (this includes optical discs)
+IndexRemovableMedia=true
+# Set to true to enable traversing CDs, DVDs, and generally optical media
+# (if removable devices are not indexed, optical discs won't be either)
+IndexOpticalDiscs=false
+# Pause indexer when disk space is <= this value
+# (0->100, value is in % of $HOME file system, -1=disable pausing)
+LowDiskSpaceLimit=1
+# List of directories to crawl recursively for indexing (separator=;)
+# Special values include: (see /etc/xdg/user-dirs.defaults & $HOME/.config/user-dirs.default)
+# &DESKTOP
+# &DOCUMENTS
+# &DOWNLOAD
+# &MUSIC
+# &PICTURES
+# &PUBLIC_SHARE
+# &TEMPLATES
+# &VIDEOS
+# If $HOME is the default below, it is because $HOME/.config/user-dirs.default was missing.
+IndexRecursiveDirectories=$HOME/test-writeback-monitored;
+# List of directories to index but not sub-directories for changes (separator=;)
+# Special values used for IndexRecursiveDirectories can also be used here
+IndexSingleDirectories=
+# List of directories to NOT crawl for indexing (separator=;)
+IgnoredDirectories=po;CVS;core-dumps;lost+found;
+# List of directories to NOT crawl for indexing based on child files (separator=;)
+IgnoredDirectoriesWithContent=backup.metadata;
+# List of files to NOT index (separator=;)
+IgnoredFiles=*~;*.o;*.la;*.lo;*.loT;*.in;*.csproj;*.m4;*.rej;*.gmo;*.orig;*.pc;*.omf;*.aux;*.tmp;*.po;*.vmdk;*.vm*;*.nvram;*.part;*.rcore;lzo;autom4te;conftest;confstat;Makefile;SCCS;litmain.sh;libtool;config.status;confdefs.h;
+# Interval in days to check the filesystem is up to date in the database. If set to 0, crawling always occurs on startup, if -1 crawling is disabled entirely. Maximum is 365.
+CrawlingInterval=0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]