Ghostkeeper
|
7f1930d452
Rewrite test_setPropertyUser
|
8 лет назад |
Ghostkeeper
|
52d6c074f5
Align parameters of test_setPropertyUser
|
8 лет назад |
Ghostkeeper
|
2c9e115488
Add test for hasUserValue returning false
|
8 лет назад |
Ghostkeeper
|
bbddc2308e
Don't use MockContainer in hasUserChanges tests
|
8 лет назад |
Ghostkeeper
|
e0c8a52eec
Fix test_setVariantByIdExists
|
8 лет назад |
Ghostkeeper
|
f08053283e
Fix test_setQualityChangesByIdExists
|
8 лет назад |
Ghostkeeper
|
73bd47a0a1
Actually assert that the ID is correct
|
8 лет назад |
Ghostkeeper
|
c5cce10786
Fix test_setQualityByIdExists
|
8 лет назад |
Ghostkeeper
|
d652e4564e
Fix test_setMaterialByIdExists
|
8 лет назад |
Ghostkeeper
|
546cacec37
Verify that we set the correct container after set...ByID
|
8 лет назад |
Ghostkeeper
|
6ba79881df
Use new container registry functionality for test_setDefinitionByIdExists
|
8 лет назад |
Ghostkeeper
|
4f83ae3fa7
Remove unused import
|
8 лет назад |
Ghostkeeper
|
c3ad7d114a
Set return value of registry.findContainers in the test
|
8 лет назад |
Arjen Hiemstra
|
93e42164a8
Make value unit tests also provide a "state" property
|
8 лет назад |
Ghostkeeper
|
70dc9fd95b
Document why we skip this test for now
|
8 лет назад |
Ghostkeeper
|
1c2ce5b8b1
Remove old getPropertyWithResolve test
|
8 лет назад |
Ghostkeeper
|
86b288cc6e
Add test for when instances have value and definition has resolve
|
8 лет назад |
Ghostkeeper
|
759da2ab05
Add test for value winning over resolve in instances
|
8 лет назад |
Ghostkeeper
|
0a7bcc4277
Add test for when there's no resolve in definitions
|
8 лет назад |
Ghostkeeper
|
12d1db8f19
Add test for whether resolve wins in definition
|
8 лет назад |
Arjen Hiemstra
|
73779eef25
Properly set the ContainerRegistry for the missing container test
|
8 лет назад |
Ghostkeeper
|
dfd8cfb2b8
Skip test_deserializeMoveDefinitionContainer
|
8 лет назад |
Ghostkeeper
|
71aca6aa4b
Remove old deserialize tests
|
8 лет назад |
Ghostkeeper
|
f12ffad2c1
Add test for moving definition containers
|
8 лет назад |
Ghostkeeper
|
e807739117
Add test for moving containers through deserialising
|
8 лет назад |
Ghostkeeper
|
f27e7fca88
Document test_deserializeWrongDefinitionClass
|
8 лет назад |
Ghostkeeper
|
5e9695773a
Add test for instance containers on definition spot
|
8 лет назад |
Ghostkeeper
|
00412e905f
Add test for removing definitions from instance locations
|
8 лет назад |
Ghostkeeper
|
a955c3dfdd
Add test for removing invalid instance containers from serialisation
|
8 лет назад |
Ghostkeeper
|
64ce8c0bb1
Add test for whether an empty stack deserialises to proper size
|
8 лет назад |
Ghostkeeper
|
069235f9e0
Split test_constrainContainerTypes into multiple tests
|
8 лет назад |
Ghostkeeper
|
d74aa4d24e
Don't get with default from dictionary using named parameters
|
8 лет назад |
Ghostkeeper
|
16b3c78667
Guard against type checking of DefinitionContainer
|
8 лет назад |
Ghostkeeper
|
7158ebdaea
Guard against type checking when replacing definition container
|
8 лет назад |
Ghostkeeper
|
d5df226024
Cache the indexes class
|
8 лет назад |
Ghostkeeper
|
f4fcb50a4f
Fix container types of mock containers in fallthrough
|
8 лет назад |
Ghostkeeper
|
4dfc86d5bb
Remove unused import
|
8 лет назад |
Ghostkeeper
|
e71af663c3
Make getEmptyInstanceContainer return a container with ID 'empty'
|
8 лет назад |
Ghostkeeper
|
7ce89f5d80
Simplify defaults for container IDs in fixtures
|
8 лет назад |
Ghostkeeper
|
46f3b5bd97
Use yield_fixture for fixtures with teardown
|
8 лет назад |
Ghostkeeper
|
8506c21099
Replace DefinitionContainer with MagicMock in test_addExtruder
|
8 лет назад |
Arjen Hiemstra
|
d7984c888b
Use a proper container mock for test user/quality changes
|
8 лет назад |
Arjen Hiemstra
|
30fd1ded45
Fix setPropertyOtherContainers test
|
8 лет назад |
Arjen Hiemstra
|
3c1cbd5aa9
Do not compare string to actual type
|
8 лет назад |
Arjen Hiemstra
|
3620ce4c0a
Fix setPropertyUser test with the right container and parameter order of setProperty
|
8 лет назад |
Arjen Hiemstra
|
87ce6246d8
Introduce a "writable global stack" fixture
|
8 лет назад |
Arjen Hiemstra
|
dc84141714
Implement set/getProperty for MockContainer
|
8 лет назад |
Arjen Hiemstra
|
7175ac0d20
Do not try to perform a setProperty on a definition
|
8 лет назад |
Arjen Hiemstra
|
2a2df31c5b
Set the User container to a writable container in testSetProperty
|
8 лет назад |
Arjen Hiemstra
|
3f1f4a172d
Fix constrainContainerTypes test
|
8 лет назад |