Ghostkeeper
f1299589c9
Remove debug prints
...
Contributes to issue CURA-6600.
2019-09-12 15:49:27 +02:00
Diego Prado Gesto
b18565d9cf
Merge branch 'master' into feature_intent_container_tree
2019-09-10 11:08:21 +02:00
Lipu Fei
3f3aac7ce5
Merge pull request #6289 from Ultimaker/feature_intent_interface
...
Feature intent interface
2019-09-09 16:53:37 +02:00
Ghostkeeper
5debdd4cf6
Fix getting extruder list everywhere
...
Didn't test this beyond my own automated test, it seems.
Contributes to issue CURA-6600.
2019-09-09 16:47:29 +02:00
Lipu Fei
dba3b77f61
Fix tests
...
CURA-6598
2019-09-09 16:45:39 +02:00
Ghostkeeper
178887d8e5
Add test for getting metadata from machine node
...
Contributes to issue CURA-6600.
2019-09-06 17:40:31 +02:00
Ghostkeeper
5106d3b7c1
Test if we actually return the result of the call to getQuality[Changes]Groups
...
Contributes to issue CURA-6600.
2019-09-06 17:26:38 +02:00
Ghostkeeper
7f192ce36f
Add test for getting current quality changes groups
...
Similar to getting the current quality groups.
Contributes to issue CURA-6600.
2019-09-06 17:25:07 +02:00
Ghostkeeper
ea5530c507
Add test for getting quality changes groups without global stack
...
Shouldn't crash. Instead it should give no quality changes groups.
Contributes to issue CURA-6600.
2019-09-06 17:21:56 +02:00
Ghostkeeper
4bdc819f12
Fix nondetermistic result with dictionary values list
...
Because global_stack.extruders.values can be returned in any order, the configurations matching with the lists doesn't always give a result.
It happened to work on my computer with the test, but there is no guarantee of that.
This is probably also going wrong in other places. I don't think we should use the .extruders property anywhere really!
Contributes to issue CURA-6600.
2019-09-06 17:15:45 +02:00
Ghostkeeper
d618f2df71
Add test for getCurrentQualityGroups
...
The test succeeded but in writing it I discovered a bug. I'll fix that soon.
Contributes to issue CURA-6600.
2019-09-06 17:06:32 +02:00
Jaime van Kessel
f540abbd73
Expand the createUniqueName test
2019-09-06 15:13:25 +02:00
Ghostkeeper
10f37c98ff
Add test for getCurrentQualityGroups if there is no current printer
...
Contributes to issue CURA-6600.
2019-09-02 13:35:17 +02:00
Jaime van Kessel
001c2ec753
Fix test
2019-08-29 17:09:31 +02:00
Jaime van Kessel
d9e94f5019
Fix tests
2019-08-29 17:07:36 +02:00
Jaime van Kessel
784ab6e903
Add missing isDirty function
...
CURA-6600
2019-08-29 16:36:11 +02:00
Remco Burema
745390e51f
Fix typing.
...
part CURA-6600
2019-08-27 17:57:11 +02:00
Remco Burema
d5a8b2640f
Fix 'getQualityChangesGroups' now gives a list issues.
...
part of CURA-6600
2019-08-27 15:46:47 +02:00
Jaime van Kessel
d1a8ce54a1
Merge branch 'feature_intent' of github.com:Ultimaker/Cura into feature_intent_container_tree
2019-08-27 14:18:41 +02:00
Jaime van Kessel
1d9d411732
Merge branch 'master' of github.com:Ultimaker/Cura into feature_intent
2019-08-27 14:17:57 +02:00
Ghostkeeper
be36ae278b
Fix tests mocking container tree instead of quality manager
...
Contributes to issue CURA-6600.
2019-08-26 16:23:20 +02:00
ChrisTerBeke
882352c99d
Test fixes, not working yet
2019-08-23 17:03:39 +02:00
ChrisTerBeke
73b423138a
Add a test to ensure empty configurations are not shown in the list
2019-08-23 16:35:15 +02:00
Jaime van Kessel
1e2f5ddecd
Add test for unique printer configuration
...
CURA-6732
2019-08-22 14:53:13 +02:00
Jaime van Kessel
89260891e6
Add tests for the available configurations
...
CURA-6732
2019-08-22 14:32:33 +02:00
Jaime van Kessel
34c3a04744
Added missing tests for peripheral
...
Not part of the ticket, but I'm boyscouting this.
2019-08-22 14:24:19 +02:00
Jaime van Kessel
73c6676673
Added missing test for camera URL
2019-08-22 14:17:40 +02:00
Jaime van Kessel
f6ccd40f9f
Add tests for metadatachanged
...
CURA-6600
2019-08-21 15:18:57 +02:00
Jaime van Kessel
25ea1dd66a
Add tests for the _onRemoved handler
...
CURA-6600
2019-08-21 14:45:59 +02:00
Jaime van Kessel
a6be5ac52d
Fix materialNode tests
...
CURA-6600
2019-08-21 12:50:40 +02:00
Remco Burema
507cb356d2
Remove (all?, most?) deprecated ContainerNode.getMetaDataEntry calls.
...
part of CURA-6600
2019-08-20 15:38:45 +02:00
Ghostkeeper
80baeb9873
Remove _added functions for nodes that can't be added during runtime
...
Among the machines, variants, materials, qualities and intents, only machines and materials can ever be added during runtime. For the rest, we don't need to listen to these signals.
Contributes to issue CURA-6600.
2019-08-16 16:28:42 +02:00
Remco Burema
7fb9642e45
Replace deprecated .getContainer() calls with .container
...
part of CURA-6600
2019-08-15 13:40:08 +02:00
Lipu Fei
e8fd013329
Fix OAuth2 test
2019-08-15 09:23:05 +02:00
Jaime van Kessel
7af6d16de9
Merge branch 'feature_intent_container_tree' of github.com:Ultimaker/Cura into feature_intent_container_tree
2019-08-13 16:40:41 +02:00
Jaime van Kessel
c218b7ac56
Fix the tests for materialnode
...
CURA-6600
2019-08-13 16:22:33 +02:00
Ghostkeeper
6a5f425468
Fix running tests via CMake
...
The Settings folder conflicts with the same folder in Uranium, so it couldn't find MockContainer from the Uranium version.
Contributes to issue CURA-6600.
2019-08-13 16:20:21 +02:00
Ghostkeeper
6a8e1557c3
Merge branch 'feature_intent' into feature_intent_container_tree
...
Conflicts:
.gitlab-ci.yml
cura/Machines/MaterialManager.py
cura/Machines/VariantManager.py
cura/Settings/ContainerManager.py
cura/Settings/MachineManager.py
tests/TestMachineManager.py
2019-08-13 14:59:05 +02:00
Ghostkeeper
20201c65e6
Merge branch 'master' into feature_intent
...
Conflicts:
resources/bundled_packages/cura.json -> 4.1 to 4.2 upgrade package added simultaneously
tests/TestMachineManager.py -> Due to changes in conftest.py
tests/conftest.py -> Simultaneously expanding the magic mocks to have some correct properties
2019-08-13 14:43:28 +02:00
Jaime van Kessel
e08feb1099
Fix final set of broken tests
...
CURA-6600
2019-08-12 16:32:59 +02:00
Jaime van Kessel
e18820b846
Fix tests for ContainerManager
...
CURA-6600
2019-08-12 15:37:19 +02:00
Jaime van Kessel
fc3461d865
Fix the machine node test
...
CURA-6600
2019-08-12 15:11:59 +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
Jaime van Kessel
e2596e64ef
Add tests for quality node
2019-08-08 14:11:00 +02:00
Jaime van Kessel
c26d113002
Add test for the MaterialNode
...
CURA-6600
2019-08-08 13:52:45 +02:00
Jaime van Kessel
a8fbb80b09
Add tests for the updating of MaterialNodes in the variant node
...
CURA-6600
2019-08-08 10:46:24 +02:00
Jaime van Kessel
476c7b683d
Extend variant node test to also test the material added case
...
CURA-6600
2019-08-07 17:23:12 +02:00
Jaime van Kessel
2683c31975
Add initial tests for variantNode
...
CURA-6600
2019-08-07 17:04:39 +02:00
Jaime van Kessel
fa077038fc
Add tests for the MachineNode
2019-08-07 16:17:46 +02:00
Jaime van Kessel
a241425aaf
Add test for ContainerTree
...
CURA-6600
2019-08-07 15:35:22 +02:00