Home
last modified time | relevance | path

Searched refs:IsTrue (Results 1 – 25 of 113) sorted by relevance

12345

/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DTimestampTest.cs125 …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 …]
DFieldMaskTest.cs66 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/grpc/src/csharp/Grpc.Core.Tests/Internal/
DAsyncCallTest.cs119 Assert.IsTrue(fakeCall.IsDisposed); in AsyncUnary_RequestSerializationExceptionDoesntLeakResources()
128 Assert.IsTrue(fakeCall.IsDisposed); in AsyncUnary_StartCallFailureDoesntLeakResources()
137 Assert.IsTrue(fakeCall.IsDisposed); in SyncUnary_RequestSerializationExceptionDoesntLeakResources()
146 Assert.IsTrue(fakeCall.IsDisposed); in SyncUnary_StartCallFailureDoesntLeakResources()
357 Assert.IsTrue(fakeCall.IsCancelled); in ClientStreaming_WriteAfterCancellationRequestThrowsTaskCanceledException()
376 Assert.IsTrue(fakeCall.IsDisposed); in ClientStreaming_StartCallFailureDoesntLeakResources()
438 Assert.IsTrue(readTask1.Result); in ServerStreaming_MoreResponses_Success()
443 Assert.IsTrue(readTask2.Result); in ServerStreaming_MoreResponses_Success()
459 Assert.IsTrue(fakeCall.IsDisposed); in ServerStreaming_RequestSerializationExceptionDoesntLeakResources()
471 Assert.IsTrue(fakeCall.IsDisposed); in ServerStreaming_StartCallFailureDoesntLeakResources()
[all …]
DDefaultDeserializationContextTest.cs57 Assert.IsTrue(sequence.IsEmpty); in PayloadAsReadOnlySequence_ZeroSegmentPayload()
58 Assert.IsTrue(sequence.IsSingleSegment); in PayloadAsReadOnlySequence_ZeroSegmentPayload()
78 Assert.IsTrue(sequence.IsSingleSegment); in PayloadAsReadOnlySequence_SingleSegmentPayload()
105 Assert.IsTrue(segmentEnumerator.MoveNext()); in PayloadAsReadOnlySequence_MultiSegmentPayload()
108 Assert.IsTrue(segmentEnumerator.MoveNext()); in PayloadAsReadOnlySequence_MultiSegmentPayload()
111 Assert.IsTrue(segmentEnumerator.MoveNext()); in PayloadAsReadOnlySequence_MultiSegmentPayload()
DFakeBufferReaderManagerTest.cs71 Assert.IsTrue(fakeBufferReader.TryGetNextSlice(out Slice slice)); in SingleSegmentPayload()
91 Assert.IsTrue(fakeBufferReader.TryGetNextSlice(out Slice slice1)); in MultiSegmentPayload()
94 Assert.IsTrue(fakeBufferReader.TryGetNextSlice(out Slice slice2)); in MultiSegmentPayload()
97 Assert.IsTrue(fakeBufferReader.TryGetNextSlice(out Slice slice3)); in MultiSegmentPayload()
DReusableSliceBufferTest.cs63 Assert.IsTrue(sequence.IsEmpty); in ZeroSegmentPayload()
64 Assert.IsTrue(sequence.IsSingleSegment); in ZeroSegmentPayload()
124 … Assert.IsTrue(MemoryMarshal.TryGetMemoryManager(memory, out MemoryManager<byte> memoryManager)); in GetMemoryManagersForSequenceSegments()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DProto3OptionalTest.cs51 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()
DByteStringTest.cs58 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()
DEqualityTester.cs47 Assert.IsTrue(first.Equals(second));
48 Assert.IsTrue(first.Equals((object) second));
DCodedInputStreamTest.cs66 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 …]
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DByteStringTest.cs54 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()
DCodedInputStreamTest.cs67 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()
DEqualityTester.cs47 Assert.IsTrue(first.Equals(second));
48 Assert.IsTrue(first.Equals((object) second));
DCodedOutputStreamTest.cs377 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/
Dtypescript-throw.ts2 IsTrue = 1, enumerator
17 } else if (a === ATrue.IsTrue) {
24 branch(ATrue.IsTrue)
Dtypescript-throw.js19 else if (a === ATrue.IsTrue) {
26 branch(ATrue.IsTrue);
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs220 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 …]
DMapFieldTest.cs205 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/
Dlog_severity_test.cc34 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/abseil-cpp/absl/base/
Dlog_severity_test.cc34 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/
DMapFieldTest.cs206 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()
DRepeatedFieldTest.cs221 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/
DFieldAccessTest.cs134 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/grpc/src/csharp/Grpc.Core.Tests/
DContextPropagationTest.cs111 Assert.IsTrue(context.Deadline < deadline.AddHours(1)); in PropagateDeadline()
112 Assert.IsTrue(context.Deadline > deadline.AddHours(-1)); in PropagateDeadline()
146 Assert.IsTrue(context.CancellationToken.CanBeCanceled); in SuppressDeadlinePropagation()
DGrpcEnvironmentTest.cs33 Assert.IsTrue(env.CompletionQueues.Count > 0); in InitializeAndShutdownGrpcEnvironment()
91 Assert.IsTrue(cts.Token.IsCancellationRequested); in ShuttingDownEventIsFired()

12345