Jaime van Kessel
f6ccd40f9f
Add tests for metadatachanged
...
CURA-6600
2019-08-21 15:18:57 +02:00
Jaime van Kessel
25ea1dd66a
Add tests for the _onRemoved handler
...
CURA-6600
2019-08-21 14:45:59 +02:00
Jaime van Kessel
a6be5ac52d
Fix materialNode tests
...
CURA-6600
2019-08-21 12:50:40 +02:00
Remco Burema
507cb356d2
Remove (all?, most?) deprecated ContainerNode.getMetaDataEntry calls.
...
part of CURA-6600
2019-08-20 15:38:45 +02:00
Ghostkeeper
80baeb9873
Remove _added functions for nodes that can't be added during runtime
...
Among the machines, variants, materials, qualities and intents, only machines and materials can ever be added during runtime. For the rest, we don't need to listen to these signals.
Contributes to issue CURA-6600.
2019-08-16 16:28:42 +02:00
Remco Burema
7fb9642e45
Replace deprecated .getContainer() calls with .container
...
part of CURA-6600
2019-08-15 13:40:08 +02:00
Lipu Fei
e8fd013329
Fix OAuth2 test
2019-08-15 09:23:05 +02:00
Jaime van Kessel
7af6d16de9
Merge branch 'feature_intent_container_tree' of github.com:Ultimaker/Cura into feature_intent_container_tree
2019-08-13 16:40:41 +02:00
Jaime van Kessel
c218b7ac56
Fix the tests for materialnode
...
CURA-6600
2019-08-13 16:22:33 +02:00
Ghostkeeper
6a5f425468
Fix running tests via CMake
...
The Settings folder conflicts with the same folder in Uranium, so it couldn't find MockContainer from the Uranium version.
Contributes to issue CURA-6600.
2019-08-13 16:20:21 +02:00
Ghostkeeper
6a8e1557c3
Merge branch 'feature_intent' into feature_intent_container_tree
...
Conflicts:
.gitlab-ci.yml
cura/Machines/MaterialManager.py
cura/Machines/VariantManager.py
cura/Settings/ContainerManager.py
cura/Settings/MachineManager.py
tests/TestMachineManager.py
2019-08-13 14:59:05 +02:00
Ghostkeeper
20201c65e6
Merge branch 'master' into feature_intent
...
Conflicts:
resources/bundled_packages/cura.json -> 4.1 to 4.2 upgrade package added simultaneously
tests/TestMachineManager.py -> Due to changes in conftest.py
tests/conftest.py -> Simultaneously expanding the magic mocks to have some correct properties
2019-08-13 14:43:28 +02:00
Jaime van Kessel
e08feb1099
Fix final set of broken tests
...
CURA-6600
2019-08-12 16:32:59 +02:00
Jaime van Kessel
e18820b846
Fix tests for ContainerManager
...
CURA-6600
2019-08-12 15:37:19 +02:00
Jaime van Kessel
fc3461d865
Fix the machine node test
...
CURA-6600
2019-08-12 15:11:59 +02:00
Jaime van Kessel
6cea609b56
Fix intentManager test
...
Since we changed how the QualityManager is constructed, the test should change as well
CURA-6600
2019-08-12 14:52:05 +02:00
Jaime van Kessel
e2596e64ef
Add tests for quality node
2019-08-08 14:11:00 +02:00
Jaime van Kessel
c26d113002
Add test for the MaterialNode
...
CURA-6600
2019-08-08 13:52:45 +02:00
Jaime van Kessel
a8fbb80b09
Add tests for the updating of MaterialNodes in the variant node
...
CURA-6600
2019-08-08 10:46:24 +02:00
Jaime van Kessel
476c7b683d
Extend variant node test to also test the material added case
...
CURA-6600
2019-08-07 17:23:12 +02:00
Jaime van Kessel
2683c31975
Add initial tests for variantNode
...
CURA-6600
2019-08-07 17:04:39 +02:00
Jaime van Kessel
fa077038fc
Add tests for the MachineNode
2019-08-07 16:17:46 +02:00
Jaime van Kessel
a241425aaf
Add test for ContainerTree
...
CURA-6600
2019-08-07 15:35:22 +02:00
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