Skip to content

Commit

Permalink
v.7.4.2, remove invalid test, changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Koval authored and Dmitry Koval committed Apr 6, 2023
1 parent bf10003 commit 0b9e8e5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 44 deletions.
4 changes: 4 additions & 0 deletions route4me-csharp-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
All notable changes to this project will be documented in this file.

## [7.4.2.0] - 2023-04-06
MarkAddressAsMarkedAsVisited/MarkAddressAsMarkedAsDeparted fixed on .NET Client SDK Library side with respect to resetting the is_visited flag.
Obsolete messages are adjusted.

## [7.4.1.0] - 2023-03-09
Vehicle API V4 is depricated.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ The service is typically used by organizations who must route many drivers to ma
<RepositoryUrl>https://github.com/route4me/route4me-net-core/tree/master/route4me-csharp-sdk</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>Route4Me, Route Optimization, SDK, GIS</PackageTags>
<Version>7.4.1.0</Version>
<Version>7.4.2.0</Version>
<PackageReleaseNotes>See https://github.com/route4me/route4me-net-core/blob/master/route4me-csharp-sdk/CHANGELOG.md for release note details.</PackageReleaseNotes>
<AssemblyVersion>7.4.1.0</AssemblyVersion>
<FileVersion>7.4.1.0</FileVersion>
<AssemblyVersion>7.4.2.0</AssemblyVersion>
<FileVersion>7.4.2.0</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,47 +307,6 @@ public void MarkAddressAsMarkedAsVisitedTest()
"MarkAddressAsMarkedAsVisitedTest. " + errorString);
}

[Test]
[Ignore("issue with resetting the is_visited and is_departed flags")]
public void MarkAddressAsMarkedAsVisitedAndThenAsMarkedAsDepartedTest()
{
var route4Me = new Route4MeManager(c_ApiKey);

var aParams = new AddressParameters
{
RouteId = _tdr.SDRT_route_id,
RouteDestinationId = _tdr.SDRT_route.Addresses[0].RouteDestinationId != null
? Convert.ToInt32(_tdr.SDRT_route.Addresses[0].RouteDestinationId)
: -1,
IsVisited = true
};

// Run the query
var resultAddress = route4Me.MarkAddressAsMarkedAsVisited(
aParams,
out var errorString);

Assert.That(resultAddress.IsVisited, Is.True);
Assert.That(resultAddress.IsDeparted, Is.False);

aParams = new AddressParameters
{
RouteId = _tdr.SDRT_route_id,
RouteDestinationId = _tdr.SDRT_route.Addresses[0].RouteDestinationId != null
? Convert.ToInt32(_tdr.SDRT_route.Addresses[0].RouteDestinationId)
: -1,
IsDeparted = true
};

// Run the query
resultAddress = route4Me.MarkAddressAsMarkedAsDeparted(
aParams,
out errorString);

Assert.That(resultAddress.IsVisited, Is.True);
Assert.That(resultAddress.IsDeparted, Is.True);
}

[Test]
public void MarkAddressDepartedTest()
{
Expand Down

0 comments on commit 0b9e8e5

Please sign in to comment.