180 references to GetTestBitmapPath
System.Drawing.Common.Tests (180)
mono\System.Drawing.Imaging\BmpCodecTests.cs (10)
43
string sInFile = Helpers.
GetTestBitmapPath
("almogaver1bit.bmp");
64
string sInFile = Helpers.
GetTestBitmapPath
("almogaver1bit.bmp");
109
string sInFile = Helpers.
GetTestBitmapPath
("almogaver8bits.bmp");
130
string sInFile = Helpers.
GetTestBitmapPath
("almogaver8bits.bmp");
175
string sInFile = Helpers.
GetTestBitmapPath
("almogaver24bits.bmp");
196
string sInFile = Helpers.
GetTestBitmapPath
("almogaver24bits.bmp");
239
string sInFile = Helpers.
GetTestBitmapPath
("almogaver24bits.bmp");
362
string sInFile = Helpers.
GetTestBitmapPath
("almogaver32bits.bmp");
382
string sInFile = Helpers.
GetTestBitmapPath
("almogaver32bits.bmp");
493
string sInFile = Helpers.
GetTestBitmapPath
("non-inverted.bmp");
mono\System.Drawing.Imaging\GifCodecTests.cs (6)
61
Bitmap8bitsFeatures(Helpers.
GetTestBitmapPath
("nature24bits.gif"));
67
Bitmap8bitsFeatures(Helpers.
GetTestBitmapPath
("nature24bits87.gif"));
95
Bitmap8bitsPixels(Helpers.
GetTestBitmapPath
("nature24bits.gif"));
101
Bitmap8bitsPixels(Helpers.
GetTestBitmapPath
("nature24bits87.gif"));
107
string sInFile = Helpers.
GetTestBitmapPath
("nature24bits.gif");
166
string sInFile = Helpers.
GetTestBitmapPath
("81773-interlaced.gif");
mono\System.Drawing.Imaging\IconCodecTests.cs (23)
41
string sInFile = Helpers.
GetTestBitmapPath
("16x16_one_entry_4bit.ico");
58
string sInFile = Helpers.
GetTestBitmapPath
("16x16_one_entry_4bit.ico");
67
string sInFile = Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico");
98
string sInFile = Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico");
106
string sInFile = Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico");
130
string sInFile = Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico");
216
string sInFile = Helpers.
GetTestBitmapPath
("VisualPng.ico");
246
string sInFile = Helpers.
GetTestBitmapPath
("VisualPng.ico");
254
string sInFile = Helpers.
GetTestBitmapPath
("VisualPng.ico");
326
string sInFile = Helpers.
GetTestBitmapPath
("VisualPng.ico");
421
string sInFile = Helpers.
GetTestBitmapPath
("48x48_one_entry_1bit.ico");
451
string sInFile = Helpers.
GetTestBitmapPath
("48x48_one_entry_1bit.ico");
459
string sInFile = Helpers.
GetTestBitmapPath
("48x48_one_entry_1bit.ico");
544
string sInFile = Helpers.
GetTestBitmapPath
("48x48_one_entry_1bit.ico");
643
string sInFile = Helpers.
GetTestBitmapPath
("64x64_one_entry_8bit.ico");
673
string sInFile = Helpers.
GetTestBitmapPath
("64x64_one_entry_8bit.ico");
681
string sInFile = Helpers.
GetTestBitmapPath
("64x64_one_entry_8bit.ico");
748
string sInFile = Helpers.
GetTestBitmapPath
("64x64_one_entry_8bit.ico");
901
string sInFile = Helpers.
GetTestBitmapPath
("96x96_one_entry_8bit.ico");
931
string sInFile = Helpers.
GetTestBitmapPath
("96x96_one_entry_8bit.ico");
939
string sInFile = Helpers.
GetTestBitmapPath
("96x96_one_entry_8bit.ico");
1523
string sInFile = Helpers.
GetTestBitmapPath
("96x96_one_entry_8bit.ico");
1834
string sInFile = Helpers.
GetTestBitmapPath
("48x48_multiple_entries_32bit.ico");
mono\System.Drawing.Imaging\JpegCodecTests.cs (6)
42
string sInFile = Helpers.
GetTestBitmapPath
("nature-greyscale.jpg");
86
string sInFile = Helpers.
GetTestBitmapPath
("nature-greyscale.jpg");
110
string sInFile = Helpers.
GetTestBitmapPath
("nature-greyscale.jpg");
169
string sInFile = Helpers.
GetTestBitmapPath
("nature24bits.jpg");
201
string sInFile = Helpers.
GetTestBitmapPath
("nature24bits.jpg");
225
string sInFile = Helpers.
GetTestBitmapPath
("almogaver24bits.bmp");
mono\System.Drawing.Imaging\PngCodecTests.cs (9)
42
string sInFile = Helpers.
GetTestBitmapPath
("1bit.png");
69
string sInFile = Helpers.
GetTestBitmapPath
("1bit.png");
143
string sInFile = Helpers.
GetTestBitmapPath
("1bit.png");
244
string sInFile = Helpers.
GetTestBitmapPath
("81674-2bpp.png");
271
string sInFile = Helpers.
GetTestBitmapPath
("81674-2bpp.png");
295
string sInFile = Helpers.
GetTestBitmapPath
("81674-2bpp.png");
352
string sInFile = Helpers.
GetTestBitmapPath
("4bit.png");
393
string sInFile = Helpers.
GetTestBitmapPath
("4bit.png");
468
string sInFile = Helpers.
GetTestBitmapPath
("4bit.png");
mono\System.Drawing.Imaging\TiffCodecTests.cs (4)
42
string sInFile = Helpers.
GetTestBitmapPath
("almogaver32bits.tif");
64
string sInFile = Helpers.
GetTestBitmapPath
("almogaver32bits.tif");
73
string sInFile = Helpers.
GetTestBitmapPath
("almogaver32bits.tif");
117
string sInFile = Helpers.
GetTestBitmapPath
("almogaver32bits.tif");
mono\System.Drawing\BitmapTests.cs (10)
318
string sInFile = Helpers.
GetTestBitmapPath
("almogaver24bits.bmp");
334
string sInFile = Helpers.
GetTestBitmapPath
("almogaver24bits.bmp");
345
string sInFile = Helpers.
GetTestBitmapPath
("almogaver24bits.bmp");
443
string sInFile = Helpers.
GetTestBitmapPath
("almogaver24bits.bmp");
1191
using (Icon icon = new(Helpers.
GetTestBitmapPath
("16x16_one_entry_4bit.ico")))
1209
using (Icon icon = new(Helpers.
GetTestBitmapPath
("32x32_one_entry_4bit.ico")))
1227
using (Icon icon = new(Helpers.
GetTestBitmapPath
("64x64_one_entry_8bit.ico")))
1245
using (Icon icon = new(Helpers.
GetTestBitmapPath
("96x96_one_entry_8bit.ico")))
1262
string sInFile = Helpers.
GetTestBitmapPath
("almogaver24bits.bmp");
1288
string sInFile = Helpers.
GetTestBitmapPath
("almogaver24bits.bmp");
mono\System.Drawing\GraphicsTests.cs (1)
344
string sInFile = Helpers.
GetTestBitmapPath
("almogaver1bit.bmp");
mono\System.Imaging\MetafileTest.cs (7)
45
string filename = Helpers.
GetTestBitmapPath
(WmfPlaceable);
94
using Metafile mf = new(Helpers.
GetTestBitmapPath
(WmfPlaceable));
108
using FileStream fs = File.OpenRead(Helpers.
GetTestBitmapPath
(WmfPlaceable));
123
string filename = Helpers.
GetTestBitmapPath
(WmfPlaceable);
161
using Metafile mf = new(Helpers.
GetTestBitmapPath
(Emf));
169
using FileStream fs = File.OpenRead(Helpers.
GetTestBitmapPath
(Emf));
178
string filename = Helpers.
GetTestBitmapPath
(Emf);
System\Drawing\BitmapTests.cs (15)
45
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
(filename));
58
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
(filename), useIcm);
120
using Stream stream = File.OpenRead(Helpers.
GetTestBitmapPath
(filename));
134
using Stream stream = File.OpenRead(Helpers.
GetTestBitmapPath
(filename));
278
yield return new object[] { new Bitmap(Helpers.
GetTestBitmapPath
("16x16_one_entry_4bit.ico")), 16, 16 };
279
yield return new object[] { new Bitmap(Helpers.
GetTestBitmapPath
("16x16_nonindexed_24bit.png")), 32, 48 };
303
using Bitmap image = new(Helpers.
GetTestBitmapPath
("16x16_one_entry_4bit.ico"));
661
yield return new object[] { new Icon(Helpers.
GetTestBitmapPath
("16x16_one_entry_4bit.ico")), 16, 16 };
662
yield return new object[] { new Icon(Helpers.
GetTestBitmapPath
("32x32_one_entry_4bit.ico")), 32, 32 };
663
yield return new object[] { new Icon(Helpers.
GetTestBitmapPath
("64x64_one_entry_8bit.ico")), 64, 64 };
664
yield return new object[] { new Icon(Helpers.
GetTestBitmapPath
("96x96_one_entry_8bit.ico")), 96, 96 };
740
using Stream wmfStream = File.OpenRead(Helpers.
GetTestBitmapPath
("gdiwmfboundariesbug.wmf"));
744
using Stream expectedPngStream = File.OpenRead(Helpers.
GetTestBitmapPath
("gdiwmfboundariesbug-output.png"));
767
using Icon icon = new(Helpers.
GetTestBitmapPath
("48x48_one_entry_1bit.ico"));
908
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
("16x16_one_entry_4bit.ico"));
System\Drawing\GdiPlusHandlesTests.cs (1)
25
using Icon ico = new(Helpers.
GetTestBitmapPath
("16x16_one_entry_4bit.ico"));
System\Drawing\GraphicsTests.cs (1)
285
using Metafile image = new(Helpers.
GetTestBitmapPath
("telescope_01.wmf"));
System\Drawing\IconTests.cs (39)
40
using Icon icon = new(Helpers.
GetTestBitmapPath
(name));
70
using Icon icon = new(Helpers.
GetTestBitmapPath
(fileName), size.Width, size.Height);
80
using Icon icon = new(Helpers.
GetTestBitmapPath
(fileName), size);
97
using var stream = File.OpenRead(Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico"));
107
TrickleStream stream = new(File.ReadAllBytes(Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico")));
124
using var stream = File.OpenRead(Helpers.
GetTestBitmapPath
(fileName));
135
using var stream = File.OpenRead(Helpers.
GetTestBitmapPath
(fileName));
222
using Icon sourceIcon = new(Helpers.
GetTestBitmapPath
(fileName));
234
using Icon sourceIcon = new(Helpers.
GetTestBitmapPath
(fileName));
281
using Icon icon = new(Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico"));
305
Icon icon = new(Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico"));
313
Icon icon = Icon.ExtractAssociatedIcon(Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico"));
322
using Icon source = new(Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico"));
337
using Icon icon = new(Helpers.
GetTestBitmapPath
("48x48_multiple_entries_32bit.ico"), size, size);
351
ExtractAssociatedIcon_FilePath_Success_Helper(Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico"));
357
string bitmapPath = Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico");
425
SaveAndCompare(new Icon(Helpers.
GetTestBitmapPath
(fileName)), true);
431
string filePath = Helpers.
GetTestBitmapPath
("256x256_seven_entries_multiple_bits.ico");
441
string filePath = Helpers.
GetTestBitmapPath
("256x256_seven_entries_multiple_bits.ico");
452
using Icon icon = new(Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico"));
459
using Icon source = new(Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico"));
469
using Icon icon = new(Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico"));
479
using Icon source = new(Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico"));
499
Icon icon = Icon.ExtractAssociatedIcon(Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico"));
507
yield return new object[] { new Icon(Helpers.
GetTestBitmapPath
("16x16_one_entry_4bit.ico")) };
508
yield return new object[] { new Icon(Helpers.
GetTestBitmapPath
("32x32_one_entry_4bit.ico")) };
509
yield return new object[] { new Icon(Helpers.
GetTestBitmapPath
("48x48_one_entry_1bit.ico")) };
510
yield return new object[] { new Icon(Helpers.
GetTestBitmapPath
("64x64_one_entry_8bit.ico")) };
511
yield return new object[] { new Icon(Helpers.
GetTestBitmapPath
("96x96_one_entry_8bit.ico")) };
512
yield return new object[] { new Icon(Helpers.
GetTestBitmapPath
("256x256_two_entries_multiple_bits.ico"), 48, 48) };
513
yield return new object[] { new Icon(Helpers.
GetTestBitmapPath
("256x256_two_entries_multiple_bits.ico"), 256, 256) };
514
yield return new object[] { new Icon(Helpers.
GetTestBitmapPath
("256x256_two_entries_multiple_bits.ico"), 0, 0) };
544
using Icon originalIcon = new(Helpers.
GetTestBitmapPath
("48x48_one_entry_1bit.ico"));
636
using Icon icon1 = new(Helpers.
GetTestBitmapPath
("16x16_one_entry_4bit.ico"));
646
using Icon icon1 = new(Helpers.
GetTestBitmapPath
("16x16_one_entry_4bit.ico"));
664
using (Icon icon1 = new(Helpers.
GetTestBitmapPath
("16x16_one_entry_4bit.ico")))
679
using (Icon icon1 = new(Helpers.
GetTestBitmapPath
("16x16_one_entry_4bit.ico")))
706
Icon icon = new(Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico"));
750
using var stream = File.OpenRead(Helpers.
GetTestBitmapPath
("pngwithheight_icon.ico"));
System\Drawing\ImageAnimator.ManualTests.cs (1)
63
bitmaps[imageName] = new Bitmap(Helpers.
GetTestBitmapPath
(imageName));
System\Drawing\ImageAnimatorTests.cs (20)
20
using Bitmap image = new(Helpers.
GetTestBitmapPath
(imageName));
27
Bitmap image = new(Helpers.
GetTestBitmapPath
("1bit.png"));
34
Bitmap animatedImage = new(Helpers.
GetTestBitmapPath
("animated-timer-100fps-repeat-2.gif"));
37
Bitmap image = new(Helpers.
GetTestBitmapPath
("1bit.png"));
44
Bitmap image = new(Helpers.
GetTestBitmapPath
("1bit.png"));
51
Bitmap animatedImage = new(Helpers.
GetTestBitmapPath
("animated-timer-100fps-repeat-2.gif"));
54
Bitmap image = new(Helpers.
GetTestBitmapPath
("1bit.png"));
61
Bitmap image = new(Helpers.
GetTestBitmapPath
("1bit.png"));
68
Bitmap animatedImage = new(Helpers.
GetTestBitmapPath
("animated-timer-100fps-repeat-2.gif"));
71
Bitmap image = new(Helpers.
GetTestBitmapPath
("1bit.png"));
84
using Bitmap image = new(Helpers.
GetTestBitmapPath
(imageName));
91
Bitmap image = new(Helpers.
GetTestBitmapPath
("animated-timer-100fps-repeat-2.gif"));
98
Bitmap animatedImage = new(Helpers.
GetTestBitmapPath
("animated-timer-100fps-repeat-2.gif"));
101
Bitmap image = new(Helpers.
GetTestBitmapPath
("animated-timer-100fps-repeat-infinite.gif"));
108
Bitmap animatedImage = new(Helpers.
GetTestBitmapPath
("animated-timer-100fps-repeat-2.gif"));
115
Bitmap animatedImage = new(Helpers.
GetTestBitmapPath
("animated-timer-100fps-repeat-2.gif"));
123
Bitmap animatedImage = new(Helpers.
GetTestBitmapPath
("animated-timer-100fps-repeat-2.gif"));
131
Bitmap image = new(Helpers.
GetTestBitmapPath
("animated-timer-100fps-repeat-2.gif"));
138
Bitmap animatedImage = new(Helpers.
GetTestBitmapPath
("animated-timer-100fps-repeat-2.gif"));
141
Bitmap image = new(Helpers.
GetTestBitmapPath
("animated-timer-100fps-repeat-infinite.gif"));
System\Drawing\ImageConverterTests.cs (1)
38
using Icon icon = new(Helpers.
GetTestBitmapPath
(name));
System\Drawing\ImageTests.cs (14)
23
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
("nature24bits.jpg"));
39
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
("nature24bits.jpg"));
81
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
("almogaver1bit.bmp"));
97
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
("nature24bits.jpg"));
121
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
("almogaver1bit.bmp"));
128
using Bitmap source = new(Helpers.
GetTestBitmapPath
("nature24bits.jpg"));
156
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
("nature24bits.jpg"));
189
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
("almogaver1bit.bmp"));
199
using Bitmap source = new(Helpers.
GetTestBitmapPath
("nature24bits.jpg"));
217
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
("nature24bits.jpg"));
227
using Bitmap source = new(Helpers.
GetTestBitmapPath
("nature24bits.jpg"));
286
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
("nature24bits.jpg"));
428
using Bitmap source = new(Helpers.
GetTestBitmapPath
("nature24bits.jpg"));
429
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
("almogaver1bit.bmp"));
System\Drawing\Imaging\MetafileTests.cs (1)
940
return Helpers.
GetTestBitmapPath
(fileName);
System\Drawing\Imaging\PropertyItemTests.cs (5)
16
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
("nature24bits.jpg"));
28
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
("nature24bits.jpg"));
40
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
("nature24bits.jpg"));
57
using Bitmap bitmap = new(Helpers.
GetTestBitmapPath
("nature24bits.jpg"));
74
using Bitmap image = new(Helpers.
GetTestBitmapPath
("16x16_nonindexed_24bit.png"));
System\Drawing\Text\PrivateFontCollectionTests.cs (1)
27
fontCollection.AddFontFile(Helpers.
GetTestBitmapPath
("empty.file"));
System\Drawing\TextureBrushTests.cs (2)
14
yield return new object[] { new Metafile(Helpers.
GetTestBitmapPath
("telescope_01.wmf")), PixelFormat.Format32bppArgb, new Size(490, 654) };
41
using Icon icon = new(Helpers.
GetTestBitmapPath
("10x16_one_entry_32bit.ico"));
System\Drawing\ToolboxBitmapAttributeTests.cs (3)
26
yield return new object[] { Helpers.
GetTestBitmapPath
("bitmap_173x183_indexed_8bit.bmp"), new Size(173, 183) };
27
yield return new object[] { Helpers.
GetTestBitmapPath
("48x48_multiple_entries_4bit.ico"), new Size(16, 16) };
28
yield return new object[] { Helpers.
GetTestBitmapPath
("invalid.ico"), new Size(0, 0) };