601 Commits

Author SHA1 Message Date
Remco Burema
ffe9515236 Refactor: Split up single test method in smaller ones.
part of CURA-6091
2019-07-02 08:57:40 +02:00
Jaime van Kessel
db3d6aae83 Add boundingbox test for buildvolume 2019-07-01 09:55:04 +02:00
Jaime van Kessel
47cc87ec47 Add tests for calculating the bed adhesion size 2019-06-28 14:17:18 +02:00
Jaime van Kessel
b240ede21c Add test for computing the static disallowed areas 2019-06-28 13:45:05 +02:00
Remco Burema
810fee37eb Start to test other IntentManager functions.
Very rudimentary at the moment, need to split the method into 3, and make a class for the setup.
This also uncovered that the currentAvailableIntents doesn't (unless the global stack is missing) retrun any default intents, while currentAvailableIntentCategories does do that.
Since it's not clear how we're going to handle that right now, I made a TODO in the code, which of course will have to be fixed before this/these branch/es are merged.

part of CURA-6091
2019-06-28 12:10:39 +02:00
Remco Burema
2843fc903b First OK test-case for 'currentAvailableIntents'.
part of CURA-6091
2019-06-28 11:09:42 +02:00
Remco Burema
e8a1c68d92 Added (partial) test for 'currentAvailableIntents'.
part of CURA-6091
2019-06-27 17:07:26 +02:00
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