Example #1
0
 public void SetUp()
 {
     GLib.GType.Init ();
     File.Copy ("../data/" + imagefile, "./" + imagefile, true);
     image = ImageFactory.Open ("./" + imagefile);
     image.ReadMetadata ();
 }
Example #2
0
        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);
        }