253 references to Helpers
System.Drawing.Common.Tests (253)
Helpers.cs (1)
20
public const string AnyInstalledPrinters = $"{nameof(
Helpers
)}.{nameof(AreAnyPrintersInstalled)}";
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\BufferedGraphicsTests.cs (2)
52
Helpers
.VerifyBitmap(image,
97
Helpers
.VerifyBitmap(targetImage,
System\Drawing\FontFamilyTests.cs (9)
38
fontCollection.AddFontFile(
Helpers
.GetTestFontPath("CodeNewRoman.otf"));
177
fontCollection.AddFontFile(
Helpers
.GetTestFontPath("CodeNewRoman.otf"));
191
collection.AddFontFile(
Helpers
.GetTestFontPath("CodeNewRoman.otf"));
203
collection.AddFontFile(
Helpers
.GetTestFontPath("CodeNewRoman.otf"));
222
fontCollection.AddFontFile(
Helpers
.GetTestFontPath("CodeNewRoman.ttf"));
232
collection.AddFontFile(
Helpers
.GetTestFontPath("CodeNewRoman.otf"));
244
collection.AddFontFile(
Helpers
.GetTestFontPath("CodeNewRoman.otf"));
256
collection.AddFontFile(
Helpers
.GetTestFontPath("CodeNewRoman.otf"));
268
collection.AddFontFile(
Helpers
.GetTestFontPath("CodeNewRoman.otf"));
System\Drawing\FontTests.cs (1)
338
collection.AddFontFile(
Helpers
.GetTestFontPath("CodeNewRoman.otf"));
System\Drawing\GdiPlusHandlesTests.cs (1)
25
using Icon ico = new(
Helpers
.GetTestBitmapPath("16x16_one_entry_4bit.ico"));
System\Drawing\GraphicsTests.cs (17)
85
Rectangle expected =
Helpers
.GetWindowDCRect(hdc);
94
Rectangle expected =
Helpers
.GetWindowDCRect(hdc);
103
Rectangle expected =
Helpers
.GetWindowDCRect(hdc);
218
Rectangle expected =
Helpers
.GetHWndRect((HWND)hwnd);
227
Rectangle expected =
Helpers
.GetHWndRect((HWND)hwnd);
285
using Metafile image = new(
Helpers
.GetTestBitmapPath("telescope_01.wmf"));
324
Helpers
.VerifyBitmap(targetImage,
326
[transparentBlack, transparentBlack,
Helpers
.EmptyColor],
328
[
Helpers
.EmptyColor, transparentWhite, transparentWhite]
376
[transparentBlack, transparentBlack,
Helpers
.EmptyColor],
378
[
Helpers
.EmptyColor, transparentWhite, transparentWhite]
413
Helpers
.VerifyBitmap(image, expectedIntersectionColor);
867
Helpers
.VerifyBitmap(image, expectedRendering);
1064
Color empty =
Helpers
.EmptyColor;
1077
Helpers
.VerifyBitmap(image,
2744
Helpers
.VerifyBitmap(image,
2785
Helpers
.VerifyBitmapNotBlank(image);
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\ImageAttributesTests.cs (5)
1060
imageAttr.SetOutputChannelColorProfile(
Helpers
.GetTestColorProfilePath("RSWOP.icm"));
1073
imageAttr.SetOutputChannelColorProfile(
Helpers
.GetTestColorProfilePath("RSWOP.icm")));
1075
imageAttr.SetOutputChannelColorProfile(
Helpers
.GetTestColorProfilePath("RSWOP.icm"), ColorAdjustType.Default));
1126
imageAttr.SetOutputChannelColorProfile(
Helpers
.GetTestColorProfilePath("RSWOP.icm"));
1142
imageAttr.SetOutputChannelColorProfile(
Helpers
.GetTestColorProfilePath("RSWOP.icm"), type);
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\Printing\PageSettingsTests.cs (1)
34
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
System\Drawing\Printing\PreviewPrintControllerTests.cs (4)
15
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
48
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
83
[ConditionalTheory(
Helpers
.AnyInstalledPrinters)]
95
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
System\Drawing\Printing\PrintControllerTests.cs (1)
15
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
System\Drawing\Printing\PrintDocumentTests.cs (7)
106
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
127
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
145
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
188
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
206
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
253
foreach (string name in
Helpers
.InstalledPrinters)
266
foreach (string name in
Helpers
.InstalledPrinters)
System\Drawing\Printing\PrinterSettingsTests.cs (18)
42
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
78
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
158
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
161
Assert.NotNull(
Helpers
.InstalledPrinters);
171
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
189
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
197
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
289
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
296
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
354
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
365
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
378
[ConditionalTheory(
Helpers
.AnyInstalledPrinters)]
445
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
453
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
465
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
475
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
488
[ConditionalFact(
Helpers
.AnyInstalledPrinters)]
616
var installedPrinters =
Helpers
.InstalledPrinters;
System\Drawing\Text\PrivateFontCollectionTests.cs (8)
27
fontCollection.AddFontFile(
Helpers
.GetTestBitmapPath("empty.file"));
28
fontCollection.AddFontFile(
Helpers
.GetTestFontPath("CodeNewRoman.otf"));
61
fontCollection.AddFontFile(
Helpers
.GetTestFontPath("CodeNewRoman.ttf"));
62
fontCollection.AddFontFile(
Helpers
.GetTestFontPath("CodeNewRoman.ttf"));
78
fontCollection.AddFontFile(
Helpers
.GetTestFontPath("CodeNewRoman.ttf"));
79
fontCollection.AddFontFile(
Helpers
.GetTestFontPath("CodeNewRoman.otf"));
138
byte[] data = File.ReadAllBytes(
Helpers
.GetTestFontPath("CodeNewRoman.otf"));
174
byte[] data = File.ReadAllBytes(
Helpers
.GetTestFontPath("CodeNewRoman.otf"));
System\Drawing\TextureBrushTests.cs (3)
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"));
816
Helpers
.VerifyBitmap(targetImage, expectedColors);
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) };