diff --git a/src/Queryology.Tests/Queryology.Tests.csproj b/src/Queryology.Tests/Queryology.Tests.csproj
index 5c338b1..fef4343 100644
--- a/src/Queryology.Tests/Queryology.Tests.csproj
+++ b/src/Queryology.Tests/Queryology.Tests.csproj
@@ -8,7 +8,7 @@
..\_stylecop\StyleCopRules.ruleset
-
+
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/src/Queryology.Tests/Support/TestObjectViewer.cs b/src/Queryology.Tests/Support/TestObjectViewer.cs
index 8be4e72..7683c4d 100644
--- a/src/Queryology.Tests/Support/TestObjectViewer.cs
+++ b/src/Queryology.Tests/Support/TestObjectViewer.cs
@@ -1,7 +1,16 @@
namespace ByteDecoder.Queryology.Tests.Support
{
+ ///
+ /// Provides methods to display data for unit testing.
+ ///
public static class TestObjectViewer
{
+ ///
+ /// Displays the specified data with the given title and depth.
+ ///
+ /// The title of the data.
+ /// The data to be displayed.
+ /// The depth of the data.
public static void DisplayData(string title, object data, int depth)
{
// Just empty method for fast unit testing
diff --git a/src/Queryology.Tests/TestBuilders/QueryologyEngineTestBuilder.cs b/src/Queryology.Tests/TestBuilders/QueryologyEngineTestBuilder.cs
index e2ed12f..9d03d8d 100644
--- a/src/Queryology.Tests/TestBuilders/QueryologyEngineTestBuilder.cs
+++ b/src/Queryology.Tests/TestBuilders/QueryologyEngineTestBuilder.cs
@@ -5,6 +5,10 @@
namespace ByteDecoder.Queryology.Tests.TestBuilders
{
+ ///
+ /// Represents a test builder for QueryologyEngine.
+ ///
+ /// The type of the DbContext.
internal class QueryologyEngineTestBuilder : IDisposable
where T : DbContext, new()
{
@@ -12,6 +16,9 @@ internal class QueryologyEngineTestBuilder : IDisposable
private IQueryologyEngine _queryologyEngine;
private bool _disposedValue;
+ ///
+ /// Initializes a new instance of the class.
+ ///
public QueryologyEngineTestBuilder()
{
_dbContext = new T();
@@ -22,23 +29,39 @@ public QueryologyEngineTestBuilder()
}).Build();
}
+ ///
+ /// Specifies that excluded queries should not be ignored.
+ ///
+ /// The current instance of the .
public QueryologyEngineTestBuilder NotIgnoreExcludedQueries()
{
_queryologyEngine.IgnoreExcludedQueries(false);
return this;
}
+ ///
+ /// Specifies that excluded queries should be ignored.
+ ///
+ /// The current instance of the .
public QueryologyEngineTestBuilder IgnoreExcludedQueries()
{
_queryologyEngine.IgnoreExcludedQueries(true);
return this;
}
+ ///
+ /// Builds and returns an instance of the .
+ ///
+ /// An instance of the .
public IQueryologyEngine Build()
{
return _queryologyEngine;
}
+ ///
+ /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+ ///
+ /// True if called from the `Dispose` method, false if called from the finalizer.
protected virtual void Dispose(bool disposing)
{
if (_disposedValue)