19 references to Count
Microsoft.AspNetCore.Shared.Tests (19)
runtime\Http2\DynamicTableTest.cs (14)
23
Assert.Equal(0, dynamicTable.
Count
);
34
Assert.Equal(1, dynamicTable.
Count
);
37
Assert.Equal(2, dynamicTable.
Count
);
79
Assert.Equal(0, dynamicTable.
Count
);
93
Assert.Equal(0, dynamicTable.
Count
);
131
Assert.True(table.
Count
> 0);
132
Assert.True(table.
Count
< insertedHeaders.Count);
134
for (int i = 0; i < table.
Count
; ++i)
165
for (int i = 0; i < dynamicTable.
Count
; ++i)
173
Assert.Equal(expectedCount, dynamicTable.
Count
);
175
for (int i = 0; i < dynamicTable.
Count
; ++i)
205
Assert.Equal(0, dynamicTable.
Count
);
219
Assert.Equal(0, dynamicTable.
Count
);
239
Assert.Equal(entries.Length, dynamicTable.
Count
);
runtime\Http2\HPackDecoderTest.cs (5)
160
Assert.Equal(1, _dynamicTable.
Count
);
169
Assert.Equal(0, _dynamicTable.
Count
); // The large entry caused the table to be wiped
924
Assert.Equal(0, dynamicTable.
Count
);
947
Assert.Equal(1, dynamicTable.
Count
);
954
Assert.Equal(0, dynamicTable.
Count
);