35 Commits (afe5b6dd8aa9a0eb761434231327e8daecb1d79e)

Author SHA1 Message Date
Louis Chemineau 25ade6218a Streamline reseting of private static properties 4 years ago
Louis Chemineau 92e60caa86 Revert "Streamline reseting of private static properties" 4 years ago
Louis Chemineau e50121d4c0 Streamline reseting of private static properties 4 years ago
Louis Chemineau 447cd553b6
Reset $scriptDeps in tests 4 years ago
Jonas Meurer 491bd6260c
Sort app scripts topologically by its dependencies 4 years ago
Jonas Meurer 8dd119402a
Improve unit testing for Util::addScript() and Util::getScript() 4 years ago
John Molakvoæ (skjnldsv) 791d57051a
Adapt tests 4 years ago
Arthur Schiwon d384edc9c6
add method to shorten a string to given byte size to Utils 4 years ago
Naoto Kobayashi e9b414fbe3 OC_Util: Add fallbacks to check if current locale is UTF8 4 years ago
Naoto Kobayashi 25f15f86a9 Add check whether escapeshellcmd behaves the same as basename 4 years ago
Naoto Kobayashi 455bff5c17 Fix missing setlocale with php 8 4 years ago
Daniel Rudolf 15a445f743
Move UtilTest::testDefaultApps() to UrlGeneratorTest 4 years ago
Daniel Rudolf e16bf707aa
Fix UtilTest::testDefaultApps() 4 years ago
Daniel Rudolf 12059eb65b
Add IUrlGenerator::linkToDefaultPageUrl() 4 years ago
Robin Appelman b1dca57a1c
load share settings from the share manager in more places 5 years ago
Christoph Wurst 1584c9ae9c
Add visibility to all methods and position of static keyword 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Roeland Jago Douma 1088068c60
Remove \OCP\Files::tmpFolder 8 years ago
Morris Jobke 44289ff134
Use proper method to format absolute timestamp 8 years ago
Roeland Jago Douma 8a41d05761
Remove deprecated \OCP\Config 8 years ago
Morris Jobke be4e921306
Use basename() instead of self implementation 8 years ago
Morris Jobke 43e498844e
Use ::class in test mocks 8 years ago
Morris Jobke c27498db71 Use IConfig instead of static OCP\Config 8 years ago
Vincent Petry 1c771c097a
Use regex to detect part files 9 years ago
Felix Epp 1614b310ef Add system config htaccess.IgnoreFrontController for prettyURLs w/o mod_env 9 years ago
Roeland Jago Douma 83e7cfd13a
Fix more tests 9 years ago
Joas Schilling 122edcd0c1
Make sure all tests use the TestCase method to overwrite services 9 years ago
Roeland Jago Douma 368f407698
Fix getMock UtilTest 9 years ago
Roeland Jago Douma 8d739f308b
Some UtilTests require DB 9 years ago
Morris Jobke c2d88a08b7
Remove unneeded checks if it runs on a Windows machine 9 years ago
Joas Schilling 9a4253ef7c
Fix lib/ 10 years ago
Roeland Jago Douma 759b19775d Fix unit tests 10 years ago
Lukas Reschke a977465af5 Add new CSRF manager for unit testing purposes 10 years ago
Roeland Jago Douma e01a488b31 Remove generateRandomBytes from OC_Util 10 years ago
Morris Jobke ed98cdf532 Use OCP\Util::getVersion instead of the internal private implementation 10 years ago
Lukas Reschke 6d3eb7673d Add unit test for nested arrays 10 years ago
Morris Jobke d331e0d4f8 Replace OC_Config in tests with IConfig calls 10 years ago
Lukas Reschke 2515cb17be Support pretty URLs 11 years ago
Thomas Müller 56170dd825 Further unit test suite tweats 10 years ago
Morris Jobke 32ab973254 add unit tests for OC_Util::add* methods 10 years ago
Thomas Müller c565a7b042 Fix failing unit test 💀 10 years ago
Thomas Müller 9ec2850c78 Use mocks when testing isSharingDisabledForUser 10 years ago
Lukas Reschke 8133d46620 Remove dependency on ICrypto + use XOR 10 years ago
Thomas Müller b2dd5cb616 save excluded groups in json format - fixes #10983 10 years ago
Individual IT Services fbe43e6a26 cache result of \OCP\Util::needUpgrade() 10 years ago
Lukas Reschke 8313a3fcb3 Add mitigation against BREACH 10 years ago