Arjen Hiemstra
e6adca7dd3
Fix type metadata of some of the test container stacks
2017-03-30 08:58:46 +02:00
Ghostkeeper
df2ae12ca9
Add tests for deserialising extruders with variants
...
Contributes to issue CURA-3497.
2017-03-24 17:21:47 +01:00
Ghostkeeper
bbd0ca7b9f
Add tests for deserialising extruders with material
...
Contributes to issue CURA-3497.
2017-03-24 17:17:41 +01:00
Ghostkeeper
9cb7c30fcb
Add tests for deserialising extruders with quality
...
Only the greatest extruders with actual quality are deserialised...
Contributes to issue CURA-3497.
2017-03-24 17:13:32 +01:00
Ghostkeeper
71a946d1b9
Add tests for deserialising extruders with quality changes
...
Contributes to issue CURA-3497.
2017-03-24 17:08:34 +01:00
Ghostkeeper
73326ae53d
Extruders don't have definition changes
...
So remove them from our test extruder stacks.
Contributes to issue CURA-3497.
2017-03-24 17:03:29 +01:00
Ghostkeeper
dea86ca535
Add tests for deserialising a stack with user changes
...
Code is mostly copied over from the global stack, which should work in a similar way.
Contributes to issue CURA-3497.
2017-03-24 16:57:48 +01:00
Ghostkeeper
91f51d11cd
Fix ID and name of only-variant stack
...
This makes it consistent with the file name and such.
Contributes to issue CURA-3497.
2017-03-23 15:32:27 +01:00
Ghostkeeper
15de1f235a
Add test for seeing whether definition changes are properly found
...
Whether the deserialize function finds the definition changes properly.
Contributes to issue CURA-3497.
2017-03-23 15:30:54 +01:00
Ghostkeeper
79f6e49280
Add test for seeing whether variants are properly found
...
Whether the deserialize function finds the variants properly.
Contributes to issue CURA-3497.
2017-03-23 15:21:57 +01:00
Ghostkeeper
95a377d54e
Add test for deserialising materials in stacks
...
Similar to the other tests, but this one is a bit special since the original test stacks had a material defined. Therefore it also defines a separate stack that only has a definition so that we can see if it's fine with the material being empty.
Contributes to issue CURA-3497.
2017-03-22 17:32:37 +01:00
Ghostkeeper
eae6ad0e05
Add test to see whether quality profiles deserialise well
...
Works just the same as the quality-changes stuff.
Contributes to issue CURA-3497.
2017-03-22 17:24:21 +01:00
Ghostkeeper
09a3b90dcc
Add test for detecting quality changes
...
I should try to re-use a bit of code here because there's going to be a lot of these.
Contributes to issue CURA-3497.
2017-03-22 16:58:06 +01:00
Ghostkeeper
c14b3e4f2b
Add test with complete stack
...
In this stack, all profiles are filled in properly with an instance container. This required some magic to make the container registry always return the desired profiles.
Contributes to issue CURA-3497.
2017-03-22 16:45:38 +01:00
Ghostkeeper
ebd08ac994
Add test case where there is only a user changes profile
...
Specifically what this test requires.
Contributes to issue CURA-3497.
2017-03-22 15:54:32 +01:00
Ghostkeeper
60b6b72912
Rename some_material to some_instance
...
This way we can semantically use it in place of other instances on the stack as well without changing our test.
Contributes to issue CURA-3497.
2017-03-22 15:51:45 +01:00
Ghostkeeper
49fad35d28
Add test for global stack getting user changes
...
Tests fail right now because running the test actually deletes files. Got to fix that.
Contributes to issue CURA-3497.
2017-03-22 15:40:13 +01:00
Ghostkeeper
c91765c1ae
Add test for type of loaded container stacks
...
This tests if container stacks, when loading, get implemented with the correct class: Either an extruder stack or a global stack.
Contributes to issue CURA-3497.
2017-03-22 13:46:14 +01:00