Commit graph

281 commits

Author SHA1 Message Date
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
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
Jaime van Kessel
efeba48ffb Move initializeSettingDefinitions and setting functions to their own function
This means we don't have to instantiate CuraApplication in the tests anymore
2019-02-18 09:45:30 +01:00
Jaime van Kessel
75b185d462 Add test for duration messages for printInformation 2019-02-15 16:43:08 +01:00
Jaime van Kessel
f4a0b742cb Added some tests for printerOutputDevice 2019-02-15 15:39:18 +01:00
Jaime van Kessel
4acc480544 Also add tests for configurationModel 2019-02-15 15:27:57 +01:00
Jaime van Kessel
369c64e1b6 Add tests for PrintJobOutputModel & PrinterOutputModel 2019-02-15 15:19:19 +01:00
Jaime van Kessel
338f9c0052 Add check for platform mesh & texture
It simply checks if the file exists
2019-02-15 14:42:50 +01:00
Jaime van Kessel
c3b447cd89 Also check if the variants are correct 2019-02-15 14:20:13 +01:00
Jaime van Kessel
c0d75b38b7 Added test to check if a key in the profile is defined in the definition 2019-02-15 14:06:46 +01:00
Jaime van Kessel
1e280c2869 Check if every quality is matched to an existing definition 2019-02-15 13:18:18 +01:00
Jaime van Kessel
98704e72a2 Added validation test for all qualities shipped with Cura
This checks if the qualities are atleast formatted righ.
2019-02-15 13:09:42 +01:00
Jaime van Kessel
a8f66a558c Merge branch '4.0' of github.com:Ultimaker/Cura 2019-02-14 10:53:01 +01:00
Jaime van Kessel
face8d4799 Moved logic of isDefinitionvalid to it's own function
This should make it easier in the future to add checks for the extruders as well
2019-02-13 14:11:46 +01:00
Jaime van Kessel
9b76124d11 Ensured that the validateDefinitionContainer checks a single definition per test 2019-02-13 14:02:38 +01:00
Jaime van Kessel
f35ad5cf83 Merge branch 'CURA-5977_test_definition_container' of github.com:Ultimaker/Cura 2019-02-13 14:02:09 +01:00
Jaime van Kessel
ec5da1d210 Fix failing unit test 2019-02-11 13:30:32 +01:00
ChrisTerBeke
a7071e2d3d
Fix unit tests 2019-02-08 22:53:12 +01:00
Jaime van Kessel
afce462cfa Add test for creation of unique name 2019-02-08 13:35:50 +01:00
Jaime van Kessel
67a63e7954 Add test for gcodeListDecorator
It's super simple, but hey, it's also easy to write.
2019-01-25 14:04:53 +01:00
Jaime van Kessel
c7e3b1dcaf Addded test for removing machine action 2019-01-25 14:00:26 +01:00
Diego Prado Gesto
ebae4347a8 Fix unit tests that were failing after adding the getAbbreviatedMachineName to the machine manager.
Contributes to CURA-5942.
2018-11-26 13:44:32 +01:00
Aleksei S
2b45262a85 Added test for definition container
CURA-5977
2018-11-23 17:01:05 +01:00
Diego Prado Gesto
e061fc4263 Add comments to the unit test to better know how it works.
Contributes to CURA-5808.
2018-10-23 10:59:36 +02:00
Lipu Fei
89cb67017f Add unit test for addDefaultMachineActions()
CURA-5812
2018-10-23 08:49:23 +02:00
Lipu Fei
0e772beb14 Fix typing in MachineActionManager
CURA-5812
2018-10-19 09:58:06 +02:00
Lipu Fei
c67abb61a8 Remove unused argument "index" in addFirstStartAction()
CURA-5812
2018-10-19 09:58:06 +02:00
Jaime van Kessel
a58c63bbb8 Minor fixes for visibility preset tests
CURA-5734
2018-10-17 10:51:47 +02:00
Jaime van Kessel
4c5bf3297c Merge branch 'master' of github.com:Ultimaker/Cura into CURA-5734-rework-and-unit-test-setting-visibility-preset 2018-10-17 10:49:29 +02:00
Jaime van Kessel
d086e6fa86 Fix review comments
CURA-5734
2018-10-17 10:47:34 +02:00
Ghostkeeper
b37252f124
Minor code style fixes
Contributes to issue CURA-5734.
2018-10-10 14:18:37 +02:00
Jaime van Kessel
dabe747ec0 Merge branch 'CURA-5744-move-oauth-login' of github.com:Ultimaker/Cura 2018-10-03 13:25:09 +02:00
Jaime van Kessel
4def636fc9 Minor codecleanup (Typing & removing unused imports)
CURA-5734
2018-10-01 14:54:08 +02:00
Jaime van Kessel
edb5de9954 Added unit test for settingvisibility presets
CURA-5734
2018-10-01 14:50:53 +02:00
Aleksei S
cbad60898a Merge branch 'master' of github.com:Ultimaker/Cura 2018-09-28 16:10:50 +02:00
Lipu Fei
3a01b63343 Fix refactor and tests 2018-09-28 12:33:16 +02:00