public void Export3Error1() { var tag_base = new TagCollection(); tag_base.TrackNameEnglish = "foo"; tag_base.GameNameEnglish = "bar"; tag_base.Export(null, Encoding.UTF8); }
public void Export3Error3() { using (var ms = new MemoryStream(new byte[256], false)) { var tag_base = new TagCollection(); tag_base.TrackNameEnglish = "foo"; tag_base.GameNameEnglish = "bar"; tag_base.Export(ms, Encoding.UTF8); } }
public void Export3Test() { using (var ms = new MemoryStream()) { var tag_base = new TagCollection(); tag_base.TrackNameEnglish = "foo"; tag_base.GameNameEnglish = "bar"; tag_base.Export(ms, Encoding.UTF8); } }
public void Export3Error3() { using (var ms = new MemoryStream(new byte[256], false)) { var tag_base = new TagCollection(); tag_base.Add("title", "foo"); tag_base.Add("name", "bar"); tag_base.Export(ms, Encoding.UTF8); } }
public void Export3Test() { using (var ms = new MemoryStream()) { var tag_base = new TagCollection(); tag_base.Add("title", "foo"); tag_base.Add("name", "bar"); tag_base.Export(ms, Encoding.UTF8); } }
public void Export3Error1() { var tag_base = new TagCollection(); tag_base.Add("title", "foo"); tag_base.Add("name", "bar"); tag_base.Export(null, Encoding.UTF8); }
public void Export3Error2() { using (var ms = new MemoryStream()) { var tag_base = new TagCollection(); tag_base.Add("title", "foo"); tag_base.Add("name", "bar"); tag_base.Export(ms, null); } }
public void Export2Error4() { var buffer = new byte[0]; var tag_base = new TagCollection(); tag_base.Export(buffer, 0, 42, Encoding.UTF8); }
public void Export2Test() { var buffer = new byte[100]; var tag_base = new TagCollection(); tag_base.Add("title", "foo"); tag_base.Add("name", "bar"); tag_base.Export(buffer, 0, 100, Encoding.UTF8); }
public void Export2Error2() { var buffer = new byte[0]; var tag_base = new TagCollection(); tag_base.Export(buffer, 0, 0, null); }
public void Export2Error1() { var tag_base = new TagCollection(); tag_base.Export(null, 0, 0, Encoding.UTF8); }
public void Export1Test() { var tag_base = new TagCollection(); tag_base.Add("title", "foo"); tag_base.Add("name", "bar"); var buffer = tag_base.Export(Encoding.UTF8); }
public void Export1Error1() { var tag_base = new TagCollection(); tag_base.Export(null); }
public void ConstructorTest7() { var tag_base = new TagCollection(); tag_base.Add("title", "foo"); tag_base.Add("name", "bar"); var buffer = tag_base.Export(Encoding.UTF8); var new_tag = new TagCollection(buffer, Encoding.UTF8); Assert.AreEqual(2, new_tag.Count); Assert.AreEqual("foo", new_tag["title"]); Assert.AreEqual("bar", new_tag["name"]); }