Add more code coverage tests. (#129)

This commit is contained in:
Karl Burtram
2016-10-29 19:59:58 -07:00
committed by GitHub
parent ab1316b1fb
commit 69bbb652da
8 changed files with 151 additions and 21 deletions

View File

@@ -834,7 +834,10 @@ namespace Microsoft.SqlTools.ServiceLayer.Test.Connection
summary2.DatabaseName = "tempdb";
Assert.False(comparer.Equals(summary1, summary2));
}
Assert.False(comparer.Equals(null, summary2));
Assert.False(summary1.GetHashCode() == summary2.GetHashCode());
}
/// <summary>
/// Verify when a connection is created that the URI -> Connection mapping is created in the connection service.