Codebasis als Dateien ins Arbeitsrepo statt als Gitlink

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
This commit is contained in:
Christoph Schwörer
2026-08-26 07:43:51 +02:00
parent 18edae75b6
commit f045b99a25
24664 changed files with 5846716 additions and 1 deletions
@@ -0,0 +1,58 @@
[
{
I3D: '20744',
Art: '28',
Nummer: null,
Datum: '18.01.1980 00:00:00',
Termin: '18.01.2021 00:00:00',
KundeI3D: '10003',
Bereich: 'Geburtstagsmail',
Kommentar: 'Herr Markus Müller wurde am 18.01.1980 geboren.',
BearbeiterI3D: '25',
ErstellerPersonalI3D: '22',
ObjektArt: '7600074',
ObjectI3D: '10',
Gelesen: null,
Verworfen: null,
Abteilung: null,
Text: null,
Bezeichnung: null,
WorkFlowI3D: null,
Erledigt: null,
ErledigtAm: null,
Beschreibung: 'Herr Markus Müller wurde am 18.01.1980 geboren.',
GeaendertVonI3D: '22',
ItemCount: null,
ObjektGruppe: null,
PosI3D: null,
AccountI3D: '4'
},
{
I3D: '20745',
Art: '28',
Nummer: null,
Datum: '14.01.1982 00:00:00',
Termin: '14.01.2021 00:00:00',
KundeI3D: '10009',
Bereich: 'Geburtstagsmail',
Kommentar: 'Herr Markus Fischer wurde am 14.01.1982 geboren.',
BearbeiterI3D: '31',
ErstellerPersonalI3D: '22',
ObjektArt: '7600074',
ObjectI3D: '20',
Gelesen: null,
Verworfen: null,
Abteilung: null,
Text: null,
Bezeichnung: null,
WorkFlowI3D: null,
Erledigt: null,
ErledigtAm: null,
Beschreibung: 'Herr Markus Fischer wurde am 14.01.1982 geboren.',
GeaendertVonI3D: '22',
ItemCount: null,
ObjektGruppe: null,
PosI3D: null,
AccountI3D: '8'
}
]
@@ -0,0 +1,114 @@
[
{
I3D: '20744',
Art: '28',
Nummer: null,
Datum: '18.01.1980 00:00:00',
Termin: '18.01.2021 00:00:00',
KundeI3D: '10003',
Bereich: 'Geburtstagsmail',
Kommentar: 'Herr Markus Müller wurde am 18.01.1980 geboren.',
BearbeiterI3D: '25',
ErstellerPersonalI3D: '22',
ObjektArt: '7600074',
ObjectI3D: '10',
Gelesen: null,
Verworfen: null,
Abteilung: null,
Text: null,
Bezeichnung: null,
WorkFlowI3D: null,
Erledigt: null,
ErledigtAm: null,
Beschreibung: 'Herr Markus Müller wurde am 18.01.1980 geboren.',
GeaendertVonI3D: '22',
ItemCount: null,
ObjektGruppe: null,
PosI3D: null,
AccountI3D: '4'
},
{
I3D: '20745',
Art: '28',
Nummer: null,
Datum: '14.01.1982 00:00:00',
Termin: '14.01.2021 00:00:00',
KundeI3D: '10009',
Bereich: 'Geburtstagsmail',
Kommentar: 'Herr Markus Fischer wurde am 14.01.1982 geboren.',
BearbeiterI3D: '31',
ErstellerPersonalI3D: '22',
ObjektArt: '7600074',
ObjectI3D: '20',
Gelesen: null,
Verworfen: null,
Abteilung: null,
Text: null,
Bezeichnung: null,
WorkFlowI3D: null,
Erledigt: null,
ErledigtAm: null,
Beschreibung: 'Herr Markus Fischer wurde am 14.01.1982 geboren.',
GeaendertVonI3D: '22',
ItemCount: null,
ObjektGruppe: null,
PosI3D: null,
AccountI3D: '8'
},
{
I3D: '20746',
Art: '28',
Nummer: null,
Datum: '18.01.1980 00:00:00',
Termin: '18.01.2022 00:00:00',
KundeI3D: '10003',
Bereich: 'Geburtstagsmail',
Kommentar: 'Herr Markus Müller wurde am 18.01.1980 geboren.',
BearbeiterI3D: '25',
ErstellerPersonalI3D: '22',
ObjektArt: '7600074',
ObjectI3D: '10',
Gelesen: null,
Verworfen: null,
Abteilung: null,
Text: null,
Bezeichnung: null,
WorkFlowI3D: null,
Erledigt: null,
ErledigtAm: null,
Beschreibung: 'Herr Markus Müller wurde am 18.01.1980 geboren.',
GeaendertVonI3D: '22',
ItemCount: null,
ObjektGruppe: null,
PosI3D: null,
AccountI3D: '4'
},
{
I3D: '20747',
Art: '28',
Nummer: null,
Datum: '14.01.1982 00:00:00',
Termin: '14.01.2022 00:00:00',
KundeI3D: '10009',
Bereich: 'Geburtstagsmail',
Kommentar: 'Herr Markus Fischer wurde am 14.01.1982 geboren.',
BearbeiterI3D: '31',
ErstellerPersonalI3D: '22',
ObjektArt: '7600074',
ObjectI3D: '20',
Gelesen: null,
Verworfen: null,
Abteilung: null,
Text: null,
Bezeichnung: null,
WorkFlowI3D: null,
Erledigt: null,
ErledigtAm: null,
Beschreibung: 'Herr Markus Fischer wurde am 14.01.1982 geboren.',
GeaendertVonI3D: '22',
ItemCount: null,
ObjektGruppe: null,
PosI3D: null,
AccountI3D: '8'
}
]
@@ -0,0 +1,42 @@
using System;
using Centron.BusinessLogic;
using Centron.BusinessLogic.ToDoArea;
using Centron.Tests.EndToEnd.Infrastructure;
using Centron.Tests.EndToEnd.Infrastructure.Verifier;
using Xunit.Abstractions;
namespace Centron.Tests.EndToEnd.Tests.Todo;
public class TodoServiceTests : EndToEndTest
{
public TodoServiceTests(ITestOutputHelper testOutputHelper)
: base(testOutputHelper)
{
this.Verifier.Settings.IgnoreColumn("ErstelltVersion");
this.Verifier.Settings.IgnoreColumn("GeaendertVersion");
this.Verifier.Settings.IgnoreColumn("BearbeitungsDatum");
this.Verifier.Settings.IgnoreColumn("ErstellDatum");
}
public override void Execute()
{
this.Verifier.VerifyTable("NoBirthday", "ToDoListe", "Art = 28");
using (var bl = new BLSession())
{
var today = new DateTime(2021, 1, 1);
var until = today.AddMonths(3);
bl.GetBL<ToDoBL>().CreateBirthdayTodo(this.GetLoggedInUser().User, until, today);
this.Verifier.VerifyTable("Birthday2021", "ToDoListe", "Art = 28");
today = new DateTime(2022, 1, 1);
until = today.AddMonths(3);
bl.GetBL<ToDoBL>().CreateBirthdayTodo(this.GetLoggedInUser().User, until, today);
this.Verifier.VerifyTable("Birthday2022", "ToDoListe", "Art = 28");
}
}
}
@@ -0,0 +1,66 @@
using System;
using System.Globalization;
using System.Linq;
using Centron.BusinessLogic;
using Centron.BusinessLogic.ToDoArea;
using Centron.BusinessLogic.WebServices.ToDoArea;
using Centron.Data.Entities.ToDoArea;
using Centron.Interfaces.BL;
using Centron.Tests.EndToEnd.Infrastructure;
using Xunit;
using Xunit.Abstractions;
namespace Centron.Tests.EndToEnd.Tests.Todo
{
public class TodoTests : EndToEndTest
{
public TodoTests(ITestOutputHelper testOutputHelper)
: base(testOutputHelper)
{
}
public override void Execute()
{
this.GetAllTodos("AllActiveTodos");
this.GetTodoWithReceiptState();
this.TestDataQualityTodoListPart();
}
private void GetAllTodos(string name)
{
using (var bl = new BLSession())
{
var date = new DateTime(2020, 1, 1);
var filter = new ToDoFilter
{
WithDiscarded = false,
OnlyOwn = false,
ToDate = date
};
var todos = bl.GetBL<ToDoWebserviceBL>().SearchTodoList(this.GetLoggedInUser().User, ToDoSort.Number, false, filter).OrderBy(o => o.I3D);
this.Verifier.Verify(name, todos);
}
}
private void GetTodoWithReceiptState()
{
this.Sql(@"UPDATE O SET O.ReceiptUserStateI3D = 1 FROM AngKopf O WHERE O.I3D = 6692");
this.Sql(@"UPDATE O SET O.ReceiptUserStateI3D = 1 FROM AufKopf O WHERE O.I3D = 3343");
this.Sql(@"UPDATE O SET O.ReceiptUserStateI3D = 1 FROM RechKopf O WHERE O.I3D = 1375");
this.Sql(@"UPDATE O SET O.ReceiptUserStateI3D = 1 FROM VertragKopf O WHERE O.I3D = 35");
this.GetAllTodos("ReceiptUserStateTodos");
}
private void TestDataQualityTodoListPart()
{
using var bl = new BLSession();
bl.GetBL<ToDoBL>().DataQualityFillAccountI3D();
Verifier.VerifySql("TodoTests_TestDataQualityTodoListPart", "SELECT I3D, ObjektArt, KundeI3D, AccountI3D FROM TodoListe WHERE ObjektArt IN (7,148) ORDER BY I3D");
}
}
}
@@ -0,0 +1,218 @@
[
{
I3D: '131',
ObjektArt: '7',
KundeI3D: '70003',
AccountI3D: '1031'
},
{
I3D: '250',
ObjektArt: '7',
KundeI3D: '70001',
AccountI3D: '1029'
},
{
I3D: '480',
ObjektArt: '7',
KundeI3D: '70004',
AccountI3D: '1032'
},
{
I3D: '481',
ObjektArt: '7',
KundeI3D: '70003',
AccountI3D: '1031'
},
{
I3D: '671',
ObjektArt: '148',
KundeI3D: '70004',
AccountI3D: '1032'
},
{
I3D: '834',
ObjektArt: '148',
KundeI3D: '70004',
AccountI3D: '1032'
},
{
I3D: '884',
ObjektArt: '7',
KundeI3D: '70003',
AccountI3D: '1031'
},
{
I3D: '958',
ObjektArt: '7',
KundeI3D: '70003',
AccountI3D: '1031'
},
{
I3D: '1217',
ObjektArt: '7',
KundeI3D: '70004',
AccountI3D: '1032'
},
{
I3D: '1707',
ObjektArt: '7',
KundeI3D: '70003',
AccountI3D: '1031'
},
{
I3D: '1766',
ObjektArt: '7',
KundeI3D: '70003',
AccountI3D: '1031'
},
{
I3D: '1863',
ObjektArt: '7',
KundeI3D: '70003',
AccountI3D: '1031'
},
{
I3D: '1873',
ObjektArt: '148',
KundeI3D: '70001',
AccountI3D: '1029'
},
{
I3D: '1878',
ObjektArt: '7',
KundeI3D: '70005',
AccountI3D: '1033'
},
{
I3D: '2066',
ObjektArt: '7',
KundeI3D: '70004',
AccountI3D: '1032'
},
{
I3D: '2067',
ObjektArt: '7',
KundeI3D: '70003',
AccountI3D: '1031'
},
{
I3D: '2068',
ObjektArt: '7',
KundeI3D: '70004',
AccountI3D: '1032'
},
{
I3D: '2138',
ObjektArt: '7',
KundeI3D: '70005',
AccountI3D: '1033'
},
{
I3D: '2139',
ObjektArt: '7',
KundeI3D: '70005',
AccountI3D: '1033'
},
{
I3D: '2324',
ObjektArt: '7',
KundeI3D: '70021',
AccountI3D: '1047'
},
{
I3D: '2325',
ObjektArt: '7',
KundeI3D: '70022',
AccountI3D: '1048'
},
{
I3D: '2326',
ObjektArt: '7',
KundeI3D: '70021',
AccountI3D: '1047'
},
{
I3D: '2476',
ObjektArt: '7',
KundeI3D: '70012',
AccountI3D: '1039'
},
{
I3D: '3641',
ObjektArt: '7',
KundeI3D: '70001',
AccountI3D: '1029'
},
{
I3D: '3661',
ObjektArt: '7',
KundeI3D: '70005',
AccountI3D: '1033'
},
{
I3D: '3681',
ObjektArt: '7',
KundeI3D: '70001',
AccountI3D: '1029'
},
{
I3D: '6179',
ObjektArt: '7',
KundeI3D: '70005',
AccountI3D: '1033'
},
{
I3D: '6218',
ObjektArt: '7',
KundeI3D: '70005',
AccountI3D: '1033'
},
{
I3D: '6377',
ObjektArt: '7',
KundeI3D: '70003',
AccountI3D: '1031'
},
{
I3D: '9713',
ObjektArt: '7',
KundeI3D: '70001',
AccountI3D: '1029'
},
{
I3D: '14915',
ObjektArt: '7',
KundeI3D: '70001',
AccountI3D: '1029'
},
{
I3D: '15938',
ObjektArt: '7',
KundeI3D: '70001',
AccountI3D: '1029'
},
{
I3D: '15948',
ObjektArt: '7',
KundeI3D: '70001',
AccountI3D: '1029'
},
{
I3D: '19066',
ObjektArt: '7',
KundeI3D: '70001',
AccountI3D: '1029'
},
{
I3D: '19163',
ObjektArt: '7',
KundeI3D: '70001',
AccountI3D: '1029'
},
{
I3D: '20694',
ObjektArt: '7',
KundeI3D: '70003',
AccountI3D: '1031'
}
]