test: group examples into per-category folders

Move examples/*.sx and their expected/ snapshots into per-category
subfolders (examples/<category>/...). Folder = leading filename token,
with ffi-objc/ffi-jni kept whole; filenames are unchanged. The corpus
runner and LSP sweep now discover each category's expected/ dir, while
issues/ stays flat. Example 1058's repo-root-relative companion import
is made file-relative. Path strings embedded in 164 snapshots were
regenerated (path-only changes). Test-layout docs in CLAUDE.md updated.
This commit is contained in:
agra
2026-06-21 14:41:34 +03:00
parent 6d1409bc1f
commit 66bdc70bf1
3357 changed files with 456 additions and 363 deletions

View File

@@ -0,0 +1 @@
209

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@
42

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@
noop block ran

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@
x + y = 142

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@
block multi-arg ok: sum=42

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@
inline block, x = 7

View File

@@ -0,0 +1,2 @@
explicit-then-self ok
self-then-self ok

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@
isKindOfClass: 1

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
compiled

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@
registered: SxFoo

View File

@@ -0,0 +1 @@
ivar: __sx_state

View File

@@ -0,0 +1 @@
IMP: bump ok, add: ok

View File

@@ -0,0 +1 @@
alloc: ok, state bound

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
dealloc: ok

View File

@@ -0,0 +1 @@
class accessor: ok

View File

@@ -0,0 +1 @@
class method: 42

View File

@@ -0,0 +1 @@
class constants: answer=42, seedClass=ok

View File

@@ -0,0 +1 @@
tag round-trip: 0 -> 42 -> -7

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
property: w=10 h=7 area=0

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@
extends chain: SxThing.hash=ok, SxLeaf.hash=ok

View File

@@ -0,0 +1,3 @@
counter: 3
me: ok
captureSelf-from-BOOL: ok

View File

@@ -0,0 +1 @@
allocator round-trip: ok

View File

@@ -0,0 +1 @@
multi-instance round-trip: ok

View File

@@ -0,0 +1,2 @@
retain/release: ok
autoreleasepool: ok

View File

@@ -0,0 +1 @@
strong property: ok

View File

@@ -0,0 +1 @@
weak property: ok

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@
parse-only ok

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,4 @@
nil class = true
nil hash = 0
meta non-null = true
hash non-zero = true

View File

@@ -0,0 +1,3 @@
point = (0.000000, 0.000000)
range = (0, 0)
rect = (0.000000, 0.000000, 0.000000, 0.000000)

Some files were not shown because too many files have changed in this diff Show More