615 Commits

Author SHA1 Message Date
Ghostkeeper
9d9832f8e2
Move findSomeContainers out to global function
This way we can re-use it for other tests.

Contributes to issue CURA-3497.
2017-03-22 16:48:58 +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
a2fe051c09
Allow all profiles as some_* to be instances
This allows us to differentiate between one container in the stack and the other.

Contributes to issue CURA-3497.
2017-03-22 15:58:28 +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
007f764471
Don't let a test remove files from hard disk
This test does not test the removing of these files. In general, to make a test run fast, it should not perform any disk operations.

Contributes to issue CURA-3497.
2017-03-22 15:47:15 +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
c5768d89dc
Remove debug print
Contributes to issue CURA-3497.
2017-03-22 15:12:46 +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
Jack Ha
50c978a05b Fixed cura tests. 2017-03-14 16:05:09 +01:00
Jaime van Kessel
45dca3f878 Refactoring (Renaming variables so they are more clear & update documentation) 2016-06-23 11:09:55 +02:00
Jaime van Kessel
30182f295f Added tests for firstStart
CURA-1385
2016-04-29 13:19:07 +02:00
Jaime van Kessel
9896cc1817 Added more tests to unit test
CURA-1385
2016-04-29 12:24:23 +02:00
Jaime van Kessel
b1263e8d33 Basic unit testing
CURA-1385
2016-04-29 12:14:15 +02:00
Jaime van Kessel
46ff3f4408 Added unit test stub 2016-04-29 11:32:33 +02:00