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,18 @@
using System.Globalization;
using Centron.Common.UtilClasses;
namespace Centron.Tests.EndToEnd.Infrastructure.Fixtures
{
public class CultureAssemblyFixture
{
public CultureAssemblyFixture()
{
// Even if this application is started on a windows machine with different language
// The c-entron.NET and Web-Service don't work with all cultures, so use the CultureUtils to get one that is compatible with us
CultureInfo.DefaultThreadCurrentCulture = CultureUtils.GetCultureInfoForThisMachine();
// Also set the text-language
CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.DefaultThreadCurrentCulture;
}
}
}
@@ -0,0 +1,19 @@
using System;
namespace Centron.Tests.EndToEnd.Infrastructure.Fixtures
{
public class DatabaseAssemblyFixture : IDisposable
{
private readonly IDisposable _database;
public DatabaseAssemblyFixture()
{
this._database = Database.Initialize();
}
public void Dispose()
{
this._database.Dispose();
}
}
}
@@ -0,0 +1,12 @@
using Centron.BusinessLogic.WebServices;
namespace Centron.Tests.EndToEnd.Infrastructure.Fixtures
{
public class InitializeObjectMapperAssemblyFixture
{
public InitializeObjectMapperAssemblyFixture()
{
ObjectMapper.InitializeAsync().Wait();
}
}
}
@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using Centron.BusinessLogic.Administration.Licensing;
using Centron.Interfaces.Administration.Logins;
namespace Centron.Tests.EndToEnd.Infrastructure.Fixtures
{
public class LicensingAssemblyFixture
{
public LicensingAssemblyFixture()
{
var products = new Dictionary<Guid, string>
{
[LicenseGuids.Centron] = "c-entron.NET",
[LicenseGuids.RiversuiteInventory] = "Riversuite Inventory",
[LicenseGuids.TaskManagementReportServer] = "Reportserver",
[LicenseGuids.CRMPro] = "CRMPro",
[LicenseGuids.ProductionManagement] = "Production",
[LicenseGuids.ServiceBoardWebDev] = "Tasks",
[LicenseGuids.ServiceBoard] = "Serviceboard",
[LicenseGuids.MspModule] = "Modul MSP",
[LicenseGuids.DocumentProcessing] = "Modul Dokumentenweiterverarbeitung",
[LicenseGuids.WebCart2] = "WebCart 2.0",
[LicenseGuids.OnlineBanking_FinApi] = "Online-Banking (finAPI)",
[LicenseGuids.PasswordManager] = "Passwort-Manager"
};
LicenseManager.Initialize(LicenseManager.SettingsForTests(products));
LicenseManager.Instance.LoadLicenses().Wait();
}
}
}