lex-core 0.17.0

Parser library for the lex format
Documentation
//! Integration tests for lex binary
//!
//! These tests verify the full application workflow using TestApp infrastructure

// The tests module is defined in the binary crate
// We access it through the binary's module structure
mod lex_tests {
    // Import the test utilities from the binary
    // This requires the tests module to be public
}

// For now, we'll document what integration tests we want to write:
//
// 1. FileViewer Arrow Key Navigation
//    - Create app with content
//    - Send arrow keys
//    - Verify cursor position changes
//    - Verify SelectPosition events update model
//
// 2. Focus Switching
//    - Start in FileViewer
//    - Press Tab
//    - Verify TreeViewer now focused
//    - Verify UI shows [FOCUSED] indicator
//
// 3. Tree Node Expansion (Step 8)
//    - Select file position
//    - Verify corresponding tree node is identified
//    - Verify node is auto-expanded so it's visible
//
// 4. Tree Navigation (Step 9)
//    - Navigate tree with arrow keys
//    - Expand/collapse with Left/Right
//    - Verify selection synchronizes between viewers
//
// 5. Full Render Output Verification
//    - Use insta snapshots to verify UI layout
//    - Verify title bar shows file name
//    - Verify tree viewer width is 30 chars
//    - Verify file viewer fills remaining space
//    - Verify info panel at bottom

// Note: Integration tests will be written here once TestApp is accessible
// from the binary module. Current placeholder keeps file structure in place.