85 references to s_dimension
System.Windows.Forms.Tests (85)
TrackBarTests.cs (85)
31
Assert.Equal(
s_dimension
, control.Bottom);
32
Assert.Equal(new Rectangle(0, 0, 104,
s_dimension
), control.Bounds);
39
Assert.Equal(new Size(104,
s_dimension
), control.ClientSize);
40
Assert.Equal(new Rectangle(0, 0, 104,
s_dimension
), control.ClientRectangle);
54
Assert.Equal(new Size(104,
s_dimension
), control.DefaultSize);
56
Assert.Equal(new Rectangle(0, 0, 104,
s_dimension
), control.DisplayRectangle);
67
Assert.Equal(
s_dimension
, control.Height);
86
Assert.Equal(new Size(104,
s_dimension
), control.PreferredSize);
96
Assert.Equal(new Size(104,
s_dimension
), control.Size);
122
Assert.Equal(
s_dimension
, createParams.Height);
150
Assert.Equal(
s_dimension
, createParams.Height);
176
Assert.Equal(
s_dimension
, createParams.Height);
207
Assert.Equal(
s_dimension
, createParams.Height);
228
Assert.Equal(new Size(104,
s_dimension
), control.Size);
237
Assert.Equal(new Size(104,
s_dimension
), control.Size);
246
Assert.Equal(new Size(104,
s_dimension
), control.Size);
266
Assert.Equal(new Size(104,
s_dimension
), control.Size);
275
Assert.Equal(new Size(104,
s_dimension
), control.Size);
284
Assert.Equal(new Size(104,
s_dimension
), control.Size);
308
Assert.Equal(new Size(104,
s_dimension
), control.Size);
320
Assert.Equal(new Size(104,
s_dimension
), control.Size);
332
Assert.Equal(new Size(104,
s_dimension
), control.Size);
362
Assert.Equal(new Size(
s_dimension
,
s_dimension
), control.Size);
374
Assert.Equal(new Size(
s_dimension
,
s_dimension
), control.Size);
386
Assert.Equal(new Size(
s_dimension
,
s_dimension
), control.Size);
849
yield return new object[] { true, Orientation.Horizontal, new Size(104,
s_dimension
) };
850
yield return new object[] { true, Orientation.Vertical, new Size(
s_dimension
,
s_dimension
) };
851
yield return new object[] { false, Orientation.Horizontal, new Size(104,
s_dimension
) };
852
yield return new object[] { false, Orientation.Vertical, new Size(
s_dimension
,
s_dimension
) };
1299
yield return new object[] { true, Orientation.Horizontal, new Size(104,
s_dimension
), false };
1300
yield return new object[] { true, Orientation.Vertical, new Size(104,
s_dimension
), true };
1301
yield return new object[] { false, Orientation.Horizontal, new Size(104,
s_dimension
), false };
1302
yield return new object[] { false, Orientation.Vertical, new Size(104,
s_dimension
), false };
1331
yield return new object[] { true, Orientation.Horizontal, new Size(
s_dimension
,
s_dimension
), false, true };
1332
yield return new object[] { true, Orientation.Vertical, new Size(104,
s_dimension
), true, false };
1333
yield return new object[] { false, Orientation.Horizontal, new Size(
s_dimension
,
s_dimension
), false, false };
1334
yield return new object[] { false, Orientation.Vertical, new Size(104,
s_dimension
), false, false };
1365
yield return new object[] { true, Orientation.Horizontal, new Size(104,
s_dimension
), false, false, 0 };
1366
yield return new object[] { true, Orientation.Vertical, new Size(
s_dimension
, 104), true, false, 1 };
1367
yield return new object[] { false, Orientation.Horizontal, new Size(104,
s_dimension
), false, false, 0 };
1368
yield return new object[] { false, Orientation.Vertical, new Size(
s_dimension
, 104), false, false, 1 };
1411
yield return new object[] { true, Orientation.Horizontal, new Size(
s_dimension
,
s_dimension
), false, true, 1 };
1412
yield return new object[] { true, Orientation.Vertical, new Size(
s_dimension
,
s_dimension
), true, false, 0 };
1413
yield return new object[] { false, Orientation.Horizontal, new Size(
s_dimension
,
s_dimension
), false, false, 1 };
1414
yield return new object[] { false, Orientation.Vertical, new Size(
s_dimension
,
s_dimension
), false, false, 0 };
2840
yield return new object[] { false, orientation, 0, 0, 104,
s_dimension
, specified, 104,
s_dimension
, 0, 0 };
2860
yield return new object[] { true, Orientation.Horizontal, 0, 0, 104,
s_dimension
, specified, 104,
s_dimension
, 0, 0 };
2874
yield return new object[] { true, Orientation.Horizontal, 0, 0, 104,
s_dimension
, specified, 104,
s_dimension
, 0, 0 };
2875
yield return new object[] { true, Orientation.Horizontal, 0, 0, 0, 0, specified, 0,
s_dimension
, 0, 1 };
2876
yield return new object[] { true, Orientation.Horizontal, -1, -2, -3, -4, specified, -3,
s_dimension
, 1, 1 };
2877
yield return new object[] { true, Orientation.Horizontal, 1, 0, 0, 0, specified, 0,
s_dimension
, 1, 1 };
2878
yield return new object[] { true, Orientation.Horizontal, 0, 2, 0, 0, specified, 0,
s_dimension
, 1, 1 };
2879
yield return new object[] { true, Orientation.Horizontal, 1, 2, 0, 0, specified, 0,
s_dimension
, 1, 1 };
2880
yield return new object[] { true, Orientation.Horizontal, 0, 0, 1, 0, specified, 1,
s_dimension
, 0, 1 };
2881
yield return new object[] { true, Orientation.Horizontal, 0, 0, 0, 2, specified, 0,
s_dimension
, 0, 1 };
2882
yield return new object[] { true, Orientation.Horizontal, 0, 0, 1, 2, specified, 1,
s_dimension
, 0, 1 };
2883
yield return new object[] { true, Orientation.Horizontal, 1, 2, 30, 40, specified, 30,
s_dimension
, 1, 1 };
2893
yield return new object[] { true, Orientation.Vertical, 0, 0, 104,
s_dimension
, specified, 104,
s_dimension
, 0, 0 };
2907
yield return new object[] { true, Orientation.Vertical, 0, 0, 104,
s_dimension
, specified,
s_dimension
,
s_dimension
, 0, 1 };
2908
yield return new object[] { true, Orientation.Vertical, 0, 0, 0, 0, specified,
s_dimension
, 0, 0, 1 };
2909
yield return new object[] { true, Orientation.Vertical, -1, -2, -3, -4, specified,
s_dimension
, -4, 1, 1 };
2910
yield return new object[] { true, Orientation.Vertical, 1, 0, 0, 0, specified,
s_dimension
, 0, 1, 1 };
2911
yield return new object[] { true, Orientation.Vertical, 0, 2, 0, 0, specified,
s_dimension
, 0, 1, 1 };
2912
yield return new object[] { true, Orientation.Vertical, 1, 2, 0, 0, specified,
s_dimension
, 0, 1, 1 };
2913
yield return new object[] { true, Orientation.Vertical, 0, 0, 1, 0, specified,
s_dimension
, 0, 0, 1 };
2914
yield return new object[] { true, Orientation.Vertical, 0, 0, 0, 2, specified,
s_dimension
, 2, 0, 1 };
2915
yield return new object[] { true, Orientation.Vertical, 0, 0, 1, 2, specified,
s_dimension
, 2, 0, 1 };
2916
yield return new object[] { true, Orientation.Vertical, 1, 2, 30, 40, specified,
s_dimension
, 40, 1, 1 };