521 Commits

Author SHA1 Message Date
Jaime van Kessel
c5928d2c4b Add typing & tests for Layer 2019-08-02 16:49:07 +02:00
Jaime van Kessel
1103df0cc9 Add test for _getIOPlugins 2019-08-02 14:38:39 +02:00
Jaime van Kessel
c7ab1a9f5d Add tests for _isMetadataValid 2019-08-02 14:30:37 +02:00
Jaime van Kessel
bc7c4d61f8 Mark test that only fails on CI server as to be skipped for the moment 2019-07-24 09:56:49 +02:00
Jaime van Kessel
0077e022ce Renamed some small test classes so they don't cause pytest warnings
Pytest thought that they were tests, since their name started with test
2019-07-23 13:24:39 +02:00
Jaime van Kessel
28184ad999 Add some simple tests to CuraSceneNode 2019-07-19 16:53:37 +02:00
Jaime van Kessel
d59e74c867 Add test for gettingFallbackMaterialByMaterialType 2019-07-19 16:19:24 +02:00
Jaime van Kessel
18f89529a7 Add additional tests for the material manager 2019-07-19 16:04:12 +02:00
Jaime van Kessel
97758cfc88 Expand the qualityManager tests 2019-07-19 15:00:35 +02:00
Jaime van Kessel
1d62cc48aa Add test for getDefaultQualityType 2019-07-19 14:04:36 +02:00
Jaime van Kessel
9ad8d91ff9 Add tests for ExtruderManager 2019-07-19 13:55:16 +02:00
Jaime van Kessel
57199d8991 Add a few more simple test to MachineManager 2019-07-19 13:25:34 +02:00
Jaime van Kessel
2ee6f4af15 Added test for activeMaterialId's 2019-07-19 13:04:54 +02:00
Jaime van Kessel
9940023816 Add test for adding a new machine 2019-07-19 12:56:54 +02:00
Jaime van Kessel
b6de376b02 Add test for getMachine function 2019-07-19 12:48:36 +02:00
Lipu Fei
8863516aa4 Rename function name and fix tests
CURA-6597
2019-07-09 12:53:44 +02:00
Ghostkeeper
168c9db648
Code style: Space around binary operators
Contributes to issue CURA-6597.
2019-07-04 09:28:23 +02:00
Jaime van Kessel
be1fd2e003 Merge branch 'master' of github.com:Ultimaker/Cura into feature_intent_per_quality 2019-07-02 13:52:46 +02:00
Remco Burema
50cbf71f68 Fixed test 'selectIntent' for IntentManager-tests.
part of CURA-6091
2019-07-02 13:15:18 +02:00
Remco Burema
fee6ec417f Merge branch 'master' into feature_intent_per_quality 2019-07-02 10:21:20 +02:00
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