@@ -39,9 +39,9 @@ TEST(Type, Enum) {
3939 EXPECT_EQ (
4040 Type::Enum (
4141 ABSL_DIE_IF_NULL (GetTestingDescriptorPool ()->FindEnumTypeByName (
42- " google.api. expr.test.v1 .proto3.TestAllTypes.NestedEnum" ))),
42+ " cel. expr.conformance .proto3.TestAllTypes.NestedEnum" ))),
4343 EnumType (ABSL_DIE_IF_NULL (GetTestingDescriptorPool ()->FindEnumTypeByName (
44- " google.api. expr.test.v1 .proto3.TestAllTypes.NestedEnum" ))));
44+ " cel. expr.conformance .proto3.TestAllTypes.NestedEnum" ))));
4545 EXPECT_EQ (Type::Enum (
4646 ABSL_DIE_IF_NULL (GetTestingDescriptorPool ()->FindEnumTypeByName (
4747 " google.protobuf.NullValue" ))),
@@ -52,7 +52,7 @@ TEST(Type, Field) {
5252 google::protobuf::Arena arena;
5353 const auto * descriptor =
5454 ABSL_DIE_IF_NULL (GetTestingDescriptorPool ()->FindMessageTypeByName (
55- " google.api. expr.test.v1 .proto3.TestAllTypes" ));
55+ " cel. expr.conformance .proto3.TestAllTypes" ));
5656 EXPECT_EQ (
5757 Type::Field (ABSL_DIE_IF_NULL (descriptor->FindFieldByName (" single_bool" ))),
5858 BoolType ());
@@ -150,7 +150,7 @@ TEST(Type, Field) {
150150 Type::Field (
151151 ABSL_DIE_IF_NULL (descriptor->FindFieldByName (" standalone_enum" ))),
152152 EnumType (ABSL_DIE_IF_NULL (GetTestingDescriptorPool ()->FindEnumTypeByName (
153- " google.api. expr.test.v1 .proto3.TestAllTypes.NestedEnum" ))));
153+ " cel. expr.conformance .proto3.TestAllTypes.NestedEnum" ))));
154154 EXPECT_EQ (Type::Field (ABSL_DIE_IF_NULL (
155155 descriptor->FindFieldByName (" repeated_int32" ))),
156156 ListType (&arena, IntType ()));
@@ -183,7 +183,7 @@ TEST(Type, Kind) {
183183 EXPECT_EQ (
184184 Type (EnumType (
185185 ABSL_DIE_IF_NULL (GetTestingDescriptorPool ()->FindEnumTypeByName (
186- " google.api. expr.test.v1 .proto3.TestAllTypes.NestedEnum" ))))
186+ " cel. expr.conformance .proto3.TestAllTypes.NestedEnum" ))))
187187 .kind (),
188188 EnumType::kKind );
189189
@@ -202,12 +202,12 @@ TEST(Type, Kind) {
202202
203203 EXPECT_EQ (Type (MessageType (ABSL_DIE_IF_NULL (
204204 GetTestingDescriptorPool ()->FindMessageTypeByName (
205- " google.api. expr.test.v1 .proto3.TestAllTypes" ))))
205+ " cel. expr.conformance .proto3.TestAllTypes" ))))
206206 .kind (),
207207 MessageType::kKind );
208208 EXPECT_EQ (Type (MessageType (ABSL_DIE_IF_NULL (
209209 GetTestingDescriptorPool ()->FindMessageTypeByName (
210- " google.api. expr.test.v1 .proto3.TestAllTypes" ))))
210+ " cel. expr.conformance .proto3.TestAllTypes" ))))
211211 .kind (),
212212 MessageType::kKind );
213213
@@ -252,7 +252,7 @@ TEST(Type, GetParameters) {
252252 EXPECT_THAT (
253253 Type (EnumType (
254254 ABSL_DIE_IF_NULL (GetTestingDescriptorPool ()->FindEnumTypeByName (
255- " google.api. expr.test.v1 .proto3.TestAllTypes.NestedEnum" ))))
255+ " cel. expr.conformance .proto3.TestAllTypes.NestedEnum" ))))
256256 .GetParameters (),
257257 IsEmpty ());
258258
@@ -274,7 +274,7 @@ TEST(Type, GetParameters) {
274274
275275 EXPECT_THAT (Type (MessageType (ABSL_DIE_IF_NULL (
276276 GetTestingDescriptorPool ()->FindMessageTypeByName (
277- " google.api. expr.test.v1 .proto3.TestAllTypes" ))))
277+ " cel. expr.conformance .proto3.TestAllTypes" ))))
278278 .GetParameters (),
279279 IsEmpty ());
280280
@@ -322,7 +322,7 @@ TEST(Type, Is) {
322322 EXPECT_TRUE (
323323 Type (EnumType (
324324 ABSL_DIE_IF_NULL (GetTestingDescriptorPool ()->FindEnumTypeByName (
325- " google.api. expr.test.v1 .proto3.TestAllTypes.NestedEnum" ))))
325+ " cel. expr.conformance .proto3.TestAllTypes.NestedEnum" ))))
326326 .Is <EnumType>());
327327
328328 EXPECT_TRUE (Type (ErrorType ()).Is <ErrorType>());
@@ -340,11 +340,11 @@ TEST(Type, Is) {
340340
341341 EXPECT_TRUE (Type (MessageType (ABSL_DIE_IF_NULL (
342342 GetTestingDescriptorPool ()->FindMessageTypeByName (
343- " google.api. expr.test.v1 .proto3.TestAllTypes" ))))
343+ " cel. expr.conformance .proto3.TestAllTypes" ))))
344344 .IsStruct ());
345345 EXPECT_TRUE (Type (MessageType (ABSL_DIE_IF_NULL (
346346 GetTestingDescriptorPool ()->FindMessageTypeByName (
347- " google.api. expr.test.v1 .proto3.TestAllTypes" ))))
347+ " cel. expr.conformance .proto3.TestAllTypes" ))))
348348 .IsMessage ());
349349
350350 EXPECT_TRUE (Type (NullType ()).Is <NullType>());
@@ -399,7 +399,7 @@ TEST(Type, As) {
399399 EXPECT_THAT (
400400 Type (EnumType (
401401 ABSL_DIE_IF_NULL (GetTestingDescriptorPool ()->FindEnumTypeByName (
402- " google.api. expr.test.v1 .proto3.TestAllTypes.NestedEnum" ))))
402+ " cel. expr.conformance .proto3.TestAllTypes.NestedEnum" ))))
403403 .As <EnumType>(),
404404 Optional (An<EnumType>()));
405405
@@ -418,12 +418,12 @@ TEST(Type, As) {
418418
419419 EXPECT_THAT (Type (MessageType (ABSL_DIE_IF_NULL (
420420 GetTestingDescriptorPool ()->FindMessageTypeByName (
421- " google.api. expr.test.v1 .proto3.TestAllTypes" ))))
421+ " cel. expr.conformance .proto3.TestAllTypes" ))))
422422 .As <StructType>(),
423423 Optional (An<StructType>()));
424424 EXPECT_THAT (Type (MessageType (ABSL_DIE_IF_NULL (
425425 GetTestingDescriptorPool ()->FindMessageTypeByName (
426- " google.api. expr.test.v1 .proto3.TestAllTypes" ))))
426+ " cel. expr.conformance .proto3.TestAllTypes" ))))
427427 .As <MessageType>(),
428428 Optional (An<MessageType>()));
429429
@@ -494,7 +494,7 @@ TEST(Type, Get) {
494494 EXPECT_THAT (
495495 DoGet<EnumType>(Type (EnumType (
496496 ABSL_DIE_IF_NULL (GetTestingDescriptorPool ()->FindEnumTypeByName (
497- " google.api. expr.test.v1 .proto3.TestAllTypes.NestedEnum" ))))),
497+ " cel. expr.conformance .proto3.TestAllTypes.NestedEnum" ))))),
498498 An<EnumType>());
499499
500500 EXPECT_THAT (DoGet<ErrorType>(Type (ErrorType ())), An<ErrorType>());
@@ -515,11 +515,11 @@ TEST(Type, Get) {
515515
516516 EXPECT_THAT (DoGet<StructType>(Type (MessageType (ABSL_DIE_IF_NULL (
517517 GetTestingDescriptorPool ()->FindMessageTypeByName (
518- " google.api. expr.test.v1 .proto3.TestAllTypes" ))))),
518+ " cel. expr.conformance .proto3.TestAllTypes" ))))),
519519 An<StructType>());
520520 EXPECT_THAT (DoGet<MessageType>(Type (MessageType (ABSL_DIE_IF_NULL (
521521 GetTestingDescriptorPool ()->FindMessageTypeByName (
522- " google.api. expr.test.v1 .proto3.TestAllTypes" ))))),
522+ " cel. expr.conformance .proto3.TestAllTypes" ))))),
523523 An<MessageType>());
524524
525525 EXPECT_THAT (DoGet<NullType>(Type (NullType ())), An<NullType>());
@@ -585,37 +585,37 @@ TEST(Type, VerifyTypeImplementsAbslHashCorrectly) {
585585 EXPECT_EQ (
586586 absl::HashOf (Type::Field (
587587 ABSL_DIE_IF_NULL (GetTestingDescriptorPool ()->FindMessageTypeByName (
588- " google.api. expr.test.v1 .proto3.TestAllTypes" ))
588+ " cel. expr.conformance .proto3.TestAllTypes" ))
589589 ->FindFieldByName (" repeated_int64" ))),
590590 absl::HashOf (Type (ListType (&arena, IntType ()))));
591591 EXPECT_EQ (Type::Field (ABSL_DIE_IF_NULL (
592592 GetTestingDescriptorPool ()->FindMessageTypeByName (
593- " google.api. expr.test.v1 .proto3.TestAllTypes" ))
593+ " cel. expr.conformance .proto3.TestAllTypes" ))
594594 ->FindFieldByName (" repeated_int64" )),
595595 Type (ListType (&arena, IntType ())));
596596
597597 EXPECT_EQ (
598598 absl::HashOf (Type::Field (
599599 ABSL_DIE_IF_NULL (GetTestingDescriptorPool ()->FindMessageTypeByName (
600- " google.api. expr.test.v1 .proto3.TestAllTypes" ))
600+ " cel. expr.conformance .proto3.TestAllTypes" ))
601601 ->FindFieldByName (" map_int64_int64" ))),
602602 absl::HashOf (Type (MapType (&arena, IntType (), IntType ()))));
603603 EXPECT_EQ (Type::Field (ABSL_DIE_IF_NULL (
604604 GetTestingDescriptorPool ()->FindMessageTypeByName (
605- " google.api. expr.test.v1 .proto3.TestAllTypes" ))
605+ " cel. expr.conformance .proto3.TestAllTypes" ))
606606 ->FindFieldByName (" map_int64_int64" )),
607607 Type (MapType (&arena, IntType (), IntType ())));
608608
609609 EXPECT_EQ (absl::HashOf (Type (MessageType (ABSL_DIE_IF_NULL (
610610 GetTestingDescriptorPool ()->FindMessageTypeByName (
611- " google.api. expr.test.v1 .proto3.TestAllTypes" ))))),
611+ " cel. expr.conformance .proto3.TestAllTypes" ))))),
612612 absl::HashOf (Type (StructType (common_internal::MakeBasicStructType (
613- " google.api. expr.test.v1 .proto3.TestAllTypes" )))));
613+ " cel. expr.conformance .proto3.TestAllTypes" )))));
614614 EXPECT_EQ (Type (MessageType (ABSL_DIE_IF_NULL (
615615 GetTestingDescriptorPool ()->FindMessageTypeByName (
616- " google.api. expr.test.v1 .proto3.TestAllTypes" )))),
616+ " cel. expr.conformance .proto3.TestAllTypes" )))),
617617 Type (StructType (common_internal::MakeBasicStructType (
618- " google.api. expr.test.v1 .proto3.TestAllTypes" ))));
618+ " cel. expr.conformance .proto3.TestAllTypes" ))));
619619}
620620
621621TEST (Type, Unwrap) {
0 commit comments