@@ -31,10 +31,13 @@ Item {
31 property int createdDelegates: 0
31 property int createdDelegates: 0
32 property int destroyedDelegates: 0
32 property int destroyedDelegates: 0
34+ itemComponent: BaseCarouselDelegate {
34− itemComponent: Rectangle {
35+ Rectangle {
35− color: "red"
37+ color: "red"
36− Component.onCompleted: carousel.createdDelegates++
38+ Component.onCompleted: carousel.createdDelegates++
37− Component.onDestruction: carousel.destroyedDelegates++
39+ Component.onDestruction: carousel.destroyedDelegates++
40 TestCase {
43 TestCase {