Changeset View
Changeset View
Standalone View
Standalone View
libs/image/tests/kis_layer_test.cpp
Show First 20 Lines • Show All 266 Lines • ▼ Show 20 Line(s) | 236 | { | |||
---|---|---|---|---|---|
267 | resultRect = paintLayer1->changeRect(testRect, KisNode::N_ABOVE_FILTHY); | 267 | resultRect = paintLayer1->changeRect(testRect, KisNode::N_ABOVE_FILTHY); | ||
268 | QVERIFY2(resultRect == testRect, | 268 | QVERIFY2(resultRect == testRect, | ||
269 | "KisNode::N_ABOVE_FILTHY node should NOT take " | 269 | "KisNode::N_ABOVE_FILTHY node should NOT take " | ||
270 | "masks into account"); | 270 | "masks into account"); | ||
271 | 271 | | |||
272 | /** | 272 | /** | ||
273 | * KisNode::N_BELOW_FILTHY, KisNode::N_FILTHY_PROJECTION | 273 | * KisNode::N_BELOW_FILTHY, KisNode::N_FILTHY_PROJECTION | ||
274 | * should not be use by the caller, because the walker | 274 | * should not be use by the caller, because the walker | ||
275 | * shoult not visit these node on a forward way. | 275 | * should not visit these node on a forward way. | ||
276 | * So the behavoiur here is undefined. | 276 | * So the behavior here is undefined. | ||
277 | * | 277 | * | ||
278 | * resultRect = paintLayer1->changeRect(testRect, KisNode::N_BELOW_FILTHY); | 278 | * resultRect = paintLayer1->changeRect(testRect, KisNode::N_BELOW_FILTHY); | ||
279 | * resultRect = paintLayer1->changeRect(testRect, KisNode::N_FILTHY_PROJECTION); | 279 | * resultRect = paintLayer1->changeRect(testRect, KisNode::N_FILTHY_PROJECTION); | ||
280 | */ | 280 | */ | ||
281 | 281 | | |||
282 | } | 282 | } | ||
283 | 283 | | |||
284 | void KisLayerTest::testMoveLayerWithMaskThreaded() | 284 | void KisLayerTest::testMoveLayerWithMaskThreaded() | ||
Show All 31 Lines |