@@ -568,23 +568,28 @@ def test_test_partial_properties(opts, generate_tests):
568568 schema .Class ("B" , bases = ["A" ], properties = [
569569 schema .RepeatedProperty ("y" , "bool" ),
570570 schema .RepeatedOptionalProperty ("z" , "int" ),
571+ schema .RepeatedUnorderedProperty ("w" , "string" ),
571572 ]),
572573 ]) == {
573574 "B/B.ql" : a_ql_class_tester (class_name = "B" , properties = [
574575 ql .PropertyForTest (getter = "hasX" ),
575576 ql .PropertyForTest (getter = "getNumberOfYs" , type = "int" ),
577+ ql .PropertyForTest (getter = "getNumberOfWs" , type = "int" ),
576578 ]),
577579 "B/B_getX.ql" : a_ql_property_tester (class_name = "B" ,
578580 property = ql .PropertyForTest (getter = "getX" , is_total = False ,
579581 type = "string" )),
580582 "B/B_getY.ql" : a_ql_property_tester (class_name = "B" ,
581583 property = ql .PropertyForTest (getter = "getY" , is_total = False ,
582- is_repeated = True ,
584+ is_indexed = True ,
583585 type = "bool" )),
584586 "B/B_getZ.ql" : a_ql_property_tester (class_name = "B" ,
585587 property = ql .PropertyForTest (getter = "getZ" , is_total = False ,
586- is_repeated = True ,
587- type = "int" )),
588+ is_indexed = True ,
589+ type = "int" )),
590+ "B/B_getAW.ql" : a_ql_property_tester (class_name = "B" ,
591+ property = ql .PropertyForTest (getter = "getAW" , is_total = False ,
592+ type = "string" )),
588593 }
589594
590595
@@ -605,7 +610,7 @@ def test_test_properties_deduplicated(opts, generate_tests):
605610 ]),
606611 "Final/Final_getY.ql" : a_ql_property_tester (class_name = "Final" ,
607612 property = ql .PropertyForTest (getter = "getY" , is_total = False ,
608- is_repeated = True ,
613+ is_indexed = True ,
609614 type = "bool" )),
610615 }
611616
0 commit comments