7 references to SetOutputChannelColorProfile
System.Drawing.Common.Tests (7)
System\Drawing\Imaging\ImageAttributesTests.cs (7)
1075
imageAttr.
SetOutputChannelColorProfile
(Helpers.GetTestColorProfilePath("RSWOP.icm"), ColorAdjustType.Default));
1083
Assert.Throws<ArgumentNullException>(() => imageAttr.
SetOutputChannelColorProfile
(null, ColorAdjustType.Default));
1091
Assert.Throws<ArgumentException>(() => imageAttr.
SetOutputChannelColorProfile
(string.Empty, ColorAdjustType.Default));
1099
Assert.Throws<OutOfMemoryException>(() => imageAttr.
SetOutputChannelColorProfile
("invalidPath", ColorAdjustType.Default));
1108
Assert.Throws<PathTooLongException>(() => imageAttr.
SetOutputChannelColorProfile
(fileNameTooLong, ColorAdjustType.Default));
1116
AssertExtensions.Throws<ArgumentException>(null, () => imageAttr.
SetOutputChannelColorProfile
("path", type));
1142
imageAttr.
SetOutputChannelColorProfile
(Helpers.GetTestColorProfilePath("RSWOP.icm"), type);