Version 3.0.337

This commit is contained in:
Anja Müller-Meißner 2022-08-30 15:42:25 +02:00
parent fd0e63cf10
commit 573fe77e12
2336 changed files with 33688 additions and 86082 deletions

View file

@ -1,5 +1,5 @@
using NUnit.Framework;
using System;
using System;
using NUnit.Framework;
using TINK.Model;
using TINK.Model.Map;
using TINK.Services.CopriApi;
@ -18,7 +18,7 @@ namespace TestShareeLib.Services.CopriApi
Assert.That(
new GeneralData().ApiVersion,
Is.EqualTo(new Version(0,0)));
Is.EqualTo(new Version(0, 0)));
Assert.That(
new GeneralData().InitialMapSpan?.IsValid,
@ -32,7 +32,7 @@ namespace TestShareeLib.Services.CopriApi
Assert.That(
new GeneralData(
MapSpanFactory.Create(),
"Hello",
"Hello",
null,
new ResourceUrls()).MerchantMessage,
Is.EqualTo("Hello"));
@ -44,8 +44,8 @@ namespace TestShareeLib.Services.CopriApi
Assert.That(
new GeneralData(
MapSpanFactory.Create(),
null,
new Version(1,2),
null,
new Version(1, 2),
new ResourceUrls()).ApiVersion,
Is.EqualTo(new Version(1, 2)));
}
@ -59,7 +59,7 @@ namespace TestShareeLib.Services.CopriApi
MapSpanFactory.Create(PositionFactory.Create(0, 8), 15),
null,
new Version(1, 2),
new ResourceUrls()).InitialMapSpan.Center.Longitude,
new ResourceUrls()).InitialMapSpan.Center.Longitude,
Is.EqualTo(8));
Assert.That(

View file

@ -1,5 +1,5 @@
using NUnit.Framework;
using System;
using System;
using NUnit.Framework;
using TINK.Model;
using TINK.Model.Map;
using TINK.Model.Services.CopriApi;

View file

@ -1,6 +1,6 @@
using NUnit.Framework;
using System;
using System;
using System.Collections.Generic;
using NUnit.Framework;
using TINK.Services;
namespace TestShareeLib.Services
@ -14,13 +14,13 @@ namespace TestShareeLib.Services
var typeA = new MyTypeA();
var typeB = new MyTypeB();
var serviceContainer = new ServicesContainerMutable<object>(
var serviceContainer = new ServicesContainerMutableT<object>(
new List<object> { typeA, typeB, typeB },
typeA.GetType().FullName);
Assert.That(
serviceContainer,
Is.EqualTo(new List<object> { typeA, typeB}).AsCollection);
Is.EqualTo(new List<object> { typeA, typeB }).AsCollection);
Assert.That(
serviceContainer.Active,
@ -33,7 +33,7 @@ namespace TestShareeLib.Services
var typeA = new MyTypeA();
var typeB = new MyTypeB();
var serviceContainer = new ServicesContainerMutable<object>(
var serviceContainer = new ServicesContainerMutableT<object>(
new List<object> { typeA, typeB },
typeA.GetType().FullName);
@ -50,7 +50,7 @@ namespace TestShareeLib.Services
var typeA = new MyTypeA();
var typeB = new MyTypeB();
var serviceContainer = new ServicesContainerMutable<object>(
var serviceContainer = new ServicesContainerMutableT<object>(
new List<object> { typeA, typeB },
typeA.GetType().FullName);
@ -59,7 +59,7 @@ namespace TestShareeLib.Services
Throws.TypeOf<ArgumentException>());
}
private class MyTypeA {}
private class MyTypeA { }
private class MyTypeB { }