@@ -2015,6 +2015,31 @@ public void wrappers() throws Exception {
20152015 .setSingleBoolWrapper (BoolValue .getDefaultInstance ())
20162016 .setSingleStringWrapper (StringValue .getDefaultInstance ())));
20172017
2018+ source =
2019+ "x.repeated_int32_wrapper == [1,2] && " +
2020+ "x.repeated_int64_wrapper == [3] && " +
2021+ "x.repeated_float_wrapper == [1.5, 2.5] && " +
2022+ "x.repeated_double_wrapper == [3.5, 4.5] && " +
2023+ "x.repeated_string_wrapper == ['foo', 'bar'] && " +
2024+ "x.repeated_bool_wrapper == [true] && " +
2025+ "x.repeated_uint32_wrapper == [1u, 2u] && " +
2026+ "x.repeated_uint64_wrapper == []" ;
2027+
2028+ runTest (ImmutableMap .of ("x" ,
2029+ wrapperBindings .addRepeatedInt32Wrapper (Int32Value .of (1 ))
2030+ .addRepeatedInt32Wrapper (Int32Value .of (2 ))
2031+ .addRepeatedInt64Wrapper (Int64Value .of (3 ))
2032+ .addRepeatedFloatWrapper (FloatValue .of (1.5f ))
2033+ .addRepeatedFloatWrapper (FloatValue .of (2.5f ))
2034+ .addRepeatedDoubleWrapper (DoubleValue .of (3.5f ))
2035+ .addRepeatedDoubleWrapper (DoubleValue .of (4.5f ))
2036+ .addRepeatedStringWrapper (StringValue .of ("foo" ))
2037+ .addRepeatedStringWrapper (StringValue .of ("bar" ))
2038+ .addRepeatedBoolWrapper (BoolValue .of (true ))
2039+ .addRepeatedUint32Wrapper (UInt32Value .of (1 ))
2040+ .addRepeatedUint32Wrapper (UInt32Value .of (2 ))))
2041+ ;
2042+
20182043 source =
20192044 "x.single_bool_wrapper == null && "
20202045 + "x.single_bytes_wrapper == null && "
0 commit comments