aboutsummaryrefslogtreecommitdiff
path: root/tests/Task_test.cpp
AgeCommit message (Collapse)Author
2023-07-06fix(tests): Fix abort of Task test on Linuxflow
Not sure exactly what caused the issue, though I suppose using QThread's exec instead of our own thingie is nice. I can't remember why I didn't use that before, so I hope there's no issue with that! :^) Signed-off-by: flow <flowlnlnln@gmail.com>
2023-07-05fix(tests): linux big task memory leak.Rachel Powers
- move big_task into function scope Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-07-05fix(test): tasks test memmory leak. don't store local task copy.Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-07-05fix(test): task test memory leak *again*Rachel Powers
- put Big thread on the stack so stack will clean it up. Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-07-05fix: Task test memory leaks againRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-07-03fix: memory leaks in testsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-01feat: Propogated subtask progressRachel Powers
Oh boy this is big. > TaskStepProgress struct is now QMetaObject compatabile and can be sent through signals > Task now has a method to propogates sub task progress it must be signal bound by each task containing a task wishing to report progress of it's children. > Downloads report speed > Tasks now have UUIDS to track them - use when reporting - use when logging - use when storeing them or objects related to them Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-01feat: better task trackingRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-02-01fix(tests): improve the reliability of the Task's stack testflow
This actually takes into account the amount of stuff put into the stack in each iteration, and thus avoids having to change the stack size of the thread, and using ad-hoc values for the other stuff. It also reduces the time the test takes to run. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-25refactor: make shared_qobject_ptr ctor explicitflow
This turns issues like creating two shared ptrs from a single raw ptr from popping up at runtime, instead making them a compile error. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-20fix(tests): add some comments on the stack overflow Task testflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-18feat(tests): add test for stack overflow in ConcurrentTaskflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-11refactor: restructure testsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>