Skip to content

Commit

Permalink
Update tests, fixes #17
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontemagno committed Apr 11, 2017
1 parent 7ee6f65 commit 8500393
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
9 changes: 0 additions & 9 deletions MvvmHelpers.Tests/BaseVewModelTests.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using NUnit.Framework;
using System;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;

namespace MvvmHelpers.Tests
{
Expand All @@ -22,7 +19,6 @@ public void TitleTest()
};

vm.Title = "Hello";
Task.Delay(100);
Assert.IsNotNull(updated, "Property changed didn't raise");
Assert.AreEqual(updated.PropertyName, nameof(vm.Title), "Correct Property name didn't get raised");
}
Expand All @@ -39,7 +35,6 @@ public void SubTitle()
};

vm.Subtitle = "Hello";
Task.Delay(100);
Assert.IsNotNull(updated, "Property changed didn't raise");
Assert.AreEqual(updated.PropertyName, nameof(vm.Subtitle), "Correct Property name didn't get raised");
}
Expand All @@ -55,7 +50,6 @@ public void CanLoadMore()
};

vm.CanLoadMore = false;
Task.Delay(100);
Assert.IsNotNull(updated, "Property changed didn't raise");
Assert.AreEqual(updated.PropertyName, nameof(vm.CanLoadMore), "Correct Property name didn't get raised");
}
Expand All @@ -72,7 +66,6 @@ public void Icon()
};

vm.Icon = "Hello";
Task.Delay(100);
Assert.IsNotNull(updated, "Property changed didn't raise");
Assert.AreEqual(updated.PropertyName, nameof(vm.Icon), "Correct Property name didn't get raised");
}
Expand All @@ -90,7 +83,6 @@ public void IsBusy()
};

vm.IsBusy = true;
Task.Delay(100);
Assert.IsNotNull(updated, "Property changed didn't raise");
Assert.AreEqual(updated.PropertyName, nameof(vm.IsBusy), "Correct Property name didn't get raised");

Expand All @@ -110,7 +102,6 @@ public void IsNotBusy()
};

vm.IsNotBusy = false;
Task.Delay(100);
Assert.IsNotNull(updated, "Property changed didn't raise");
Assert.AreEqual(updated.PropertyName, nameof(vm.IsNotBusy), "Correct Property name didn't get raised");

Expand Down
1 change: 1 addition & 0 deletions MvvmHelpers.sln
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{93B692A1-FE26-4A59-B906-0CBADB102B8F}"
ProjectSection(SolutionItems) = preProject
appveyor.yml = appveyor.yml
bootstrapper.ps1 = bootstrapper.ps1
build.cake = build.cake
CHANGELOG.md = CHANGELOG.md
MvvmHelpers.nuspec = MvvmHelpers.nuspec
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1.2.2.{build}-beta
version: 1.3.0.{build}-beta
image: Visual Studio 2017
assembly_info:
patch: true
Expand Down

0 comments on commit 8500393

Please sign in to comment.