[longomatch] Serialize source button and tags
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Serialize source button and tags
- Date: Fri, 17 Apr 2015 16:27:42 +0000 (UTC)
commit 552b81d8a6e628aebf47c0669fb32fc296180c75
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Apr 15 10:49:52 2015 +0200
Serialize source button and tags
LongoMatch.Core/Store/ActionLink.cs | 2 --
Tests/Core/Store/TestActionLink.cs | 2 +-
2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch.Core/Store/ActionLink.cs b/LongoMatch.Core/Store/ActionLink.cs
index 4ee19bc..a9375dc 100644
--- a/LongoMatch.Core/Store/ActionLink.cs
+++ b/LongoMatch.Core/Store/ActionLink.cs
@@ -41,7 +41,6 @@ namespace LongoMatch.Core.Store
/// <summary>
/// The source button of the link
/// </summary>
- [JsonIgnore]
public DashboardButton SourceButton {
get;
set;
@@ -50,7 +49,6 @@ namespace LongoMatch.Core.Store
/// <summary>
/// A list of tags that needs to match in the source
/// </summary>
- [JsonIgnore]
public List<Tag> SourceTags {
get;
set;
diff --git a/Tests/Core/Store/TestActionLink.cs b/Tests/Core/Store/TestActionLink.cs
index b5636e5..c561d3d 100644
--- a/Tests/Core/Store/TestActionLink.cs
+++ b/Tests/Core/Store/TestActionLink.cs
@@ -51,7 +51,7 @@ namespace Tests.Core.Store
link = CreateLink ();
ActionLink link2 = Utils.SerializeDeserialize (link);
- Assert.AreNotEqual (link.SourceTags, link2.SourceTags);
+ Assert.AreEqual (link.SourceTags, link2.SourceTags);
Assert.AreEqual (link.DestinationTags, link2.DestinationTags);
Assert.AreEqual (link.Action, link2.Action);
Assert.AreEqual (link.TeamAction, link2.TeamAction);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]