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:
co-authored by
Claude Opus 5.5
parent
837a634a22
commit
77062facc9
@@ -82,12 +82,12 @@ internal sealed class FakeLauncher : IInstanceLauncher
|
||||
/// <para>Does not count as a start — exactly therein lies the difference several tests
|
||||
/// check: what runs is taken over and not booted a second time.</para>
|
||||
/// </summary>
|
||||
public FakeProcess Fremdstart(string instanceDirectory, int processId)
|
||||
public FakeProcess StartedElsewhere(string instanceDirectory, int processId)
|
||||
{
|
||||
var prozess = new FakeProcess(processId, Now);
|
||||
Running[processId] = prozess;
|
||||
ByDirectory[Path.GetFullPath(instanceDirectory)] = prozess;
|
||||
return prozess;
|
||||
var process = new FakeProcess(processId, Now);
|
||||
Running[processId] = process;
|
||||
ByDirectory[Path.GetFullPath(instanceDirectory)] = process;
|
||||
return process;
|
||||
}
|
||||
|
||||
public IInstanceProcess? Attach(int processId, DateTimeOffset startedAt)
|
||||
@@ -145,7 +145,7 @@ internal sealed class FakeChannel : IInstanceChannel
|
||||
public HashSet<string> Verstummt { get; } = new(StringComparer.OrdinalIgnoreCase);
|
||||
|
||||
/// <summary>The instance stops answering without its process ending.</summary>
|
||||
public void Verstummen(string instanceDirectory)
|
||||
public void GoSilent(string instanceDirectory)
|
||||
=> Verstummt.Add(Path.GetFullPath(instanceDirectory));
|
||||
|
||||
public int Calls { get; private set; }
|
||||
@@ -167,8 +167,8 @@ internal sealed class FakeChannel : IInstanceChannel
|
||||
return Task.FromResult<InstanceIdentity?>(null);
|
||||
|
||||
return Task.FromResult(
|
||||
AnswerFor.TryGetValue(Path.GetFullPath(instanceDirectory), out var eigene)
|
||||
? eigene
|
||||
AnswerFor.TryGetValue(Path.GetFullPath(instanceDirectory), out var ownOnes)
|
||||
? ownOnes
|
||||
: Answer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user