Commit Graph

48 Commits (2bdc97741cd42843f85750421cba032942d860ed)

Author SHA1 Message Date
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods 1 year ago
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3 1 year ago
Misha M.-Kupriyanov aceb4d776c feat: reduce available languages per config value "reduce_to_languages" 2 years ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 2 years ago
Côme Chilliet a0be3ffdf2
fix: Fix tests following OC_App migrations to IAppManager 2 years ago
Côme Chilliet ec5133b739 fix: Apply new coding standard to all files 2 years ago
Côme Chilliet b2e9e0fa0d chore: Replace OC::$server->getL10N by OCP\Util::getL10N in lib and some apps 2 years ago
Andrew Summers f80282a5ed
Refactor `OC\Server::getL10NFactory` 2 years ago
Daniel Kesselberg 68eecca4d4 chore: update expected results for CLDR 42 2 years ago
Daniel Kesselberg 06248cda0a chore: update expected timezone from GMT+0 to UTC 2 years ago
Joas Schilling ab8205fd35
fix(l10n): Fix plural issue with different locale and language 3 years ago
Côme Chilliet 8d5165e8dc
Adapt tests to config value typing 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Julius Härtl 306d7829b5
Cache available languages locally 3 years ago
Côme Chilliet 6f80fe6ada
Remove deprecated at matcher from tests/lib 3 years ago
Côme Chilliet 6a1510f8ee
Remove some more at matchers in tests/lib 4 years ago
Joas Schilling a4cd9fd37c
Add a unit test for translation with trailing colon 4 years ago
Carl Schwan 6312c0df69
Check style update 4 years ago
Christoph Wurst 5b727fc7da
Add L10n factory method for generic language heuristics 4 years ago
Joas Schilling 5a514a9a41
Correctly replace all PHP placeholders with the parameters 5 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Morris Jobke 7e6c0ec284
Use assertEqualsCanonicalizing instead of deprecated assertEquals parameter 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 41b5e5923a
Use exactly one empty line after the namespace declaration 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 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Christoph Wurst de6940352a Move settings to an app 6 years ago
Daniel Kesselberg 2440ee6b84
Add simple unit test for findLanguageFromLocale 7 years ago
Arthur Schiwon 772bbd99be
Backend work to provide NC whats New info to users 8 years ago
Thomas Citharel 93011579fe
Add tests 8 years ago
Georg Ehrke 2a21471c74
make sure force language is reflected in html lang attribute 8 years ago
Joas Schilling 870023365c
Fix "Undefined method setExpectedException()" 8 years ago
Morris Jobke 4ef302c0be
Request->getHeader() should always return a string 8 years ago
Bjoern Schiessle 8b734347b1
use formal version of German if default_language is set to 'de_DE' 8 years ago
Georg Ehrke e111da777a
Make L10N->l provide weekdayName 8 years ago
Roeland Jago Douma ed3b391e47
Use symfony/translation for L10N plurals 9 years ago
Joas Schilling 9f3d9b5b23
Don't force the use of Accept-Language anymore 9 years ago
Roeland Jago Douma 83e7cfd13a
Fix more tests 9 years ago
Roeland Jago Douma f167e65d49
Fix getMock L10NTest 9 years ago
Roeland Jago Douma 0228bc6e66
ACCEPT_LANGUAGE goes before default_langauge 9 years ago
Roeland Jago Douma c5bdb4d4e8
L10N tests do not require DB 10 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago