public void SetUp() { GLib.GType.Init (); File.Copy ("../data/" + imagefile, "./" + imagefile, true); image = ImageFactory.Open ("./" + imagefile); image.ReadMetadata (); }
public void SetAndReadComment() { string comment = "comment set by unit test"; image.Comment = comment; image.WriteMetadata (); image = ImageFactory.Open ("./" + imagefile); image.ReadMetadata (); Assert.AreEqual (image.Comment, comment); }