Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-19Test: Move the test for Utility::normalizeEtag to testutility.cppOlivier Goffart
I just moved the text and did the minimum to port it to QtTest Did not change hte layout of it. Relates #6358
2018-02-21Utility::fsCasePreserving: remove UNIT_TESTING ifdefOlivier Goffart
Since the release package will be build with unit test, we don't want to query the env variable at every call to fsCasePreserving. So only test the env variable at startup. And the testutility can still change the value. (The env variable is still used from t8.pl and maybe smashbox) Issue #6318
2018-02-20Conflicts: Add user name to conflict file name #6325Christian Kamm
For the case of uploading conflict files only.
2017-09-15remove qt4 codeHelmut K. C. Tessarek
2017-09-05Move Utility to a new common static libraryJocelyn Turcotte
Now that csync builds as C++, this will avoid having to implement functionalities needed by csync mandatorily in csync itself. This library is built as part of libocsync and symbols exported through it. This requires a relicense of Utility as LGPL. All classes moved into this library from src/libsync will need to be relicensed as well.
2017-07-06Use OWNCLOUD_BIN_DIR directly in C++ code.Hefee
No need to do a STR replacement and the macro changing the path. It actually broke test execution for Debian. See https://bugs.debian.org/844937
2017-04-04Transfers: Show a decimal for single digit MB rates #4428Christian Kamm
2017-02-14Fix UtilityTest on macOSJocelyn Turcotte
2016-11-29Fix compilation with Qt < 5.1Christian Kamm
For review of #5045
2016-11-23Merge branch 'master' into dbjournal_per_accountChristian Kamm
2016-11-21libsync: Don't store the remote URI in the csync or in the SyncEngineOlivier Goffart
We are going to change the webdav path depending on the capabilities. But the SyncEngine and csync might have been created before the capabilities are retrieved. The main raison why we gave the path to the sync engine was to pass it to csync. But the thing is that csync don't need anymore this url as everything is done by the discovery classes in libsync that use the network jobs that use the account for the urls. So csync do not need the remote URI. shortenFilename in folderstatusmodel.cpp was useless because the string is the _file of a SyncFileItem which is the relative file name, that name never starts with owncloud://. All the csync test creates the folder because csync use to check if the folder exists. But we don't need to do that anymore
2016-11-08Test: Don't fail when DST change is near #5284Christian Kamm
2016-10-12Utility: Add a function to check if two filenames are equal plus test.Klaas Freitag
It calls canonical path always and works with the correct case preserving depending on the platform.
2016-05-13A final release version number breaks this regex (#4835)hefee
f.ex. a valid verson nr: 2.2.0 -> fist \d+ = 2 -> second \d+ = 2 -> the last \d+ = 0 -> .+ in not matching, because there is nothing to match
2016-05-12For tests we do not need a xserver running.Hefee
Use for tests QTEST_GUILESS_MAIN and QTEST_APPLESS_MAIN.
2016-05-12timeAgo test: Fix for qt4, clean upChristian Kamm
2016-05-10Fix utility test: Pass a command name to do the version check.Klaas Freitag
2016-03-30Simplify the build of auto testsJocelyn Turcotte
Remove all configure_files: - Move all tests to cpp files - Use the QTEST_MAIN macro instead of a generated main.cpp - Include test*.moc in the cpp to let CMAKE_AUTOMOC call moc - Pass info through add_definitions instead of generating oc_bin.h with them This makes sure that build errors points to the original test source file instead of the generated one in the build directory to be able to jump and fix errors directly from the IDE's error pane.