QuellCode/CentronERP war nur als Gitlink (Submodul-Referenz auf 79c1142) getrackt, ohne .gitmodules und ohne erreichbares Remote. Der Untersuchungsgegenstand der Versuchsreihe war damit nicht reproduzierbar gesichert: Ein Klon haette ein leeres Verzeichnis erhalten, und die Belege der 3.287 Anforderungen waeren nicht ueberpruefbar gewesen. Umstellung: - Historie nach c:\DEV\CentronERP_git_snapshot_79c1142 ausgelagert (vollstaendig lesbar, enthaelt 79c1142 und Vorgaenger 89ccfd6) - Gitlink aus dem Index entfernt - Dateiinhalt aufgenommen: 24.557 Dateien, rund 333 MB Die verschachtelte .gitignore der Codebasis gilt weiter, Build-Artefakte bleiben ausgeschlossen. Details in Versuche/Versuch_01/_Codebasis-Nachweis.md
35 lines
1.3 KiB
C#
35 lines
1.3 KiB
C#
using Centron.BusinessLogic;
|
|
using Centron.BusinessLogic.WebServices.Sales.CustomerAssets.TimerBilling;
|
|
using Centron.Tests.EndToEnd.Infrastructure;
|
|
using System.Collections.Generic;
|
|
using Xunit.Abstractions;
|
|
|
|
namespace Centron.Tests.EndToEnd.TicketTests.Ticket104305
|
|
{
|
|
public class Ticket104305Test : EndToEndTest
|
|
{
|
|
public Ticket104305Test(ITestOutputHelper testOutputHelper)
|
|
: base(testOutputHelper)
|
|
{
|
|
}
|
|
|
|
public override void Execute()
|
|
{
|
|
this.LoadContracts("ContractsFromCustomer10003", new List<int> { 10003 }, null);
|
|
this.LoadContracts("ContractsFromCustomer10003IncludeContract4", new List<int> { 10003 }, new List<int> { 4 });
|
|
this.LoadContracts("NoCustomersIncludeContract4And10", null, new List<int> { 4, 10 });
|
|
this.LoadContracts("BothNULL", null, null);
|
|
this.LoadContracts("BothEmpty", new List<int>(), new List<int>());
|
|
}
|
|
|
|
private void LoadContracts(string name, List<int> customerI3Ds, List<int> alwaysIncludeContractI3Ds)
|
|
{
|
|
using (var session = new BLSession())
|
|
{
|
|
var contracts = session.GetBL<TimerBillingWebServiceBL>().GetContracts(customerI3Ds, alwaysIncludeContractI3Ds);
|
|
this.Verifier.Verify(name, contracts);
|
|
}
|
|
}
|
|
}
|
|
}
|