Home
last modified time | relevance | path

Searched refs:TestEnum (Results 1 – 25 of 59) sorted by relevance

123

/third_party/typescript/tests/baselines/reference/
DdeclarationEmitStringEnumUsedInNonlocalSpread.types2 export const enum TestEnum {
3 >TestEnum : TestEnum
6 >Test1 : TestEnum.Test1
10 >Test2 : TestEnum.Test2
15 [TestEnum.Test1]: string;
16 >[TestEnum.Test1] : string
17 >TestEnum.Test1 : TestEnum.Test1
18 >TestEnum : typeof TestEnum
19 >Test1 : TestEnum.Test1
21 [TestEnum.Test2]: string;
[all …]
DdeclarationEmitStringEnumUsedInNonlocalSpread.symbols2 export const enum TestEnum {
3 >TestEnum : Symbol(TestEnum, Decl(class.ts, 0, 0))
6 >Test1 : Symbol(TestEnum.Test1, Decl(class.ts, 0, 28))
9 >Test2 : Symbol(TestEnum.Test2, Decl(class.ts, 1, 21))
15 [TestEnum.Test1]: string;
16 >[TestEnum.Test1] : Symbol(ITest[TestEnum.Test1], Decl(class.ts, 5, 24))
17 >TestEnum.Test1 : Symbol(TestEnum.Test1, Decl(class.ts, 0, 28))
18 >TestEnum : Symbol(TestEnum, Decl(class.ts, 0, 0))
19 >Test1 : Symbol(TestEnum.Test1, Decl(class.ts, 0, 28))
21 [TestEnum.Test2]: string;
[all …]
DenumTagImported.symbols2 /** @typedef {import("./mod1").TestEnum} TE */
7 /** @type {import("./mod1").TestEnum} */
12 import { TestEnum } from "./mod1"
13 >TestEnum : Symbol(TestEnum, Decl(value.js, 0, 8))
15 /** @type {TestEnum} */
16 const tist = TestEnum.ADD
18 >TestEnum.ADD : Symbol(ADD, Decl(mod1.js, 1, 25))
19 >TestEnum : Symbol(TestEnum, Decl(value.js, 0, 8))
25 export const TestEnum = {
26 >TestEnum : Symbol(TestEnum, Decl(mod1.js, 1, 12), Decl(mod1.js, 0, 4))
DenumTagImported.types2 /** @typedef {import("./mod1").TestEnum} TE */
8 /** @type {import("./mod1").TestEnum} */
14 import { TestEnum } from "./mod1"
15 >TestEnum : { ADD: string; REMOVE: string; }
17 /** @type {TestEnum} */
18 const tist = TestEnum.ADD
20 >TestEnum.ADD : string
21 >TestEnum : { ADD: string; REMOVE: string; }
27 export const TestEnum = {
28 >TestEnum : { ADD: string; REMOVE: string; }
DdeclarationEmitStringEnumUsedInNonlocalSpread.js4 export const enum TestEnum {
10 [TestEnum.Test1]: string;
11 [TestEnum.Test2]: string;
17 [TestEnum.Test1]: '123',
18 [TestEnum.Test2]: '123',
96 export declare const enum TestEnum {
101 [TestEnum.Test1]: string;
102 [TestEnum.Test2]: string;
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DBitSetIteratorTests.cpp89 enum class TestEnum { A, B, C, D, E, F, G, H, I, J, EnumCount }; enum in EnumBitSetIteratorTest
91 static constexpr size_t kEnumCount = static_cast<size_t>(TestEnum::EnumCount);
92 ityp::bitset<TestEnum, kEnumCount> mStateBits;
97 std::set<TestEnum> originalValues; in TEST_F()
98 originalValues.insert(TestEnum::B); in TEST_F()
99 originalValues.insert(TestEnum::F); in TEST_F()
100 originalValues.insert(TestEnum::C); in TEST_F()
101 originalValues.insert(TestEnum::I); in TEST_F()
103 for (TestEnum value : originalValues) { in TEST_F()
107 std::set<TestEnum> readValues; in TEST_F()
[all …]
DMathTests.cpp24 enum class TestEnum { enum
33 struct IsDawnBitmask<wgpu::TestEnum> {
304 ASSERT_TRUE(IsSubset(wgpu::TestEnum::A, wgpu::TestEnum::A)); in TEST()
305 ASSERT_TRUE(IsSubset(wgpu::TestEnum::A, wgpu::TestEnum::A | wgpu::TestEnum::B)); in TEST()
306 ASSERT_FALSE(IsSubset(wgpu::TestEnum::C, wgpu::TestEnum::A | wgpu::TestEnum::B)); in TEST()
307 ASSERT_FALSE(IsSubset(wgpu::TestEnum::A | wgpu::TestEnum::C, wgpu::TestEnum::A)); in TEST()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DProto2ExtensionLookupSchemaTest.java39 import com.google.protobuf.testing.Proto2Testing.Proto2Message.TestEnum;
85 assertNull(TestEnum.forNumber(outOfRange)); in testUnknownEnum()
92 (long) TestEnum.ONE_VALUE); in testUnknownEnum()
100 (long) TestEnum.TWO_VALUE); in testUnknownEnum()
105 CodedOutputStream.computeUInt32SizeNoTag(TestEnum.ONE_VALUE) in testUnknownEnum()
107 + CodedOutputStream.computeUInt32SizeNoTag(TestEnum.ONE_VALUE); in testUnknownEnum()
110 packedOut.writeEnumNoTag(TestEnum.ONE_VALUE); in testUnknownEnum()
112 packedOut.writeEnumNoTag(TestEnum.TWO_VALUE); in testUnknownEnum()
162 assertEquals(TestEnum.ONE, parsed.getExtension(Proto2Testing.fieldEnumList30, 0)); in testUnknownEnum()
163 assertEquals(TestEnum.TWO, parsed.getExtension(Proto2Testing.fieldEnumList30, 1)); in testUnknownEnum()
[all …]
DAbstractProto2LiteSchemaTest.java39 import com.google.protobuf.testing.Proto2TestingLite.Proto2MessageLite.TestEnum;
144 assertNull(TestEnum.forNumber(outOfRange)); in unknownEnum()
152 (long) TestEnum.ONE_VALUE); in unknownEnum()
160 (long) TestEnum.TWO_VALUE); in unknownEnum()
165 CodedOutputStream.computeUInt32SizeNoTag(TestEnum.ONE_VALUE) in unknownEnum()
167 + CodedOutputStream.computeUInt32SizeNoTag(TestEnum.ONE_VALUE); in unknownEnum()
170 packedOut.writeEnumNoTag(TestEnum.ONE_VALUE); in unknownEnum()
172 packedOut.writeEnumNoTag(TestEnum.TWO_VALUE); in unknownEnum()
190 assertEquals(TestEnum.ONE, parsed.getFieldEnumList30(0)); in unknownEnum()
191 assertEquals(TestEnum.TWO, parsed.getFieldEnumList30(1)); in unknownEnum()
[all …]
DAbstractProto2SchemaTest.java39 import com.google.protobuf.testing.Proto2Testing.Proto2Message.TestEnum;
139 assertNull(TestEnum.forNumber(outOfRange)); in unknownEnum()
146 (long) TestEnum.ONE_VALUE); in unknownEnum()
154 (long) TestEnum.TWO_VALUE); in unknownEnum()
159 CodedOutputStream.computeUInt32SizeNoTag(TestEnum.ONE_VALUE) in unknownEnum()
161 + CodedOutputStream.computeUInt32SizeNoTag(TestEnum.ONE_VALUE); in unknownEnum()
164 packedOut.writeEnumNoTag(TestEnum.ONE_VALUE); in unknownEnum()
166 packedOut.writeEnumNoTag(TestEnum.TWO_VALUE); in unknownEnum()
210 assertEquals(TestEnum.ONE, parsed.getFieldEnumList30(0)); in unknownEnum()
211 assertEquals(TestEnum.TWO, parsed.getFieldEnumList30(1)); in unknownEnum()
[all …]
/third_party/typescript/tests/cases/compiler/
DdeclarationEmitStringEnumUsedInNonlocalSpread.ts3 export const enum TestEnum { enum
9 [TestEnum.Test1]: string;
10 [TestEnum.Test2]: string;
16 [TestEnum.Test1]: '123',
17 [TestEnum.Test2]: '123',
/third_party/protobuf/php/tests/
Dtest_util.php3 use Foo\TestEnum; alias
69 $m->setOptionalEnum(TestEnum::ONE);
89 self::appendHelper($m, 'RepeatedEnum', TestEnum::ZERO);
108 self::appendHelper($m, 'RepeatedEnum', TestEnum::ONE);
127 self::kvUpdateHelper($m, 'MapInt32Enum', 1, TestEnum::ONE);
151 $m->setOptionalEnum(TestEnum::TWO);
170 self::appendHelper($m, 'RepeatedEnum', TestEnum::TWO);
189 self::kvUpdateHelper($m, 'MapInt32Enum', 1, TestEnum::TWO);
208 self::kvUpdateHelper($m, 'MapInt32Enum', 2, TestEnum::TWO);
238 assert(TestEnum::ONE === $m->getOptionalEnum());
[all …]
/third_party/protobuf/ruby/tests/
Dbasic_test.proto34 optional TestEnum optional_enum = 11; field
46 repeated TestEnum repeated_enum = 22;
60 TestEnum singular_enum = 11;
67 enum TestEnum { enum
97 map<string, TestEnum> map_string_enum = 3;
120 TestEnum d = 4;
192 TestEnum optional_enum = 1;
193 repeated TestEnum repeated_enum = 2;
197 TestEnum const = 11;
Dgenerated_code.proto15 TestEnum optional_enum = 10;
27 repeated TestEnum repeated_enum = 30;
40 TestEnum oneof_enum = 50;
51 map<string, TestEnum> map_string_enum = 68;
65 enum TestEnum { enum
Dgenerated_code_proto2.proto15 optional TestEnum optional_enum = 10;
27 repeated TestEnum repeated_enum = 30;
39 required TestEnum required_enum = 50;
52 TestEnum oneof_enum = 70;
66 enum TestEnum { enum
Dbasic_test_proto2.proto34 optional TestEnum optional_enum = 11;
46 repeated TestEnum repeated_enum = 22;
67 enum TestEnum { enum
120 TestEnum d = 4;
173 optional TestEnum optional_enum = 11;
174 repeated TestEnum repeated_enum = 22;
178 TestEnum const = 101;
/third_party/protobuf/src/google/protobuf/compiler/ruby/
Druby_generated_code.proto15 TestEnum optional_enum = 10;
27 repeated TestEnum repeated_enum = 30;
40 TestEnum oneof_enum = 50;
51 map<string, TestEnum> map_string_enum = 68;
62 enum TestEnum { enum
Druby_generated_code_proto2.proto15 optional TestEnum optional_enum = 10 [default = A];
27 repeated TestEnum repeated_enum = 30;
39 required TestEnum required_enum = 50;
52 TestEnum oneof_enum = 70;
63 enum TestEnum { enum
/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/
Dgenerated_code.proto15 TestEnum optional_enum = 10;
27 repeated TestEnum repeated_enum = 30;
40 TestEnum oneof_enum = 50;
51 map<string, TestEnum> map_string_enum = 68;
62 enum TestEnum { enum
/third_party/protobuf/java/core/src/test/proto/com/google/protobuf/
Dproto2_message.proto49 enum TestEnum { enum
67 optional TestEnum field_enum_13 = 13;
84 repeated TestEnum field_enum_list_30 = 30 [packed = false];
98 repeated TestEnum field_enum_list_packed_44 = 44 [packed = true];
147 required TestEnum field_required_enum_83 = 83;
176 optional Proto2Message.TestEnum field_enum_13 = 13;
194 repeated Proto2Message.TestEnum field_enum_list_30 = 30 [packed = false];
209 repeated Proto2Message.TestEnum field_enum_list_packed_44 = 44
229 map<bool, Proto2Message.TestEnum> field_map_bool_enum_4 = 4;
246 map<fixed32, Proto2Message.TestEnum> field_map_fixed32_enum_21 = 21;
[all …]
Dproto2_message_lite.proto42 enum TestEnum { enum
60 optional TestEnum field_enum_13 = 13;
77 repeated TestEnum field_enum_list_30 = 30 [packed = false];
91 repeated TestEnum field_enum_list_packed_44 = 44 [packed = true];
140 required TestEnum field_required_enum_83 = 83;
169 optional Proto2MessageLite.TestEnum field_enum_13 = 13;
187 repeated Proto2MessageLite.TestEnum field_enum_list_30 = 30 [packed = false];
202 repeated Proto2MessageLite.TestEnum field_enum_list_packed_44 = 44
222 map<bool, Proto2MessageLite.TestEnum> field_map_bool_enum_4 = 4;
239 map<fixed32, Proto2MessageLite.TestEnum> field_map_fixed32_enum_21 = 21;
[all …]
Dproto3_message.proto46 enum TestEnum { enum
64 TestEnum field_enum_13 = 13;
81 repeated TestEnum field_enum_list_30 = 30 [packed = false];
95 repeated TestEnum field_enum_list_packed_44 = 44 [packed = true];
126 map<bool, Proto3Message.TestEnum> field_map_bool_enum_4 = 4;
143 map<fixed32, Proto3Message.TestEnum> field_map_fixed32_enum_21 = 21;
160 map<fixed64, Proto3Message.TestEnum> field_map_fixed64_enum_38 = 38;
177 map<int32, Proto3Message.TestEnum> field_map_int32_enum_55 = 55;
194 map<int64, Proto3Message.TestEnum> field_map_int64_enum_72 = 72;
211 map<sfixed32, Proto3Message.TestEnum> field_map_sfixed32_enum_89 = 89;
[all …]
Dproto3_message_lite.proto39 enum TestEnum { enum
57 TestEnum field_enum_13 = 13;
74 repeated TestEnum field_enum_list_30 = 30 [packed = false];
88 repeated TestEnum field_enum_list_packed_44 = 44 [packed = true];
119 map<bool, Proto3MessageLite.TestEnum> field_map_bool_enum_4 = 4;
136 map<fixed32, Proto3MessageLite.TestEnum> field_map_fixed32_enum_21 = 21;
153 map<fixed64, Proto3MessageLite.TestEnum> field_map_fixed64_enum_38 = 38;
170 map<int32, Proto3MessageLite.TestEnum> field_map_int32_enum_55 = 55;
187 map<int64, Proto3MessageLite.TestEnum> field_map_int64_enum_72 = 72;
204 map<sfixed32, Proto3MessageLite.TestEnum> field_map_sfixed32_enum_89 = 89;
[all …]
/third_party/typescript/tests/cases/conformance/jsdoc/
DenumTagImported.ts12 import { TestEnum } from "./mod1"
14 const tist = TestEnum.ADD
20 export const TestEnum = { constant
/third_party/protobuf/php/tests/proto/
Dtest.proto32 TestEnum optional_enum = 16;
54 optional TestEnum true_optional_enum = 216; field
75 repeated TestEnum repeated_enum = 46;
95 TestEnum oneof_enum = 66;
114 map<int32, TestEnum> map_int32_enum = 86;
152 enum TestEnum { enum
182 repeated TestEnum repeated_enum = 103 [packed = true];
200 repeated TestEnum repeated_enum = 103 [packed = false];

123