Stufe 4c (#764): Bezeichner auf Englisch - Typen, Methoden, Felder, Parameter, Locals, Testnamen

Mit Roslyn umbenannt (Verweise folgen, Zeichenketten bleiben unberuehrt).
Nicht umbenannt, weil gespeichert oder ueber die API gebunden (Stufe 4e):
Properties, Record-Parameter, Enum-Member sowie die Parameter der
Endpunkt-Handler (Routen-/Query-Bindung ueber den Namen). Die JSON-Felder
anonymer Objekte bleiben ausdruecklich benannt (JsonFilter: pfad).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard
2026-10-04 13:18:43 +02:00
co-authored by Claude Opus 5.5
parent 837a634a22
commit 77062facc9
190 changed files with 4813 additions and 4813 deletions
@@ -35,7 +35,7 @@ public sealed class LogDirectoryResolutionTests
// ─── Defaults ───
[Fact]
public void Die_Vorbelegungen_sind_leer()
public void The_defaults_are_empty()
{
// The core: empty means "take the folder of this instance". If a value stands here,
// every new instance carries it around.
@@ -44,14 +44,14 @@ public sealed class LogDirectoryResolutionTests
}
[Fact]
public void Ohne_Angabe_protokolliert_die_Instanz_in_ihr_eigenes_Verzeichnis()
public void Without_value_the_instance_logs_into_its_own_directory()
{
AppHost.ResolveLogDirectory(Instance(), InstancePath)
.ShouldBe(Path.Combine(InstancePath, "Logs"));
}
[Fact]
public void Ohne_Angabe_sichert_die_Instanz_in_ihr_eigenes_Verzeichnis()
public void Without_value_the_instance_backs_up_into_its_own_directory()
{
AppHost.ResolveBackupDirectory(Instance(), InstancePath)
.ShouldBe(Path.Combine(InstancePath, "Backups"));
@@ -62,7 +62,7 @@ public sealed class LogDirectoryResolutionTests
/// mechanics; this test checks the promise.
/// </summary>
[Fact]
public void Zwei_Instanzen_ohne_Angabe_teilen_sich_nichts()
public void Two_instances_without_value_share_nothing()
{
var a = Path.GetFullPath(Path.Combine(Path.GetTempPath(), "clawd-tests", "Instance-A"));
var b = Path.GetFullPath(Path.Combine(Path.GetTempPath(), "clawd-tests", "Instance-B"));
@@ -80,20 +80,20 @@ public sealed class LogDirectoryResolutionTests
// ─── Entered values ───
[Fact]
public void Ein_absoluter_Wert_geht_vor()
public void An_absolute_value_takes_precedence()
{
var eigenesLog = Path.GetFullPath(Path.Combine(Path.GetTempPath(), "clawd-eigene-logs"));
var eigenesBackup = Path.GetFullPath(Path.Combine(Path.GetTempPath(), "clawd-eigene-sicherungen"));
var ownLog = Path.GetFullPath(Path.Combine(Path.GetTempPath(), "clawd-eigene-logs"));
var ownBackup = Path.GetFullPath(Path.Combine(Path.GetTempPath(), "clawd-eigene-sicherungen"));
AppHost.ResolveLogDirectory(Instance(logDirectory: eigenesLog), InstancePath)
.ShouldBe(eigenesLog);
AppHost.ResolveLogDirectory(Instance(logDirectory: ownLog), InstancePath)
.ShouldBe(ownLog);
AppHost.ResolveBackupDirectory(Instance(backupDirectory: eigenesBackup), InstancePath)
.ShouldBe(eigenesBackup);
AppHost.ResolveBackupDirectory(Instance(backupDirectory: ownBackup), InstancePath)
.ShouldBe(ownBackup);
}
[Fact]
public void Ein_relativer_Wert_zaehlt_gegen_das_Instanzverzeichnis()
public void A_relative_value_counts_against_the_instance_directory()
{
// Not against the working directory of the process — that was the error from #375.
AppHost.ResolveLogDirectory(Instance(logDirectory: "./Protokolle"), InstancePath)
@@ -101,7 +101,7 @@ public sealed class LogDirectoryResolutionTests
}
[Fact]
public void Ein_relativer_Wert_haengt_nicht_am_Arbeitsverzeichnis_des_Prozesses()
public void A_relative_value_does_not_depend_on_the_process_working_directory()
{
AppHost.ResolveLogDirectory(Instance(logDirectory: "./Protokolle"), InstancePath)
.ShouldNotBe(Path.GetFullPath("./Protokolle"));
@@ -110,16 +110,16 @@ public sealed class LogDirectoryResolutionTests
[Theory]
[InlineData("./Logs")]
[InlineData("Logs")]
public void Die_alte_Vorbelegung_zeigt_auf_dieselbe_Stelle_wie_keine_Angabe(string alt)
public void The_old_default_points_to_the_same_place_as_no_value(string old)
{
// That's why LoadInstanceConfig may turn them into "empty" without anything
// shifting.
AppHost.ResolveLogDirectory(Instance(logDirectory: alt), InstancePath)
AppHost.ResolveLogDirectory(Instance(logDirectory: old), InstancePath)
.ShouldBe(AppHost.ResolveLogDirectory(Instance(), InstancePath));
}
[Fact]
public void Nur_Leerzeichen_gelten_als_keine_Angabe()
public void Only_spaces_count_as_no_value()
{
AppHost.ResolveLogDirectory(Instance(logDirectory: " "), InstancePath)
.ShouldBe(Path.Combine(InstancePath, "Logs"));
@@ -128,7 +128,7 @@ public sealed class LogDirectoryResolutionTests
// ─── Reference point ───
[Fact]
public void Ein_leeres_WorkingDirectory_faellt_auf_den_Instanzpfad_zurueck()
public void An_empty_WorkingDirectory_falls_back_to_the_instance_path()
{
// Since CreateInstance the field is in the file as an absolute path, but may have been
// emptied by hand. Then the place it was loaded from carries the day.
@@ -138,7 +138,7 @@ public sealed class LogDirectoryResolutionTests
}
[Fact]
public void Ein_relatives_WorkingDirectory_faellt_ebenfalls_auf_den_Instanzpfad_zurueck()
public void A_relative_WorkingDirectory_also_falls_back_to_the_instance_path()
{
// "./data/" is the old default of the field and would again have been resolved against the
// working directory of the process.