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
@@ -7,7 +7,7 @@ namespace ClawdDotNet.Core.Tests.Deploymentcenter;
|
||||
public sealed class TokenProvisionerTests
|
||||
{
|
||||
[Fact]
|
||||
public async Task Instanz_bekommt_ein_eigenes_Sub_Token()
|
||||
public async Task Instance_gets_its_own_sub_token()
|
||||
{
|
||||
var handler = new CapturingHandler(HttpStatusCode.Created,
|
||||
"""
|
||||
@@ -35,7 +35,7 @@ public sealed class TokenProvisionerTests
|
||||
/// start and must come out as a clean error, not as a crash.
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public async Task Abgelehnte_Provisionierung_wirft_mit_Code()
|
||||
public async Task Rejected_provisioning_throws_with_code()
|
||||
{
|
||||
var handler = new CapturingHandler(HttpStatusCode.Forbidden,
|
||||
"""{"status":"error","error":{"code":"provision_denied","message":"Kein Master-Token."}}""");
|
||||
@@ -58,7 +58,7 @@ public sealed class TokenProvisionerTests
|
||||
/// Supervision would look like "nothing unusual".</para>
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public async Task Whoami_liest_die_Projektbindung()
|
||||
public async Task Whoami_reads_the_project_binding()
|
||||
{
|
||||
var handler = new CapturingHandler(HttpStatusCode.OK,
|
||||
"""
|
||||
@@ -83,7 +83,7 @@ public sealed class TokenProvisionerTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Ein_Token_ohne_Projekt_faellt_auf()
|
||||
public async Task A_token_without_project_is_noticed()
|
||||
{
|
||||
// project_slug is JSON null, not absent - exactly as it comes from the server.
|
||||
var handler = new CapturingHandler(HttpStatusCode.OK,
|
||||
@@ -101,7 +101,7 @@ public sealed class TokenProvisionerTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Eine_Antwort_ohne_Felder_wirft_nicht()
|
||||
public async Task An_answer_without_fields_does_not_throw()
|
||||
{
|
||||
// An older server does not know whoami in this form. The information may
|
||||
// be missing; it must not crash.
|
||||
|
||||
Reference in New Issue
Block a user