You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge branch 'feature/SQL-unit-tests' into develop
Established initial unit tests for stored procedures and functions in the `dbo` schema.
Stored procedures:
- `CreateTopic` (e77013b)
- `DeleteTopic` (b136726)
- `GetTopics` (ac0d9b9)
- `GetTopicVersion` (d625089, 3b44745)
- `MoveTopic` (63069ba, 1fb3016)
- `UpdateAttributes` (d697fb0)
- `UpdateExtendedAttributes` (69c0500)
- `UpdateReferences` (8214f92)
- `UpdateRelationships` (04eb1bc)
- `UpdateTopic` (f184d19)
Functions:
- `GetAttributes` (156e734)
- `FindTopicIDs` (6d69fa6)
- `GetChildTopicIDs` (4c80bb0)
- `GetExtendedAttribute` (dd5e015)
- `GetParentID` (b08055e)
- `GetTopicID` (d6991e7)
- `GetUniqueKey` (40b50fa)
As part of this, I also uncovered and fixed a couple of bugs:
- `GetChildTopicIDs` was still operating off of `Attributes` not `Topics` (eb03f08)
- `Load(Topic, DateTime)` was causing a compile-time error due to a last-minute parameter refactoring (732b1e0)
// This file is used by Code Analysis to maintain SuppressMessage
2
+
// attributes that are applied to this project.
3
+
// Project-level suppressions either have no target or are given
4
+
// a specific target and scoped to a namespace, type, member, etc.
5
+
6
+
usingSystem.Diagnostics.CodeAnalysis;
7
+
8
+
[assembly:SuppressMessage("Style","IDE1006:Naming Styles",Justification="Incompatible with generated code",Scope="namespaceanddescendants",Target="~N:OnTopic.Data.Sql.Database.Tests")]
9
+
[assembly:SuppressMessage("Style","IDE0003:Remove qualification",Justification="Incompatible with generated code",Scope="namespaceanddescendants",Target="~N:OnTopic.Data.Sql.Database.Tests")]
10
+
[assembly:SuppressMessage("Style","IDE0059:Unnecessary assignment of a value",Justification="Incompatible with generated code",Scope="namespaceanddescendants",Target="~N:OnTopic.Data.Sql.Database.Tests")]
11
+
[assembly:SuppressMessage("Style","IDE0007:Use implicit type",Justification="Incompatible with generated code",Scope="namespaceanddescendants",Target="~N:OnTopic.Data.Sql.Database.Tests")]
12
+
[assembly:SuppressMessage("Style","IDE0022:Use expression body for methods",Justification="Incompatible with generated code",Scope="namespaceanddescendants",Target="~N:OnTopic.Data.Sql.Database.Tests")]
0 commit comments