Commit Graph

33 Commits (8904bf645b30fbdfdcb00a2ea607d752ee69d865)

Author SHA1 Message Date
Christoph Wurst 04ecc2a6a9
feat(backgroundjob): Schedule job after <timestamp> 2 years ago
Marcel Klehr 7e790a3297 JobTest: Remove outdated tests 3 years ago
Marcel Klehr 3d8fd2d99e cs:fix 3 years ago
Marcel Klehr 449a731375 Add test for ParallelAwareJob 3 years ago
Marcel Klehr 20cb9935ca Fix tests 3 years ago
Marcel Klehr 06d6cf4ebc JobListTest: Fix JobList constructor call 3 years ago
Marcel Klehr 6148c5e0a1
Update tests/lib/BackgroundJob/DummyJobList.php 3 years ago
Marcel Klehr a0c722ad69 Run cs:Fix 3 years ago
Marcel Klehr 5608b50778 Fix BackgroundJob tests 3 years ago
Marcel Klehr 281c8047b6 JobListTest: clearJobsList before testHasReservedJobs 3 years ago
Marcel Klehr 56cb5d1d13 fix(tests): Remove duplicated method 3 years ago
Marcel Klehr 1296f3612e test(BackgroundJobs): Add tests for allowParallelRuns and hasReservedJobs 3 years ago
Côme Chilliet d74044f634
Fix API breakage by using a new method instead 3 years ago
Côme Chilliet 75fca38e66
Fix BackgroundJob list tests 3 years ago
Carl Schwan 48d9c4d2b0
Port existing server code to new interface 4 years ago
Côme Chilliet 0386f4270b
Fix DummyJobList typing 4 years ago
Côme Chilliet 50a7f612d9 Fix DummyJobList class used by tests 4 years ago
Kirill Popov 0b27b9e658 Get not only time-sensitive next job from list but any 4 years ago
Joas Schilling b765f79368
Allow apps to specify if their background job can be delayed 4 years ago
Joas Schilling 9cd9f4b4bc
Move queries to the joblist 4 years ago
Morris Jobke 16d83ab30a
Remove getLastJob from IJobList 6 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 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
Daniel Kesselberg 018020108b
Make sure to catch php errors during job execution 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Roeland Jago Douma 8493f49211
fixup! fixup! Add backgroundjobs to OCP 8 years ago
Morris Jobke 43e498844e
Use ::class in test mocks 8 years ago
Noveen Sachdeva 1b1f403a5d
Add duration of last job execution to the table 9 years ago
Roeland Jago Douma c4ef825ceb
Fix getMock JobListTest 10 years ago
Joas Schilling d0a2fa0506
Lock jobs while executing them, to allow multiple executors to run in parallel 10 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago