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:
1
examples/ffi-objc/expected/1300-ffi-objc-roundtrip.exit
Normal file
1
examples/ffi-objc/expected/1300-ffi-objc-roundtrip.exit
Normal file
@@ -0,0 +1 @@
|
||||
209
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
1
examples/ffi-objc/expected/1301-ffi-objc-class.exit
Normal file
1
examples/ffi-objc/expected/1301-ffi-objc-class.exit
Normal file
@@ -0,0 +1 @@
|
||||
42
|
||||
1
examples/ffi-objc/expected/1301-ffi-objc-class.stderr
Normal file
1
examples/ffi-objc/expected/1301-ffi-objc-class.stderr
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
1
examples/ffi-objc/expected/1301-ffi-objc-class.stdout
Normal file
1
examples/ffi-objc/expected/1301-ffi-objc-class.stdout
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
1
examples/ffi-objc/expected/1302-ffi-objc-block-noop.exit
Normal file
1
examples/ffi-objc/expected/1302-ffi-objc-block-noop.exit
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
noop block ran
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
x + y = 142
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
block multi-arg ok: sum=42
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
inline block, x = 7
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
explicit-then-self ok
|
||||
self-then-self ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
isKindOfClass: 1
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
16236
examples/ffi-objc/expected/1309-ffi-objc-class-method-lowering.ir
Normal file
16236
examples/ffi-objc/expected/1309-ffi-objc-class-method-lowering.ir
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
compiled
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
registered: SxFoo
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ivar: __sx_state
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
IMP: bump ok, add: ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
alloc: ok, state bound
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
16675
examples/ffi-objc/expected/1314-ffi-objc-class-dealloc-roundtrip.ir
Normal file
16675
examples/ffi-objc/expected/1314-ffi-objc-class-dealloc-roundtrip.ir
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
dealloc: ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
class accessor: ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
class method: 42
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
class constants: answer=42, seedClass=ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
tag round-trip: 0 -> 42 -> -7
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
16942
examples/ffi-objc/expected/1319-ffi-objc-property-sx-defined.ir
Normal file
16942
examples/ffi-objc/expected/1319-ffi-objc-property-sx-defined.ir
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
property: w=10 h=7 area=0
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
extends chain: SxThing.hash=ok, SxLeaf.hash=ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
counter: 3
|
||||
me: ok
|
||||
captureSelf-from-BOOL: ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
allocator round-trip: ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
multi-instance round-trip: ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
retain/release: ok
|
||||
autoreleasepool: ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
strong property: ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
weak property: ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
parse-only ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
16018
examples/ffi-objc/expected/1329-ffi-objc-call-03-selector-sharing.ir
Normal file
16018
examples/ffi-objc/expected/1329-ffi-objc-call-03-selector-sharing.ir
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ok
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
nil class = true
|
||||
nil hash = 0
|
||||
meta non-null = true
|
||||
hash non-zero = true
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user