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