MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / test_parse_no_psr4_section

Function test_parse_no_psr4_section

tests/unit/composer.rs:116–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114
115#[test]
116fn test_parse_no_psr4_section() {
117 let ws = TestWorkspace::new(
118 r#"{
119 "name": "vendor/project",
120 "autoload": {
121 "classmap": ["src/"]
122 }
123 }"#,
124 );
125
126 let (mappings, _vendor_dir) = parse_composer_json(ws.root());
127 assert!(mappings.is_empty());
128}
129
130#[test]
131fn test_resolve_simple_class() {

Callers

nothing calls this directly

Calls 2

parse_composer_jsonFunction · 0.85
rootMethod · 0.80

Tested by

no test coverage detected