Remco Burema
02516f0f47
Refactor: Move common fixtures to 'conftest'.
...
Part of CURA-6091.
2019-06-21 14:58:55 +02:00
Remco Burema
0f9de9935e
Add unit-test for .intentCategories
...
Part of CURA-6091.
2019-06-21 14:37:10 +02:00
Remco Burema
53c387f34d
Add TestIntentManager (mostly a dummy file), prevents future conflicts. [CURA-6091]
2019-06-20 16:04:37 +02:00
Ghostkeeper
5ab1881a21
Merge branch 'master' into feature_intent
...
Conflicts:
plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py -> There is a new version upgrade in master, so the old one is sort of obsolete. We may have to move this part to a new version upgrade for 4.3.
plugins/VersionUpgrade/VersionUpgrade41to42/__init__.py
2019-06-19 13:10:36 +02:00
Jaime van Kessel
f842769c1d
Fix situation where _calculateMoveFromWallRadius could cause exception
2019-06-07 17:21:28 +02:00
Jaime van Kessel
4018c24b4c
Split out all the individual steps for getting the edgeDisallowedSize
...
This makes it so much easier to write tests for it
2019-06-07 17:14:51 +02:00
Jaime van Kessel
3967c995f1
Split out updating the machine size properties so it can be tested easily
2019-06-07 16:42:51 +02:00
Jaime van Kessel
887f50dee4
Add tests for calculating the extra z clearance
2019-06-07 16:30:29 +02:00
Jaime van Kessel
54740dd486
Add some unhappy flow tests for rebuild
2019-06-07 16:09:18 +02:00
Jaime van Kessel
8fcec63ccb
Add tests for computing raft thickness
2019-06-07 15:52:35 +02:00
Jaime van Kessel
8907a624e1
Add test to check the number of known settings
2019-06-07 14:45:36 +02:00
Jaime van Kessel
06aaf40d06
Add test for computation of prime blob
2019-06-07 14:29:15 +02:00
Jaime van Kessel
2d4fe5c128
Add some simple tests for meshbuilding of the build volume
2019-06-07 13:05:00 +02:00
Remco Burema
6f928ad97c
Merge branch 'master' into feature_intent
2019-06-07 10:39:52 +02:00
Lipu Fei
0e55b25e0b
Merge pull request #5768 from Ultimaker/CURA-5395-orthographic-view
...
Support for orthographic view
2019-06-06 11:49:25 +02:00
Jaime van Kessel
d69c4d0979
Fix tests
...
CURA-6543
2019-06-03 16:27:39 +02:00
Jaime van Kessel
f85095f5d8
Added simple test for BuildVolume
2019-05-31 17:19:27 +02:00
Jaime van Kessel
54ffcc478c
Add some tests for DiscoveredPrintersModel
2019-05-31 17:03:38 +02:00
Jaime van Kessel
7e76505464
Add some tests for _compute2DConvexHull
2019-05-31 16:37:46 +02:00
Jaime van Kessel
19475faa5f
Add a few more simple tests for convex hull decorator
2019-05-31 16:16:14 +02:00
Jaime van Kessel
a2687223f0
Add number of tests for ConvexHullDecorator
2019-05-31 16:10:14 +02:00
Jaime van Kessel
475b91d0d1
Add tests for CuraSceneController
2019-05-31 15:28:58 +02:00
Jaime van Kessel
92dc99a4d5
Add a number of tests for settingInheritanceManager
2019-05-31 14:54:34 +02:00
Jaime van Kessel
14d5fa5529
Add a bunch of tests for importing profiles
2019-05-31 13:59:54 +02:00
Jaime van Kessel
1d4fe56a21
Add tests for _findProfileWriter
2019-05-31 13:18:14 +02:00
Jaime van Kessel
43360aace0
Add tests for ExportQualityProfile
2019-05-31 13:07:03 +02:00
Jaime van Kessel
31f53dfc3c
Add tests for SettingOverrideDecorator
...
CURA-6539
2019-05-28 11:22:13 +02:00
Lipu Fei
0bc8a67a37
Merge master
2019-05-28 10:43:51 +02:00
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
9e6263b1f1
Change instances of assert_called_once to assert_called_once_with
...
Grumbles something about python 3.5 and 3.6...
2019-05-21 14:56: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