This pull request includes a variety of changes across multiple files to improve code consistency, simplify logic, and enhance functionality. The most important changes include updates to the database connection strings, UI component adjustments, and modifications to observer logic.
This pull request includes a variety of changes across multiple files to improve code consistency, simplify logic, and enhance functionality. The most important changes include updates to the database connection strings, UI component adjustments, and modifications to observer logic.
Database Connection Updates:
src/.idea/.idea.AutoSpex/.idea/dataSources.xml
: Updated thejdbc-url
to remove thenet8.0
directory from the path.src/AutoSpex.Persistence/ConnectionManager.cs
: Changed theAppDatabase
path to../spex.db
to ensure consistency across environments.tests/AutoSpex.Persistence.Tests/TestContext.cs
: Updated theAppDb
path to../spex.db
for test consistency.UI Component Adjustments:
src/AutoSpex.Client/Components/Entries/SpecEntry.axaml
: Added padding to theTextBox
element for better UI spacing.src/AutoSpex.Client/Components/Items/ElementListItem.axaml
: Added aCopyNameCommand
binding to a button for enhanced functionality.src/AutoSpex.Client/Components/Items/EvaluationListItem.axaml
: Various changes to simplify the XAML structure and improve data binding. [1] [2] [3]Observer Logic Modifications:
src/AutoSpex.Client/Observers/ElementObserver.cs
: Simplified theCopyName
method to useSetTextAsync
and updatedDetermineName
andDetermineContainer
methods for better scope handling. [1] [2] [3]src/AutoSpex.Client/Observers/EvaluationObserver.cs
: ChangedCandidate
,Expected
, andActual
properties to use strings and collections of strings instead of custom objects. [1] [2]Engine and Query Enhancements:
src/AutoSpex.Engine/AutoSpex.Engine.csproj
: Upgraded theL5Sharp
package to version4.2.0
.src/AutoSpex.Engine/Query.cs
: Refined the query logic to useFind
method and updated scope handling.src/AutoSpex.Engine/Extensions.cs
: Adjusted theToText
method to handleLogixScoped
objects.Miscellaneous Improvements:
src/AutoSpex.Engine/Evaluation.cs
: EnsuredActual
andCandidate
properties are non-nullable strings. [1] [2]src/AutoSpex.Engine/Operations/EqualToOperation.cs
: Modified the evaluation logic to useLogixObject
instead ofLogixElement
.src/AutoSpex.Engine/Spec.cs
: Optimized theRunSpec
method to convert verifications to a list earlier.