monomer/test-cases.md

2.3 KiB

Core

Some StyleUtil functions

Event

Nothing to test

Graphics

Nothing to test

Main

Refactor Core's mainLoop so it takes a list of SystemEvents Handlers Some sort of real application, with nested Composites

Widget Utils

  • Focus functions
    • Next Target
    • Focus Candidate
  • Style functions
    • activeStyle
    • handleStyleChange
  • Text functions
    • Ellipsis
    • Multiline

Widgets

  • Alert
    • Click Close
    • Click Outside
  • Box
    • Click
    • Expand (click)
    • Align (click)
    • Button
    • Currently covered
    • Enter/space
  • Checkbox
    • Click
    • Enter/space
    • Handle value version
  • Composite
    • Maybe tested as part of real test application
    • Event handling
    • Message handling
    • Nested composites
  • Confirm
    • Click Accept
    • Click Cancel
    • Click Outside
  • Container
    • Nothing for the time being; tested through other components
  • Dropdown
    • Open/close/select with mouse
    • Open/close/select with keyboard
    • Select on blur
    • Implement focus/blur
  • Floating field
    • Input valid number
    • Input two dots
    • Event with letter
    • Remove character
  • Grid
    • Currently covered
  • Image
    • Check load task request is created
    • Check merging with new path creates new load task
  • InputField
    • Tested through TextField and numeric related versions
  • Integral field
    • Input valid number
    • Input one dot
    • Event with letter
    • Remove character
  • Label
    • Size
    • Size multiline
  • ListView
    • Navigate/select with keyboard
    • Navigate/scroll/select with mouse
  • Radio
    • Click (more than one instance)
    • Enter/space
    • Handle value version
  • Scroll
    • Tested through ListView
    • Nest a sized label component to check viewport assignment
  • Single
    • Nothing for the time being; tested through other components
  • Spacer
    • Tested in stack
  • Stack
    • Currently covered
    • Add RangedSize tests?
    • Ignore empty click (mention it's tested in zstack)
  • Text dropdown
    • Already covered in dropdown
  • Textfield
    • Select on focus (delete too)
    • Add/remove characters
    • Copy/Paste
  • ZStack
    • Assign size
    • Handle click passthrough/focus
    • stack's ignore empty click