osc: reorder osc tests and name them consistently (#9042)

No changes in the tests were made, but reordering them and naming them
consistently will makes finding tests easier (there are a LOT).
pull/9050/head
Mitchell Hashimoto 2025-10-05 19:51:07 -07:00 committed by GitHub
commit ed65401bf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 888 additions and 840 deletions

File diff suppressed because it is too large Load Diff

View File

@ -279,7 +279,7 @@ pub const ColoredTarget = struct {
color: RGB,
};
test "osc4" {
test "OSC 4:" {
const testing = std.testing;
const alloc = testing.allocator;
@ -401,7 +401,7 @@ test "osc4" {
}
}
test "osc5" {
test "OSC 5:" {
const testing = std.testing;
const alloc = testing.allocator;
@ -433,7 +433,7 @@ test "osc5" {
}
}
test "osc4: multiple requests" {
test "OSC 4: multiple requests" {
const testing = std.testing;
const alloc = testing.allocator;
@ -489,7 +489,7 @@ test "osc4: multiple requests" {
}
}
test "osc104" {
test "OSC 104:" {
const testing = std.testing;
const alloc = testing.allocator;
@ -540,7 +540,7 @@ test "osc104" {
}
}
test "osc104 empty index" {
test "OSC 104: empty index" {
const testing = std.testing;
const alloc = testing.allocator;
@ -557,7 +557,7 @@ test "osc104 empty index" {
);
}
test "osc104 invalid index" {
test "OSC 104: invalid index" {
const testing = std.testing;
const alloc = testing.allocator;
@ -570,7 +570,7 @@ test "osc104 invalid index" {
);
}
test "osc104 reset all" {
test "OSC 104: reset all" {
const testing = std.testing;
const alloc = testing.allocator;
@ -583,7 +583,7 @@ test "osc104 reset all" {
);
}
test "osc105 reset all" {
test "OSC 105: reset all" {
const testing = std.testing;
const alloc = testing.allocator;
@ -597,7 +597,7 @@ test "osc105 reset all" {
}
// OSC 10-19: Get/Set Dynamic Colors
test "dynamic" {
test "OSC 10: OSC 11: OSC 12: OSC: 13: OSC 14: OSC 15: OSC: 16: OSC 17: OSC 18: OSC 19: dynamic" {
const testing = std.testing;
const alloc = testing.allocator;
@ -625,7 +625,7 @@ test "dynamic" {
}
}
test "dynamic multiple" {
test "OSC 10: OSC 11: OSC 12: OSC: 13: OSC 14: OSC 15: OSC: 16: OSC 17: OSC 18: OSC 19: dynamic multiple" {
const testing = std.testing;
const alloc = testing.allocator;
@ -657,7 +657,7 @@ test "dynamic multiple" {
}
// OSC 110-119: Reset Dynamic Colors
test "reset dynamic" {
test "OSC 110: OSC 111: OSC 112: OSC: 113: OSC 114: OSC 115: OSC: 116: OSC 117: OSC 118: OSC 119: reset dynamic" {
const testing = std.testing;
const alloc = testing.allocator;