nextcloud/tests/lib
Daniel Calviño Sánchez 4d3cb1533e Add unit tests for "validateExpirationDateInternal"
They were copied and adjusted as needed from the tests for
"validateExpirationDate".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 08:54:19 +01:00
..
Accounts Don't leave cursors open when tests fail 2020-11-09 12:28:17 +01:00
Activity Fix activity tests again 2020-08-18 18:21:03 +02:00
App Only retry fetching app store data once every 5 minutes in case it fails 2020-10-16 14:32:58 +02:00
AppFramework Remove OCSResponse type hint - see #23827 2020-11-03 10:43:32 +01:00
Archive Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Authentication Use PSR logger in authentication 2020-10-12 22:07:04 +02:00
Avatar Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
BackgroundJob Remove getLastJob from IJobList 2020-08-13 21:50:06 +02:00
Cache Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Calendar Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Collaboration Bump @nextcloud/vue to 3.0.0 2020-10-20 18:02:45 +02:00
Command Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Comments Add a function to get the unread count for multiple objects in one go 2020-11-04 11:01:21 +01:00
Contacts/ContactsMenu Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
DB Fix unique key in test table 2020-11-10 21:39:19 +01:00
Diagnostics Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DirectEditing Do not expose direct editing if no master key is available 2020-09-01 11:40:27 +02:00
Encryption Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Federation Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Files Don't leave cursors open when tests fail 2020-11-09 12:28:17 +01:00
GlobalScale Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Group Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Hooks Remove unused private ForwardEmitter and LegacyEmitter 2020-10-28 22:23:39 +01:00
Http/Client Improve CertificateManager to not be user context dependent 2020-11-03 00:13:01 +01:00
IntegrityCheck Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
L10N Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Lock Don't leave cursors open when tests fail 2020-11-09 12:28:17 +01:00
Lockdown Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Log Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Mail Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Memcache Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Migration Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Notification Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
OCS Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Preview Fix existing test and add a specific one for the new case 2020-08-13 23:24:21 +02:00
PublicNamespace Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Remote Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Repair Fix repair mimetype step to not leave stray cursors 2020-11-06 10:33:59 +01:00
RichObjectStrings Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Route Only load routes of the app which is requested 2020-08-19 21:58:20 +02:00
Security Improve CertificateManager to not be user context dependent 2020-11-03 00:13:01 +01:00
Session Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Settings Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Share Update share type constant usage 2020-06-24 16:49:16 +02:00
Share20 Add unit tests for "validateExpirationDateInternal" 2020-11-16 08:54:19 +01:00
Support Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
SystemTag Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Template Fix tests to return config default values 2020-11-07 10:11:20 +01:00
Traits Change to full class names for the encryption app DI in preparation of auto-wiring 2020-11-11 21:30:45 +01:00
Updater Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
User Fix more tests 2020-10-13 08:16:17 +02:00
Util Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
APITest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
AllConfigTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
AppConfigTest.php Add github action for oci8 2020-11-10 15:34:35 +01:00
AppTest.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
AutoLoaderTest.php Remove trailing and in between spaces 2020-04-09 16:07:47 +02:00
CapabilitiesManagerTest.php Unify function spacing to PSR2 recommendation 2020-04-09 13:54:22 +02:00
ConfigTest.php Fix tests 2020-11-06 09:37:45 +01:00
ContactsManagerTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
DateTimeFormatterTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
ErrorHandlerTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
FileChunkingTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
HelperStorageTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
HookHelper.php Use the short array syntax, everywhere 2020-03-26 16:34:56 +01:00
ImageTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
InfoXmlTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
InitialStateServiceTest.php Move initial state provider to boostrap 2020-10-04 09:35:33 +02:00
InstallerTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
LargeFileHelperGetFileSizeTest.php Don't use deprecated getIniWrapper() anymore 2020-08-20 16:35:38 +02:00
LargeFileHelperTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
LegacyHelperTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
LoggerTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
MemoryInfoTest.php Use a blank line after the opening tag 2020-04-09 11:50:14 +02:00
NaturalSortTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NavigationManagerTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
RepairStepTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ServerTest.php Improve CertificateManager to not be user context dependent 2020-11-03 00:13:01 +01:00
SetupTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
SubAdminTest.php Change tests to typed event listener 2020-10-28 23:10:23 +01:00
TagsTest.php Make sure getUsersFavoritingObject can be run without a user 2020-10-06 16:49:23 +02:00
TempManagerTest.php Remove unneeded import 2020-08-20 16:53:34 +02:00
TemplateFunctionsTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
TestCase.php Overwrite also the new command bus name to execute them in sync in the tests 2020-10-12 21:04:00 +02:00
TestMoveableMountPoint.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
UpdaterTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
UrlGeneratorTest.php Properly inject IRouter into URLGenerator to properly encapsulate tests 2020-08-19 22:00:47 +02:00
UtilCheckServerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
UtilTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00