Routing nchor added
This commit is contained in:
@@ -30,6 +30,12 @@ assert(
|
||||
serverPy.includes('create_routed_layout_svg'),
|
||||
'save-layout route should use routed preview generation when links exist'
|
||||
);
|
||||
assert(
|
||||
serverPy.includes('cell_routes_path') &&
|
||||
serverPy.includes('write_route_points_sidecar') &&
|
||||
serverPy.includes('.routes.yml'),
|
||||
'save-layout should write a sidecar route-points file for manually drawn link guidance'
|
||||
);
|
||||
assert(
|
||||
serverPy.includes('svg_url'),
|
||||
'save-layout response should include an svg_url for the new layout tab'
|
||||
@@ -78,3 +84,20 @@ assert(
|
||||
gdsBuilderPy.includes('_cells_have_links') && gdsBuilderPy.includes('Routed Build GDS requires mxpic_router'),
|
||||
'Build GDS should not silently fall back to unrouted gdstk when links are present'
|
||||
);
|
||||
|
||||
assert(
|
||||
serverPy.includes('def scoped_pdk_root_for_project') &&
|
||||
serverPy.includes('read_project_meta(project_name).get("technology")') &&
|
||||
serverPy.includes('os.path.join(base_root, foundry, technology)'),
|
||||
'backend should resolve a project-scoped PDK root from selected foundry/technology'
|
||||
);
|
||||
assert(
|
||||
serverPy.includes('request.args.get(\'project\')') &&
|
||||
serverPy.includes('scoped_pdk_root_for_project(project)'),
|
||||
'library/component APIs should accept ?project= and search inside the selected technology folder'
|
||||
);
|
||||
assert(
|
||||
serverPy.includes('__path__') &&
|
||||
serverPy.includes('os.path.relpath(root, path_root)'),
|
||||
'library tree leaves should preserve component paths relative to the role PDK root'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user