2525 SurfaceModel ,
2626 SurfaceGroupModel ,
2727)
28- from a2ui .core .basic_catalog import BasicCatalog
28+ from a2ui .core .basic_catalog import BasicModelCatalog
2929
3030
3131def test_component_model_lifecycle ():
@@ -274,9 +274,8 @@ def test_component_node_lifecycle():
274274
275275
276276def test_surface_model_node_layer_resolution ():
277- from a2ui . core . basic_catalog import BasicCatalog
277+ catalog = BasicModelCatalog ()
278278
279- catalog = BasicCatalog ()
280279 surface = SurfaceModel ("main" , catalog )
281280
282281 # 1. Access root node placeholder
@@ -349,7 +348,7 @@ def test_node_core_properties():
349348
350349
351350def test_surface_model_root_node_resolution ():
352- catalog = BasicCatalog ()
351+ catalog = BasicModelCatalog ()
353352 surface = SurfaceModel ("surf-1" , catalog )
354353
355354 # Initial state: no root component, rootNode is None
@@ -370,7 +369,7 @@ def test_surface_model_root_node_resolution():
370369
371370
372371def test_node_layer_reactive_property_resolution ():
373- catalog = BasicCatalog ()
372+ catalog = BasicModelCatalog ()
374373 surface = SurfaceModel ("surf-1" , catalog )
375374
376375 # Initialize data model
@@ -393,7 +392,7 @@ def test_node_layer_reactive_property_resolution():
393392
394393
395394def test_structural_child_resolution ():
396- catalog = BasicCatalog ()
395+ catalog = BasicModelCatalog ()
397396 surface = SurfaceModel ("surf-1" , catalog )
398397
399398 # Setup parent component pointing to a child component
@@ -421,7 +420,7 @@ def test_structural_child_resolution():
421420
422421
423422def test_template_child_list_spawning ():
424- catalog = BasicCatalog ()
423+ catalog = BasicModelCatalog ()
425424 surface = SurfaceModel ("surf-1" , catalog )
426425
427426 # Set up dynamic array data
@@ -482,7 +481,7 @@ def test_template_child_list_spawning():
482481
483482
484483def test_progressive_rendering_and_reconciliation ():
485- catalog = BasicCatalog ()
484+ catalog = BasicModelCatalog ()
486485 surface = SurfaceModel ("surf-1" , catalog )
487486
488487 # Parent component references a child that hasn't arrived yet
@@ -513,7 +512,7 @@ def test_progressive_rendering_and_reconciliation():
513512
514513
515514def test_action_binding_closures ():
516- catalog = BasicCatalog ()
515+ catalog = BasicModelCatalog ()
517516 surface = SurfaceModel ("surf-1" , catalog )
518517
519518 # Data model state
@@ -563,7 +562,7 @@ def test_action_binding_closures():
563562def test_unresolved_data_binding_warning_and_value ():
564563 from a2ui .core .rendering .data_context import MissingDataBindingWarning
565564
566- catalog = BasicCatalog ()
565+ catalog = BasicModelCatalog ()
567566 surface = SurfaceModel ("surf-1" , catalog )
568567
569568 # Setup component pointing to a missing path
@@ -584,7 +583,7 @@ def test_unresolved_data_binding_warning_and_value():
584583
585584
586585def test_structural_child_modification ():
587- catalog = BasicCatalog ()
586+ catalog = BasicModelCatalog ()
588587 surface = SurfaceModel ("surf-1" , catalog )
589588
590589 # Setup parent component and two potential child components
@@ -625,7 +624,7 @@ def test_structural_child_modification():
625624
626625
627626def test_structural_children_and_template_modification ():
628- catalog = BasicCatalog ()
627+ catalog = BasicModelCatalog ()
629628 surface = SurfaceModel ("surf-1" , catalog )
630629
631630 # Setup parent component pointing to an explicit list of children
@@ -695,7 +694,7 @@ def test_structural_children_and_template_modification():
695694
696695
697696def test_data_context_function_call_bindings ():
698- catalog = BasicCatalog ()
697+ catalog = BasicModelCatalog ()
699698 surface = SurfaceModel ("surf-1" , catalog )
700699
701700 # Populate data model with string template arguments
@@ -737,7 +736,7 @@ def test_data_context_function_call_bindings():
737736 assert node_2 .props .value ["text" ] == "Name: ${escaped} and real name John"
738737
739738 # 3. Test catalog custom math function execution ("add" custom catalog invoker)
740- class MathCatalog (BasicCatalog ):
739+ class MathCatalog (BasicModelCatalog ):
741740
742741 def __init__ (self ):
743742 super ().__init__ ()
@@ -765,7 +764,7 @@ def execute(self, args, context=None, abort_signal=None):
765764
766765
767766def test_nested_tab_list_child_resolution ():
768- catalog = BasicCatalog ()
767+ catalog = BasicModelCatalog ()
769768 surface = SurfaceModel ("surf-1" , catalog )
770769
771770 # Setup parent component with tabs property (list of TabItem dicts referencing children)
@@ -809,7 +808,7 @@ def test_nested_tab_list_child_resolution():
809808
810809
811810def test_component_deletion_reconciliation ():
812- catalog = BasicCatalog ()
811+ catalog = BasicModelCatalog ()
813812 surface = SurfaceModel ("surf-1" , catalog )
814813
815814 # Setup parent referencing a child component
@@ -852,7 +851,7 @@ def test_a2ui_text_renderer_reactive_layouts():
852851 sys .path .insert (0 , os .path .dirname (__file__ ))
853852 from text_renderer import A2uiTextRenderer
854853
855- catalog = BasicCatalog ()
854+ catalog = BasicModelCatalog ()
856855 surface = SurfaceModel ("surf-1" , catalog )
857856
858857 # 1. Set up initial static surface components
0 commit comments