315 Commits

Author SHA1 Message Date
Lipu Fei
8426942395 Fix tests 2019-05-28 08:09:07 +02:00
Lipu Fei
2784edb15e Fix tests 2019-05-28 07:57:29 +02:00
Lipu Fei
6db96abe2f Fix tests 2019-05-28 07:48:00 +02:00
Jaime van Kessel
3748b256ce Add a few more simple tests for extruder stack 2019-05-24 17:28:42 +02:00
Jaime van Kessel
43cbe0ad7d Add tests for favorites in material manager 2019-05-24 17:11:41 +02:00
Jaime van Kessel
879dc90246 Add test for creating extruder stack 2019-05-24 16:42:20 +02:00
Jaime van Kessel
76163636a1 Fix the simple create machine test 2019-05-24 16:36:39 +02:00
Jaime van Kessel
66d8e41064 Also add tests for the update of the objects mode
CURA-6283
2019-05-24 15:27:08 +02:00
Jaime van Kessel
6cc8b8c184 Add tests for _renameNodes function
CURA-6283
2019-05-24 14:59:35 +02:00
Jaime van Kessel
d1f6ac47f3 Add tests for ObjectsModel 2019-05-24 14:41:00 +02:00
Jaime van Kessel
c1818bcfbe Add test for CuraStackBuilder 2019-05-20 08:57:58 +02:00
Jaime van Kessel
0c11304a7b Expand the oath tests with some extra failure cases 2019-05-17 16:09:23 +02:00
Jaime van Kessel
23bd611470 Added some tests for unhappy path of OAuth 2019-05-17 15:29:28 +02:00
Jaime van Kessel
b6643a9fbe Added tests for account API 2019-05-17 14:39:27 +02:00
Ghostkeeper
65bc29cd4c
Give slightly more information when definition is invalid
Because it now fails at the assertion inside assertIsDefinitionValid, it'll show the information at that point in the stack, rather than showing that the entire function returned False which could be a lot of things (if you don't actually go reading the function because then you discovered that it could only be one thing).
2019-05-14 09:08:50 +02:00
Lipu Fei
5ab2f9784d Fix unit test
CURA-6483
2019-04-26 13:55:12 +02:00
Lipu Fei
56cec02d44 Fix tests 2019-04-18 07:40:10 +02:00
Lipu Fei
9575c6b3b3 Fix merge conflicts 2019-04-01 13:28:42 +02:00
Jaime van Kessel
83361405a4 Add test for num instances in machine manager 2019-03-29 13:34:41 +01:00
Lipu Fei
b28fdc2b0b Use camelcase for pyqtProperty names 2019-03-28 14:22:27 +01:00
Jaime van Kessel
804e2060ea Re-added the imports to the conftest
These are really really needed, otherwise the tests wont run. I've added a few
more comments to further stress the importance of these.

CURA-6057
2019-03-27 17:20:17 +01:00
Lipu Fei
4a171eebf6 Move models around again
- Move machine related models to cura.Machines.Models
 - Move printer device related models to cura.PrinterOutput.Models
 - Other UI/GUI related modules in cura.UI
2019-03-26 08:29:22 +01:00
Lipu Fei
4e5d08f320 Fix merge conflicts with master 2019-03-21 14:59:53 +01:00
Lipu Fei
5d45dba8f3 Fix DiscoveredMachineModel test 2019-03-20 16:00:39 +01:00
Lipu Fei
615241a416 Fix module renaming 2019-03-20 13:39:08 +01:00
Lipu Fei
4078719c58 Move cura.Machine.Models to cura.UI.MachineModels 2019-03-20 09:56:11 +01:00
Lipu Fei
81fbc525e4 Rename ConfigurationModel to PrinterConfigurationModel 2019-03-20 09:52:35 +01:00
Lipu Fei
e555f7da68 Move ConfigurationModel into cura.UI module 2019-03-20 09:51:06 +01:00
Lipu Fei
49c87a1e1d Move ExtruderConfigurationModel into cura.UI module 2019-03-20 09:44:15 +01:00
Lipu Fei
6a8db55112 Move PrinterOutputModel into cura.UI module 2019-03-20 09:43:10 +01:00
Lipu Fei
2b39d6422c Move PrinterOutputDevice into cura.PrinterOutput module 2019-03-20 09:43:09 +01:00
Lipu Fei
e30104ff7f Move PrintJobOutputModel into cura.UI module 2019-03-20 09:27:23 +01:00
Lipu Fei
5848174ad4 Move PrintInformation into cura.UI module 2019-03-20 09:13:38 +01:00
Lipu Fei
dfc53d3604 Move MachineActionManager into cura.UI module 2019-03-20 09:10:48 +01:00
Jaime van Kessel
d0e61f23f1 Add test for exporting container by means of the containerManager 2019-03-15 17:02:06 +01:00
Jaime van Kessel
fd237a9473 Add test that checks the validity of the namefilters 2019-03-15 16:34:17 +01:00
Jaime van Kessel
7bb35cdbf7 Add test cases for the ContainerManager 2019-03-15 16:17:28 +01:00
Jaime van Kessel
8518aba3a5 Adds tests for QualityManager 2019-03-15 14:51:35 +01:00
Jaime van Kessel
1138baa26f Added extra tests for materialManager 2019-03-15 13:57:22 +01:00
Jaime van Kessel
4756e8b7bc Added simple init test for material manager 2019-03-12 10:00:01 +01:00
Ghostkeeper
2b8a2d0c20
Reduce print output during happy path of automated tests
It should really just not print anything except what pytest prints, so you can easily see what tests have failed and what have not.
2019-03-11 11:10:09 +01:00
Jaime van Kessel
0616601250 Merge branch '4.0' of github.com:Ultimaker/Cura 2019-03-11 10:39:23 +01:00
Ghostkeeper
e53eb70cad
Add tests for validating metadata before loading
Contributes to issue CURA-6270.
2019-03-08 14:07:10 +01:00
Lipu Fei
940a833e73 WIP: Add printers via network 2019-03-08 13:43:58 +01:00
Jaime van Kessel
1c7e047a38 Added tests for adding & removing discovered devices
CURA-6179
2019-02-28 09:47:25 +01:00
Jaime van Kessel
bbe1b1590a Added test for adding & creating machine with discovered printer
CURA-6179
2019-02-28 09:35:16 +01:00
Jaime van Kessel
3494055de7 Add some debug prints to the test that ocasionally fails on the CI 2019-02-22 15:01:53 +01:00
Jaime van Kessel
5f4907da5c Added tests for NetworkedPrinterOutputDevice 2019-02-22 14:57:22 +01:00
Jaime van Kessel
b5c270f00a Add stubs for MachineManager testing
It also adds a first test that checks if the setActiveMachine
2019-02-22 13:49:31 +01:00
Jaime van Kessel
ee1830e777 Make the duration test first zero the times before sending print duration message. 2019-02-22 11:33:23 +01:00