public void ISOSpeedRatingsSetTest([PexAssumeUnderTest] XmpTag target, uint?value) { PexAssume.IsNotNull(value); target.ISOSpeedRatings = value; PexAssert.AreEqual(value.ToString(), target.GetCollectionNode(XmpTag.EXIF_NS, "ISOSpeedRatings")[0].ToString()); // TODO: add assertions to method XmpTagTest.ISOSpeedRatingsSetTest(XmpTag, Nullable`1<UInt32>) }
public void CreatorSetTest([PexAssumeUnderTest] XmpTag target, string value) { PexAssume.IsNotNull(value); target.Creator = value; PexAssert.AreEqual(target.GetCollectionNode(XmpTag.DC_NS, "creator")[0], value); // TODO: add assertions to method XmpTagTest.CreatorSetTest(XmpTag, String) }
public void KeywordsSetTest([PexAssumeUnderTest] XmpTag target, string[] value) { PexAssume.IsNotNull(value); PexAssume.IsTrue(!value.Contains(null)); target.Keywords = value; PexAssert.IsTrue(value.SequenceEqual(target.GetCollectionNode(XmpTag.DC_NS, "subject"))); // TODO: add assertions to method XmpTagTest.KeywordsSetTest(XmpTag, String[]) }
public string[] KeywordsGetTest([PexAssumeUnderTest] XmpTag target, string[] keywords) { PexAssume.IsNotNull(keywords); PexAssume.IsTrue(!keywords.Contains(null)); target.Keywords = keywords; string[] result = target.Keywords; PexAssert.IsTrue(result.SequenceEqual(target.GetCollectionNode(XmpTag.DC_NS, "subject"))); return(result); // TODO: add assertions to method XmpTagTest.KeywordsGetTest(XmpTag) }
public uint?ISOSpeedRatingsGetTest([PexAssumeUnderTest] XmpTag target, uint value) { PexAssume.IsNotNull(value); target.ISOSpeedRatings = value; uint?result = target.ISOSpeedRatings; PexAssert.AreEqual(result.ToString(), target.GetCollectionNode(XmpTag.EXIF_NS, "ISOSpeedRatings")[0].ToString()); return(result); // TODO: add assertions to method XmpTagTest.ISOSpeedRatingsGetTest(XmpTag) }
public string CreatorGetTest([PexAssumeUnderTest] XmpTag target, string creator) { PexAssume.IsNotNull(creator); target.Creator = creator; string result = target.Creator; PexAssert.AreEqual(target.GetCollectionNode(XmpTag.DC_NS, "creator")[0], result); return(result); // TODO: add assertions to method XmpTagTest.CreatorGetTest(XmpTag) }
public void SetCollectionNodeTest( [PexAssumeUnderTest] XmpTag target, string ns, string name, string[] values, XmpNodeType type ) { PexAssume.IsNotNull(ns); PexAssume.IsNotNull(name); PexAssume.IsNotNull(values); PexAssume.IsTrue(!values.Contains(null)); PexAssume.IsTrue(type != XmpNodeType.Simple && type != XmpNodeType.Alt); target.SetCollectionNode(ns, name, values, type); PexAssert.IsTrue(values.SequenceEqual(target.GetCollectionNode(ns, name))); // TODO: add assertions to method XmpTagTest.SetCollectionNodeTest(XmpTag, String, String, String[], XmpNodeType) }
public string[] GetCollectionNodeTest( [PexAssumeUnderTest] XmpTag target, string ns, string name, string[] values ) { PexAssume.IsNotNull(ns); PexAssume.IsNotNull(name); PexAssume.IsNotNull(values); PexAssume.IsTrue(!values.Contains(null)); target.SetCollectionNode(ns, name, values, XmpNodeType.Seq); string[] result = target.GetCollectionNode(ns, name); PexAssert.IsTrue(result.SequenceEqual(values)); return(result); // TODO: add assertions to method XmpTagTest.GetCollectionNodeTest(XmpTag, String, String) }