MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / Fixture

Class Fixture

tests/csharp_extension_harness.py:43–57  ·  view source on GitHub ↗

One corpus with markers; expectations are markers, not line numbers. ``expect[m] = (decl_file, decl_marker)`` must bind (compile-time certain) ``forbid`` markers that must NOT bind (compile-time certain, any target) ``forbid_pairs[m] = (decl_file, decl_marker)`` must not bind to

Source from the content-addressed store, hash-verified

41
42@dataclass(frozen=True)
43class Fixture:
44 """One corpus with markers; expectations are markers, not line numbers.
45
46 ``expect[m] = (decl_file, decl_marker)`` must bind (compile-time certain)
47 ``forbid`` markers that must NOT bind (compile-time certain, any target)
48 ``forbid_pairs[m] = (decl_file, decl_marker)`` must not bind to that target
49 ``optional`` markers whose truth needs a BCL symbol table (never scored)
50 """
51
52 files: dict[str, str]
53 expect: dict[str, tuple[str, str]] = field(default_factory=dict)
54 forbid: list[str] = field(default_factory=list)
55 forbid_pairs: dict[str, tuple[str, str]] = field(default_factory=dict)
56 optional: list[str] = field(default_factory=list)
57 note: str = ""
58
59
60FIXTURES: dict[str, Fixture] = {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected