7 references to SetOutputChannelColorProfile
System.Drawing.Common.Tests (7)
System\Drawing\Imaging\ImageAttributesTests.cs (7)
1060
imageAttr.
SetOutputChannelColorProfile
(Helpers.GetTestColorProfilePath("RSWOP.icm"));
1073
imageAttr.
SetOutputChannelColorProfile
(Helpers.GetTestColorProfilePath("RSWOP.icm")));
1082
Assert.Throws<ArgumentNullException>(() => imageAttr.
SetOutputChannelColorProfile
(null));
1090
Assert.Throws<ArgumentException>(() => imageAttr.
SetOutputChannelColorProfile
(string.Empty));
1098
Assert.Throws<OutOfMemoryException>(() => imageAttr.
SetOutputChannelColorProfile
("invalidPath"));
1107
Assert.Throws<PathTooLongException>(() => imageAttr.
SetOutputChannelColorProfile
(fileNameTooLong));
1126
imageAttr.
SetOutputChannelColorProfile
(Helpers.GetTestColorProfilePath("RSWOP.icm"));