/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | TimestampTest.cs | 125 …Assert.IsTrue(b.CompareTo(a) > 0); // null is always first (according to default behavior of Array… in Comparability() 126 Assert.IsTrue(b.CompareTo(b) == 0); in Comparability() 127 Assert.IsTrue(b.CompareTo(b.Clone()) == 0); in Comparability() 128 Assert.IsTrue(b.CompareTo(c) < 0); in Comparability() 129 Assert.IsTrue(b.CompareTo(d) < 0); in Comparability() 130 Assert.IsTrue(b.CompareTo(e) < 0); in Comparability() 132 Assert.IsTrue(c.CompareTo(a) > 0); in Comparability() 133 Assert.IsTrue(c.CompareTo(b) > 0); in Comparability() 134 Assert.IsTrue(c.CompareTo(c) == 0); in Comparability() 135 Assert.IsTrue(c.CompareTo(c.Clone()) == 0); in Comparability() [all …]
|
D | FieldMaskTest.cs | 66 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload")); in IsValid() 68 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload.single_int32")); in IsValid() 69 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload.repeated_int32")); in IsValid() 70 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload.single_nested_message")); in IsValid() 71 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload.repeated_nested_message")); in IsValid() 74 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>(FieldMask.FromString("payload"))); in IsValid() 78 Assert.IsTrue(FieldMask.IsValid(NestedTestAllTypes.Descriptor, "payload")); in IsValid() 81 … Assert.IsTrue(FieldMask.IsValid(NestedTestAllTypes.Descriptor, FieldMask.FromString("payload"))); in IsValid() 84 … Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload.single_nested_message.bb")); in IsValid()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | Proto3OptionalTest.cs | 51 Assert.IsTrue(message.HasOptionalInt32); in OptionalInt32FieldLifecycle() 55 Assert.IsTrue(message.HasOptionalInt32); in OptionalInt32FieldLifecycle() 71 Assert.IsTrue(message.HasOptionalString); in OptionalStringFieldLifecycle() 75 Assert.IsTrue(message.HasOptionalString); in OptionalStringFieldLifecycle() 128 Assert.IsTrue(deserialized.HasOptionalInt64); in Serialization_Roundtrip() 131 Assert.IsTrue(deserialized.HasOptionalFixed32); in Serialization_Roundtrip() 140 Assert.IsTrue(message1.Equals(message2)); in Equality_IgnoresPresence()
|
D | ByteStringTest.cs | 58 Assert.IsTrue(b1 == b1); in Equality() 59 Assert.IsTrue(b1 == b2); in Equality() 63 Assert.IsTrue((ByteString) null == null); in Equality() 67 Assert.IsTrue(b1 != b3); in Equality() 68 Assert.IsTrue(b1 != b4); in Equality() 69 Assert.IsTrue(b1 != null); in Equality() 93 Assert.IsTrue(ByteString.CopyFromUtf8("").IsEmpty); in IsEmptyWhenEmpty()
|
D | CodedInputStreamTest.cs | 66 Assert.IsTrue(input.IsAtEnd); in AssertReadVarint() 70 Assert.IsTrue(input.IsAtEnd); in AssertReadVarint() 90 Assert.IsTrue(input.IsAtEnd); in AssertReadVarint() 168 … Assert.IsTrue(SegmentedBufferHelper.IsAtEnd(ref parseCtx.buffer, ref parseCtx.state)); in AssertReadFromParseContext() 218 Assert.IsTrue(input.IsAtEnd); in AssertReadLittleEndian32() 231 Assert.IsTrue(input.IsAtEnd); in AssertReadLittleEndian32() 248 Assert.IsTrue(input.IsAtEnd); in AssertReadLittleEndian64() 261 Assert.IsTrue(input.IsAtEnd); in AssertReadLittleEndian64() 662 Assert.IsTrue(input.IsAtEnd); in TestNegativeEnum() 853 Assert.IsTrue(memoryStream.CanRead); in Dispose_DisposesUnderlyingStream() [all …]
|
D | EqualityTester.cs | 47 Assert.IsTrue(first.Equals(second)); 48 Assert.IsTrue(first.Equals((object) second));
|
D | CodedOutputStreamTest.cs | 471 Assert.IsTrue(cin.IsAtEnd); in TestCodedInputOutputPosition() 481 Assert.IsTrue(cin.IsAtEnd); in TestCodedInputOutputPosition() 489 Assert.IsTrue(memoryStream.CanWrite); in Dispose_DisposesUnderlyingStream() 503 Assert.IsTrue(memoryStream.CanWrite); in Dispose_WithLeaveOpen() 510 Assert.IsTrue(memoryStream.CanWrite); // We left the stream open in Dispose_WithLeaveOpen()
|
D | ExtensionSetTest.cs | 27 Assert.IsTrue(ExtensionSet.Has(ref other, OptionalBoolExtension)); in MergeExtensionSet() 78 Assert.IsTrue(ExtensionSet.TryMergeFieldFrom(ref extensionSet, input)); in TryMergeFieldFrom_CodedInputStream()
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | ByteStringTest.cs | 54 Assert.IsTrue(b1 == b1); in Equality() 55 Assert.IsTrue(b1 == b2); in Equality() 59 Assert.IsTrue((ByteString) null == null); in Equality() 63 Assert.IsTrue(b1 != b3); in Equality() 64 Assert.IsTrue(b1 != b4); in Equality() 65 Assert.IsTrue(b1 != null); in Equality() 89 Assert.IsTrue(ByteString.CopyFromUtf8("").IsEmpty); in IsEmptyWhenEmpty()
|
D | CodedInputStreamTest.cs | 67 Assert.IsTrue(input.IsAtEnd); in AssertReadVarint() 77 Assert.IsTrue(input.IsAtEnd); in AssertReadVarint() 157 Assert.IsTrue(input.IsAtEnd); in AssertReadLittleEndian32() 165 Assert.IsTrue(input.IsAtEnd); in AssertReadLittleEndian32() 177 Assert.IsTrue(input.IsAtEnd); in AssertReadLittleEndian64() 185 Assert.IsTrue(input.IsAtEnd); in AssertReadLittleEndian64() 389 Assert.IsTrue(input.IsAtEnd); in TestNegativeEnum() 580 Assert.IsTrue(memoryStream.CanRead); in Dispose_DisposesUnderlyingStream() 591 Assert.IsTrue(memoryStream.CanRead); in Dispose_WithLeaveOpen() 595 Assert.IsTrue(memoryStream.CanRead); // We left the stream open in Dispose_WithLeaveOpen()
|
D | EqualityTester.cs | 47 Assert.IsTrue(first.Equals(second)); 48 Assert.IsTrue(first.Equals((object) second));
|
D | CodedOutputStreamTest.cs | 377 Assert.IsTrue(cin.IsAtEnd); in TestCodedInputOutputPosition() 387 Assert.IsTrue(cin.IsAtEnd); in TestCodedInputOutputPosition() 395 Assert.IsTrue(memoryStream.CanWrite); in Dispose_DisposesUnderlyingStream() 409 Assert.IsTrue(memoryStream.CanWrite); in Dispose_WithLeaveOpen() 416 Assert.IsTrue(memoryStream.CanWrite); // We left the stream open in Dispose_WithLeaveOpen()
|
/third_party/node/test/fixtures/source-map/ |
D | typescript-throw.ts | 2 IsTrue = 1, enumerator 17 } else if (a === ATrue.IsTrue) { 24 branch(ATrue.IsTrue)
|
D | typescript-throw.js | 19 else if (a === ATrue.IsTrue) { 26 branch(ATrue.IsTrue);
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/ |
D | RepeatedFieldTest.cs | 220 Assert.IsTrue(list.Equals(list)); in Equals_RepeatedField() 223 Assert.IsTrue(list.Equals(new RepeatedField<string> { "first", "second" })); in Equals_RepeatedField() 231 Assert.IsTrue(list.Equals((object) list)); in Equals_Object() 234 Assert.IsTrue(list.Equals((object) new RepeatedField<string> { "first", "second" })); in Equals_Object() 297 Assert.IsTrue(enumerator.MoveNext()); in Enumerator() 299 Assert.IsTrue(enumerator.MoveNext()); in Enumerator() 331 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_PackedInt32() 357 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_NonPackedInt32() 380 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_String() 404 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_Message() [all …]
|
D | MapFieldTest.cs | 205 Assert.IsTrue(collection.Contains(NewKeyValuePair("x", "y"))); in Contains_Pair() 218 Assert.IsTrue(map.Remove("foo")); in Remove_Key() 234 Assert.IsTrue(collection.Remove(NewKeyValuePair("foo", "bar"))); in Remove_Pair() 298 Assert.IsTrue(enumerator.MoveNext()); in IDictionary_GetEnumerator() 307 Assert.IsTrue(enumerator.MoveNext()); in IDictionary_GetEnumerator() 333 Assert.IsTrue(dictionary.Contains("x")); in IDictionary_Contains() 456 Assert.IsTrue(keys.IsReadOnly); in ViewsAreReadOnly() 494 Assert.IsTrue(keys.Contains("foo")); in KeysContains() 506 Assert.IsTrue(values.Contains("bar")); in ValuesContains()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/ |
D | log_severity_test.cc | 34 using ::testing::IsTrue; 81 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P() 105 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P() 121 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P() 154 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P() 184 IsTrue()); in TEST_P() 201 IsTrue()); in TEST_P()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/ |
D | MapFieldTest.cs | 206 Assert.IsTrue(collection.Contains(NewKeyValuePair("x", "y"))); in Contains_Pair() 219 Assert.IsTrue(map.Remove("foo")); in Remove_Key() 235 Assert.IsTrue(collection.Remove(NewKeyValuePair("foo", "bar"))); in Remove_Pair() 299 Assert.IsTrue(enumerator.MoveNext()); in IDictionary_GetEnumerator() 308 Assert.IsTrue(enumerator.MoveNext()); in IDictionary_GetEnumerator() 334 Assert.IsTrue(dictionary.Contains("x")); in IDictionary_Contains() 457 Assert.IsTrue(keys.IsReadOnly); in ViewsAreReadOnly() 495 Assert.IsTrue(keys.Contains("foo")); in KeysContains() 515 Assert.IsTrue(values.Contains("bar")); in ValuesContains() 611 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_CodedInputStream()
|
D | RepeatedFieldTest.cs | 221 Assert.IsTrue(list.Equals(list)); in Equals_RepeatedField() 224 Assert.IsTrue(list.Equals(new RepeatedField<string> { "first", "second" })); in Equals_RepeatedField() 232 Assert.IsTrue(list.Equals((object) list)); in Equals_Object() 235 Assert.IsTrue(list.Equals((object) new RepeatedField<string> { "first", "second" })); in Equals_Object() 298 Assert.IsTrue(enumerator.MoveNext()); in Enumerator() 300 Assert.IsTrue(enumerator.MoveNext()); in Enumerator() 332 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_PackedInt32() 358 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_NonPackedInt32() 381 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_String() 405 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_Message() [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 134 Assert.IsTrue(accessor.HasValue(message)); in HasValue_Proto3_Primitive_Optional() 138 Assert.IsTrue(accessor.HasValue(message)); in HasValue_Proto3_Primitive_Optional() 165 Assert.IsTrue(accessor.HasValue(message)); in HasValue_Proto2_Primitive() 169 Assert.IsTrue(accessor.HasValue(message)); in HasValue_Proto2_Primitive() 415 Assert.IsTrue(fields[TestProtos.TestAllTypes.OneofBytesFieldNumber].HasPresence); in HasPresence() 416 … Assert.IsTrue(fields[TestProtos.TestAllTypes.SingleForeignMessageFieldNumber].HasPresence); in HasPresence() 423 Assert.IsTrue(fields[TestProto3Optional.OptionalBoolFieldNumber].HasPresence); in HasPresence() 427 Assert.IsTrue(fields[Proto2.TestAllTypes.OptionalBoolFieldNumber].HasPresence); in HasPresence() 428 Assert.IsTrue(fields[Proto2.TestAllTypes.OneofBytesFieldNumber].HasPresence); in HasPresence() 429 … Assert.IsTrue(fields[Proto2.TestAllTypes.OptionalForeignMessageFieldNumber].HasPresence); in HasPresence() [all …]
|
/third_party/node/src/ |
D | timers.cc | 38 Environment::GetCurrent(args)->ToggleTimerRef(args[0]->IsTrue()); in ToggleTimerRef() 42 Environment::GetCurrent(args)->ToggleImmediateRef(args[0]->IsTrue()); in ToggleImmediateRef()
|
D | node_report_module.cc | 141 per_process::cli_options->report_on_fatalerror = info[0]->IsTrue(); in SetReportOnFatalError() 152 env->isolate_data()->options()->report_on_signal = info[0]->IsTrue(); in SetReportOnSignal() 166 env->isolate_data()->options()->report_uncaught_exception = info[0]->IsTrue(); in SetReportOnUncaughtException()
|
D | node_url.cc | 151 const bool hash = args[1]->IsTrue(); in Format() 152 const bool unicode = args[2]->IsTrue(); in Format() 153 const bool search = args[3]->IsTrue(); in Format() 154 const bool auth = args[4]->IsTrue(); in Format()
|
/third_party/zlib/contrib/dotzlib/DotZLib/ |
D | UnitTests.cs | 54 Assert.IsTrue(buf.Put( 1 )); in SinglePutGet() 70 Assert.IsTrue( buf.Put(11) ); in BlockPutGet() 74 Assert.IsTrue( Utils.byteArrEqual(arr,arr2) ); in BlockPutGet()
|
/third_party/googletest/googlemock/test/ |
D | gmock-matchers-misc_test.cc | 170 EXPECT_THAT(true, IsTrue()); in TEST() 173 EXPECT_THAT(false, Not(IsTrue())); in TEST() 174 EXPECT_THAT(0, Not(IsTrue())); in TEST() 176 EXPECT_THAT(nullptr, Not(IsTrue())); in TEST() 178 EXPECT_THAT(-1, IsTrue()); in TEST() 180 EXPECT_THAT(1, IsTrue()); in TEST() 182 EXPECT_THAT(2, IsTrue()); in TEST() 185 EXPECT_THAT(a, IsTrue()); in TEST() 187 EXPECT_THAT(&a, IsTrue()); in TEST() 189 EXPECT_THAT(false, Not(IsTrue())); in TEST() [all …]
|