tree: 2252a1fae6437e4024b9938079ee4b86045fe3df [path history] [tgz]
  1. golden_platform_view_clippath_iPhone 8_simulator.png
  2. golden_platform_view_clippath_iPhone SE_simulator.png
  3. golden_platform_view_cliprect_iPhone 8_simulator.png
  4. golden_platform_view_cliprect_iPhone SE_simulator.png
  5. golden_platform_view_cliprrect_iPhone 8_simulator.png
  6. golden_platform_view_cliprrect_iPhone SE_simulator.png
  7. golden_platform_view_D211AP.png
  8. golden_platform_view_D21AP.png
  9. golden_platform_view_D321AP.png
  10. golden_platform_view_iPhone 8_simulator.png
  11. golden_platform_view_iPhone SE_simulator.png
  12. golden_platform_view_multiple_background_foreground_iPhone 8_simulator.png
  13. golden_platform_view_multiple_background_foreground_iPhone SE_simulator.png
  14. golden_platform_view_multiple_iPhone 8_simulator.png
  15. golden_platform_view_multiple_iPhone SE_simulator.png
  16. golden_platform_view_opacity_iPhone 8_simulator.png
  17. golden_platform_view_opacity_iPhone SE_simulator.png
  18. golden_platform_view_rotate_iPhone 8_simulator.png
  19. golden_platform_view_rotate_iPhone SE_simulator.png
  20. golden_platform_view_transform_iPhone 8_simulator.png
  21. golden_platform_view_transform_iPhone SE_simulator.png
  22. GoldenImage.h
  23. GoldenImage.m
  24. GoldenPlatformViewTests.h
  25. GoldenPlatformViewTests.m
  26. Info.plist
  27. LocalizationInitializationTest.m
  28. PlatformViewGestureRecognizerTests.m
  29. PlatformViewGoldenTestManager.h
  30. PlatformViewGoldenTestManager.m
  31. PlatformViewUITests.m
  32. README.md
  33. StatusBarTest.h
  34. StatusBarTest.m
  35. TextSemanticsFocusTest.h
  36. TextSemanticsFocusTest.m
  37. UnobstructedPlatformViewTests.m
testing/scenario_app/ios/Scenarios/ScenariosUITests/README.md

PlatformView UI Tests

This folder contains a test for platform views. It renders a platform view and does a screen shot comparison against a known good configuration.

The screen shots are named golden_platform_view_MODEL, with _simulator appended for simulators. The model numbers for physical devices correspond to the hw.model sys call, and will represent the model numbers. Simulator names are taken from the environment.

New devices require running the test on the device, gathering the attachment and verifying it manually, and then adding an appropriately named file to this folder.

If the test is attempted on a new device, the log will contain a message indicating the file name it expected to find. The test will continue and fail, but will contain an attachment with the expected screen shot. If the screen shot looks good, add it with the correct name to the project and run the test again - it should pass this time.