Skip to content

Commit

Permalink
Rename test methods to clarify their actual scope
Browse files Browse the repository at this point in the history
  • Loading branch information
glopesdev committed Jul 17, 2024
1 parent f17ce98 commit f0c0966
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Aeon.Tests/AssertWorkflow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Aeon.Tests
{
public static class AssertWorkflow
{
public static void CanBuildEmbeddedResources(Assembly assembly)
public static void CanLoadEmbeddedResources(Assembly assembly)
{
foreach (var name in assembly.GetManifestResourceNames())
{
Expand Down
16 changes: 8 additions & 8 deletions src/Aeon.Tests/OperatorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@ namespace Aeon.Tests
public class OperatorTests
{
[TestMethod]
public void Build_Workflows()
public void Load_Workflows()
{
var acquisition = typeof(GroupByTime).Assembly;
var environment = typeof(EnvironmentState).Assembly;
var foraging = typeof(WheelDisplacement).Assembly;
var vision = typeof(DistanceFromPoint).Assembly;
var sleap = typeof(FormatPose).Assembly;
AssertWorkflow.CanBuildEmbeddedResources(acquisition);
AssertWorkflow.CanBuildEmbeddedResources(environment);
AssertWorkflow.CanBuildEmbeddedResources(foraging);
AssertWorkflow.CanBuildEmbeddedResources(vision);
AssertWorkflow.CanBuildEmbeddedResources(sleap);
AssertWorkflow.CanLoadEmbeddedResources(acquisition);
AssertWorkflow.CanLoadEmbeddedResources(environment);
AssertWorkflow.CanLoadEmbeddedResources(foraging);
AssertWorkflow.CanLoadEmbeddedResources(vision);
AssertWorkflow.CanLoadEmbeddedResources(sleap);
}

[TestMethod, TestCategory("DriverDependent")]
public void Build_DriverDependentWorkflows()
public void Load_DriverDependentWorkflows()
{
var video = typeof(VideoDataFrame).Assembly;
AssertWorkflow.CanBuildEmbeddedResources(video);
AssertWorkflow.CanLoadEmbeddedResources(video);
}
}
}

0 comments on commit f0c0966

Please sign in to comment.