Files
Terminal.Gui/Tests/UnitTestsParallelizable/ViewBase/Adornment
Tig 84f977937b Adds transparent shadow test (#4487)
* Add tests for overlapped view transparent shadow config

* Add test for transparent shadow showing background text

Added a unit test to verify that overlapped views with transparent shadows allow background text to show through the shadow area. The test checks both right and bottom shadow regions and asserts that the underlying content is visible, ensuring correct rendering behavior.

* Add test for transparent shadow in overlapped views

Adds Overlapped_View_With_TransparentShadow_Driver_Output_Shows_Background_Text to verify that background text is visible through transparent shadows in overlapped views. The test checks for correct rendering, ANSI color codes, and ensures the shadow area displays the expected background character.

* Refactor transparent shadow test for stricter output check

Update Overlapped_View_With_TransparentShadow_Driver_Output_Shows_Background_Text to use a smaller screen, dynamic sizing, and new overlapped view text. Replace loose output assertion with strict ANSI output comparison. Make shadow cell coordinate calculation dynamic based on view frame.

* Consolidate transparent shadow tests into ShadowStyleTests

Moved the transparent shadow driver output test from OverlappedViewTransparentShadowTests to ShadowStyleTests for better organization. Removed the now-redundant OverlappedViewTransparentShadowTests class and updated ShadowStyleTests to support output logging. All transparent shadow rendering tests are now grouped under ShadowStyleTests.
2025-12-12 18:24:34 -07:00
..