12 Commits

Author SHA1 Message Date
Ghostkeeper
be36ae278b
Fix tests mocking container tree instead of quality manager
Contributes to issue CURA-6600.
2019-08-26 16:23:20 +02:00
Jaime van Kessel
6cea609b56 Fix intentManager test
Since we changed how the QualityManager is constructed, the test should change as well

CURA-6600
2019-08-12 14:52:05 +02:00
Lipu Fei
8863516aa4 Rename function name and fix tests
CURA-6597
2019-07-09 12:53:44 +02:00
Ghostkeeper
168c9db648
Code style: Space around binary operators
Contributes to issue CURA-6597.
2019-07-04 09:28:23 +02:00
Remco Burema
50cbf71f68 Fixed test 'selectIntent' for IntentManager-tests.
part of CURA-6091
2019-07-02 13:15:18 +02:00
Remco Burema
ffe9515236 Refactor: Split up single test method in smaller ones.
part of CURA-6091
2019-07-02 08:57:40 +02:00
Remco Burema
810fee37eb Start to test other IntentManager functions.
Very rudimentary at the moment, need to split the method into 3, and make a class for the setup.
This also uncovered that the currentAvailableIntents doesn't (unless the global stack is missing) retrun any default intents, while currentAvailableIntentCategories does do that.
Since it's not clear how we're going to handle that right now, I made a TODO in the code, which of course will have to be fixed before this/these branch/es are merged.

part of CURA-6091
2019-06-28 12:10:39 +02:00
Remco Burema
2843fc903b First OK test-case for 'currentAvailableIntents'.
part of CURA-6091
2019-06-28 11:09:42 +02:00
Remco Burema
e8a1c68d92 Added (partial) test for 'currentAvailableIntents'.
part of CURA-6091
2019-06-27 17:07:26 +02:00
Remco Burema
02516f0f47 Refactor: Move common fixtures to 'conftest'.
Part of CURA-6091.
2019-06-21 14:58:55 +02:00
Remco Burema
0f9de9935e Add unit-test for .intentCategories
Part of CURA-6091.
2019-06-21 14:37:10 +02:00
Remco Burema
53c387f34d Add TestIntentManager (mostly a dummy file), prevents future conflicts. [CURA-6091] 2019-06-20 16:04:37 +02:00