Daniel Molkentin
dc1e73dcb7
Merge remote-tracking branch 'origin/1.7'
...
Conflicts:
src/libsync/syncjournaldb.cpp
test/CMakeLists.txt
2014-10-28 23:27:58 -04:00
Klaas Freitag
b691521662
tests: Fix CSync Journal test, use real CSYNC struct from csync_private.
...
This fixes bug #2396
2014-10-27 13:15:33 +01:00
Christian Kamm
e5269a4151
Add SyncJournalDB autotests.
...
There also was a bug in syncjournaldb: in some error conditions the
sql query wasn't reset properly. We now always reset a query before
calling bindValue.
2014-10-23 15:15:47 +02:00
Christian Kamm
7ae0338f5c
Merge remote-tracking branch 'origin/1.7'
...
Conflicts:
src/CMakeLists.txt
src/cmd/cmd.cpp
src/gui/socketapi.h
src/libsync/syncengine.h
test/CMakeLists.txt
2014-10-22 10:41:55 +02:00
Klaas Freitag
2f740fe471
tests: Added unicode read an write testcase for ownsql.
2014-10-16 21:21:47 +02:00
Klaas Freitag
0094c1ecf5
Make the sync work with new sql implementation.
2014-10-14 20:51:51 +02:00
Klaas Freitag
6b5fcf53eb
Test module for the new sql implementation.
2014-10-14 20:51:34 +02:00
Olivier Goffart
d7d241196e
tests: add the source dir in the include paths
2014-09-22 08:58:35 +02:00
Olivier Goffart
eab488e64f
compile after merge
2014-09-18 19:58:04 +02:00
Olivier Goffart
50e718b1e7
Merge branch '1.7'
...
Conflicts:
src/CMakeLists.txt
src/cmd/cmd.cpp
src/gui/folder.cpp
src/gui/socketapi.cpp
translations/mirall_ca.ts
translations/mirall_cs.ts
translations/mirall_de.ts
translations/mirall_el.ts
translations/mirall_en.ts
translations/mirall_es.ts
translations/mirall_es_AR.ts
translations/mirall_et.ts
translations/mirall_eu.ts
translations/mirall_fa.ts
translations/mirall_fi.ts
translations/mirall_fr.ts
translations/mirall_gl.ts
translations/mirall_hu.ts
translations/mirall_it.ts
translations/mirall_ja.ts
translations/mirall_nl.ts
translations/mirall_pl.ts
translations/mirall_pt.ts
translations/mirall_pt_BR.ts
translations/mirall_ru.ts
translations/mirall_sk.ts
translations/mirall_sl.ts
translations/mirall_sv.ts
translations/mirall_th.ts
translations/mirall_tr.ts
translations/mirall_uk.ts
translations/mirall_zh_CN.ts
translations/mirall_zh_TW.ts
2014-09-18 17:10:21 +02:00
Daniel Molkentin
fe023e2229
Allow passing user/pass explicitly or via netrc
...
#2211
2014-09-16 23:52:28 +02:00
Daniel Molkentin
2c6324e3e5
Fix tests
2014-08-27 10:27:29 +02:00
Daniel Molkentin
902bb7a198
Merge remote-tracking branch 'origin/master' into move_lib_to_sep_dir
...
Conflicts:
src/CMakeLists.txt
src/gui/accountsettings.cpp
src/gui/folderwizard.cpp
src/gui/settingsdialog.cpp
src/libsync/syncengine.h
2014-08-26 11:29:42 +02:00
Klaas Freitag
8d819956d3
Tests: Fixed the CSync statedb test defined in the mirall module.
2014-08-15 18:33:04 +02:00
Daniel Molkentin
df3c3bca02
Split into three separate projects: library, gui and cmd
2014-07-11 11:07:31 +02:00
Olivier Goffart
d3b599b727
Fix build of the test on Qt5
2014-07-10 10:42:02 +02:00
Olivier Goffart
45d1567057
Move Folder, FolderMan, and FolderWatcher outside of owncloudsync
...
Those class are maintaining the folder for the mirall configuration
They are not usefull in command line clients
Also the FolderWatcher is only used by the folder and not used by the
command line clients
2014-07-09 22:44:08 +02:00
Markus Goetz
b48ab79a92
CSync & statedb: Remove uid/gid
...
Columns are still in the DB as we don't want to break any compatibility.
2014-06-06 13:41:16 +02:00
Klaas Freitag
87386ce001
Fix testcase.
...
It failed because the directory where change happened triggered a
notification within the second before, so the event was skipped.
2014-05-14 12:49:11 +02:00
hefee
822650719b
RemoveADir test should realy test, if it is notified
2014-05-11 17:08:30 +02:00
Olivier Goffart
5bceb6f787
fix test compilation
2014-03-28 11:02:18 +01:00
Olivier Goffart
98d7ff5116
Don't create .ctmp of sync journal
...
Fixes #1559
2014-03-26 10:25:50 +01:00
Klaas Freitag
d2e1923694
Fix compile warning.
2014-03-20 12:57:57 +01:00
Klaas Freitag
39924d79cb
Add new test to test the csync database code.
2014-03-20 11:15:28 +01:00
Olivier Goffart
1e43d1fa49
Add missing license headers in tests
...
LGPL for csync tests, GPL for mirall tests
2014-02-24 11:08:58 +01:00
Daniel Molkentin
086694f284
Fix Qt5: Tests require Xml Module
2014-02-04 13:12:13 +01:00
Daniel Molkentin
ff569603f5
Updater: More tests
2014-01-29 12:01:35 +01:00
Daniel Molkentin
1aa050bea9
Add Tests, make Updater classes into a static lib
2014-01-29 10:43:21 +01:00
Klaas Freitag
3d6718315c
Fix Include dirs and add tests.
2014-01-23 13:23:27 +01:00
Klaas Freitag
e3723fcfc2
Add a new folder watcher implementation for Linux.
2014-01-23 13:23:27 +01:00
Daniel Molkentin
83e628b9f7
Revert "fix test"
...
This reverts commit f35e2efd4e
.
2014-01-22 00:00:34 +01:00
Daniel Molkentin
f35e2efd4e
fix test
2014-01-21 16:34:52 +01:00
Olivier Goffart
e7e319e3f5
Fix compilation of the owncloudpropagator test
...
This test does nothing, remove problematic line"
2014-01-20 15:44:43 +01:00
Klaas Freitag
e0d8d93b50
Removed obsolete inotify class of folderwatcher.
2014-01-13 16:07:52 +01:00
Klaas Freitag
e5804b5d12
Use a more Qt'ish folder recursing method, remove unused class.
...
Added unit test.
2014-01-08 14:36:42 +01:00
Olivier Goffart
313832de8d
Put the progress database within the journal
2013-10-16 12:01:14 +02:00
Olivier Goffart
afc13e70b9
fix Qt5 test compilation
2013-10-03 22:51:40 +02:00
Olivier Goffart
7ea3fc1533
Fix compilation of the test
2013-10-03 14:45:00 +02:00
Thomas Müller
60ef5535c6
fixing testOctetsToString
...
(cherry picked from commit 78c8f13645
)
2013-09-13 20:14:53 +02:00
Daniel Molkentin
c6ed7dc586
Tests: Find test lib in Qt5
2013-09-05 18:06:00 +02:00
Daniel Molkentin
573aaec9fd
Fix propagator test
2013-09-04 17:29:19 +02:00
Klaas Freitag
8fe102662d
Merge branch 'propagator-ng': Fixes to work with new LGPL ocsync.
...
Conflicts:
src/mirall/csyncthread.cpp
2013-09-04 16:33:06 +02:00
Daniel Molkentin
bfdd488b00
Tests: make tests run in parallel
2013-08-29 14:50:55 +02:00
Daniel Molkentin
54c8809bf4
Tests: Fix indentation
2013-08-29 14:50:18 +02:00
Daniel Molkentin
0873665bec
Tests: Move all comparisons from QVERIFY to QCOMPARE
2013-08-29 14:48:40 +02:00
Olivier Goffart
02b3033ca3
Use the same convention as on the server to format strings
...
* use power of 10 SI units
* use "B" instead of "bytes"
* use at least 2 significant digit, but no more than one digit after
the period
2013-08-29 12:06:41 +02:00
Daniel Molkentin
9f89a2fe76
More adjustments around the application name
...
- libname is now derived from binary name (which is lowercase)
- remove superflouos reimplementation of appName() in owncloud theme
- APPLICATION_SHORTNAME is now optional (and if not set, equals
APPLICATION_NAME
2013-08-23 10:30:03 +02:00
Olivier Goffart
0589bfc51b
Merge branch 'master' into propagator-ng
...
This just fix the conflict.
Do not compile or work yet
Conflicts:
src/CMakeLists.txt
src/mirall/csyncthread.cpp
src/mirall/csyncthread.h
src/mirall/owncloudfolder.cpp
src/mirall/syncfileitem.h
test/CMakeLists.txt
2013-08-14 15:19:21 +02:00
Daniel Molkentin
46b870e260
Revert "run tests verbosely"
...
This reverts commit ff2d59d32f
.
2013-08-09 14:45:49 +02:00
Daniel Molkentin
ff2d59d32f
run tests verbosely
2013-08-09 13:27:05 +02:00
Daniel Molkentin
0ced165b3e
Add tests for Utility namespace
2013-08-09 13:09:41 +02:00
Daniel Molkentin
60a116f3e0
Add tests for Utility namespace
2013-08-09 12:56:43 +02:00
Klaas Freitag
ba01a697e6
Renamed test case to get rid of stinking name.
2013-08-05 09:39:06 +02:00
Daniel Molkentin
b70c2f5c20
torture scripts: fix description
2013-06-06 11:05:21 +02:00
Daniel Molkentin
033249423f
Add torture scripts + standard layout files
2013-06-05 21:36:55 +02:00
Klaas Freitag
946258ca59
Created a test file for ownCloudPropagator. Not much in yet.
2013-05-05 12:36:42 +02:00
Daniel Molkentin
dcc8f9fa6c
Fix favlink manual test
2013-03-25 18:00:25 +01:00
Daniel Molkentin
408547611b
Manual test for favlinks
2013-03-25 12:53:40 +01:00
Dominik Schmidt
351f9aedfb
Add testing skeleton
2012-10-26 20:24:12 +02:00
Klaas Freitag
d7e161a161
Added a testplan to test systematically.
2012-04-18 12:00:29 +02:00
Duncan Mac-Vicar P
83eeeb4216
Simplify how the event queue works. Now it is just a timer
...
that gets restarted on every new event, and the processing starts
when no events reset the timer for the event interval.
2011-04-06 22:35:08 +02:00
Duncan Mac-Vicar P
25315dfdec
fix warning
2011-04-06 17:03:10 +02:00
Duncan Mac-Vicar P
c19c9859e3
add alias to folder
2011-04-06 09:52:02 +02:00
Duncan Mac-Vicar P
f22caca96b
- refactor tests repeat-myself with a cmake macro
...
- enable cmake testing
2011-03-31 20:26:51 +02:00
Duncan Mac-Vicar P
9ac0397ff9
unneeded
2011-03-31 20:26:32 +02:00
Duncan Mac-Vicar P
3f32499c4e
If the first event happens before 5 secs after starting the
...
program, it will always cause it to queue it to avoid event
flood (5 secs). So don't init the QTime for last event, and then
check if it is null.
2011-03-31 19:07:45 +02:00
Duncan Mac-Vicar P
bad489adcc
add testcases for unison
2011-03-30 23:36:30 +02:00
Duncan Mac-Vicar P
bd5effe78c
- fix inotify/folderwatcher so that it uses full paths
...
- make the test pass using QSignalSpy
2011-03-18 13:54:32 +01:00
Duncan Mac-Vicar P
e6a135273d
- introduce a tmp dir class and rm-rf util function
...
- start a testcase for the folder watcher part
2011-03-18 01:14:45 +01:00