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
Aleksei S
9bd4ab2faa
Added unittest for PrintInformation class
2018-09-28 10:46:14 +02:00
Jaime van Kessel
57334dd751
Merge branch 'master' of github.com:Ultimaker/Cura into CURA-5744-move-oauth-login
2018-09-27 17:52:00 +02:00
Jaime van Kessel
f585afe77b
Fix spacing
2018-09-27 17:31:45 +02:00
Jaime van Kessel
47c5dbaf84
Add extra unit test that tests the storing and loading of data to the preferences
2018-09-27 13:07:37 +02:00
Jaime van Kessel
202cf698c3
Change callback for succes / failure to the new location
...
CURA-5744
2018-09-27 11:56:19 +02:00
Jaime van Kessel
d5dbf91a4f
Switch unit test to use decoratior instead of with waterfall
...
CURA-5744
2018-09-26 17:23:36 +02:00
Jaime van Kessel
b48adf5b3e
Typing fixes
...
CURA-5744
2018-09-24 17:37:06 +02:00
Jaime van Kessel
7360313ff7
Add LocalAuthServer test
...
This is to ensure that once we try to login, it actually attempts to start the local server
CURA-5744
2018-09-24 17:26:08 +02:00
Jaime van Kessel
1e5177a44f
Added unit tests for authorization service
...
CURA-5744
2018-09-24 17:04:20 +02:00
Ghostkeeper
f8da8c14e5
Fix running tests with PyQt 5.11
...
This was causing the test runner to crash.
2018-09-14 11:38:14 +02:00
Lipu Fei
15f5e9ff01
Remove TestShortcutKeys
2018-09-06 16:06:45 +02:00
Lipu Fei
c36434ebdd
Fix TestShortcutKeys
2018-09-06 16:06:45 +02:00
Aleksei S
27c112d4db
Fix duplicated shortcut keys in all languages
...
CURA-5642
2018-09-06 16:06:45 +02:00
Aleksei S
944b937036
Simplified unit test, make code clear
...
CURA-5642
2018-09-06 16:06:45 +02:00
Aleksei S
17d2316da3
Validate shortcut keys in all languages(except default)
...
CURA-5642
2018-09-06 16:06:45 +02:00
Aleksei S
3a8d023371
Addded test for checking shortcut keys
...
CURA-5642
2018-09-06 16:06:45 +02:00
Lipu Fei
bb578be066
Move the script to scripts dir
2018-09-06 14:22:36 +02:00
Ghostkeeper
ea2b0d0480
Print total predicted number of buffer underruns
...
I think this is the final metric that we'll want to track.
Contributes to issue CURA-5561.
2018-09-06 09:58:25 +02:00
Ghostkeeper
3e30e26ac0
Move into tests folder
...
There it can stay and be used on modern code.
Contributes to issue CURA-5561.
2018-09-05 17:16:55 +02:00
Lipu Fei
8582a1ba1a
Mock application in unit tests
2018-08-23 17:00:57 +02:00
Lipu Fei
c20274e356
Move constant instance containers to a separate file
...
This way we separate the class/type definitions and the actual
constants.
2018-08-15 11:04:09 +02:00
Diego Prado Gesto
77c5a94db2
Fix some test in the CuraContainerRegistry.
...
Delete a test that needs a ContainerProvider. We need to discuss if we
want to add it back, depending if we are still keeping the providers.
Contributes to CURA-5628.
2018-08-14 17:14:30 +02:00
Diego Prado Gesto
b85950b128
Fix tests in the ExtruderStack.
...
Contributes to CURA-5628.
2018-08-14 15:40:11 +02:00
Diego Prado Gesto
1364370ede
Fix global stack tests.
...
Contributes to CURA-5628.
2018-08-14 13:49:37 +02:00
Diego Prado Gesto
db7f1242cd
Fix some unit tests.
...
Add fixtures to the conftest file and clean-up the code a bit.
Contributes to CURA-5628
2018-08-14 10:41:38 +02:00
Lipu Fei
af02dc2758
Only use setMetaDataEntry()
2018-07-11 11:14:57 +02:00
Diego Prado Gesto
554a3fd908
Merge branch 'master' into mypy_fixes
...
Conflicts:
cura/Backups/Backup.py
cura/Settings/ExtruderManager.py
cura/Settings/MachineManager.py
2018-06-13 11:53:02 +02:00
Ghostkeeper
54a03723ab
Set encoding correctly when opening files everywhere
...
Otherwise the encoding is interpreted differently on Windows and Mac.
2018-06-11 11:09:07 +02:00
Ghostkeeper
e38228ac24
Remove unused target_container parameter
...
It's not compatible with ContainerInterface anyway.
Contributes to issue CURA-5330.
2018-06-01 14:53:54 +02:00
Jack Ha
a3ac20172b
CURA-5370 The minimum offset between objects in the Arranger is now determined by the brim/skirt/... setting
2018-05-23 12:54:18 +02:00
Jack Ha
f5bed242ed
CURA-5370 Small refactor for Arranger: make x and y consistent (numpy arrays start with y first in general), faster, cleanup, more unit tests, take actual build plate size in Arranger instances
2018-05-22 17:13:35 +02:00
Lipu Fei
dc52e939e9
Fix unit tests for adding CuraContainerStacks
...
CURA-5281
Because of the definition_changes fix, CuraContainerStack.deserialize()
may create and add extra containers, so the unit tests need to be adjusted.
2018-04-25 17:55:20 +02:00
ChrisTerBeke
474db38ddf
Fix failing test for um3_extended 0.8 variant
2018-03-14 13:30:20 +01:00
Lipu Fei
dfa870b6a9
Remove approximate diameter unit tests because the function/property is gone
2018-02-27 13:15:03 +01:00
Lipu Fei
f4d69918fb
WIP: Remove findDefault..()s
2018-02-16 14:23:11 +01:00
Lipu Fei
12164a0c88
WIP: Remove set..ById()s in CuraContainerStack
2018-02-16 14:23:11 +01:00
Aleksei S
47925ec3bc
PyTest fix: The extruder stack test is failed
2018-02-06 18:51:11 +01:00