Skip to content

0.15.0

Latest
Compare
Choose a tag to compare
@abego abego released this 19 Mar 20:45
· 2 commits to master since this release

New

  • "Copy Description to Clipboard" feature
  • add "close()" to Widget API/"Widget related" category
  • add GT.type(KeyStroke)/typeKey(String)
  • add GuiTesting.startSnapshotReview
  • add get...Prop methods
  • add pre-build SnapshotReviewApp.jar to "tools" directory
  • move binding code to new Bindings API
  • add ImageDifferenceIgnored[Border|Corner]Size
  • add resetMouse and resetScreenCaptureSupport

Changes (Possibly incompatible)

  • "inline" PropFactory in PropService
  • add 'visible' to BoxStyle
  • add VStackWidget (and use it)
  • avoid using Var/Nullable Udo Borkowski
  • change parameter order for bindSwingCode
  • hide eventAPIForProp
  • in Prop use "isReadOnly" instead of "isEditable"
  • make bindSwingCode support multiple props
  • moved runDependingSwingCode to Bindings
  • new method getSnapshotNameDefault() replaces SNAPSHOT_NAME_DEFAULT
  • remove PropField... and PropComputed... from API
  • rename some factory methods to newComputedProp...
  • replace "bind" with "bind[...]To" methods
  • replace AssertRetryingSupport by AssertRetryingService
  • replace PollingSupport by PollingService
  • replace TimeoutSupport by TimeoutService
  • runDependingSwingCode -> bindSwingCode
  • use BoxStyle instead of AWT Border in client code
  • use testResourcesDirectory, not ...Path

Bug Fixes

  • GTHeadlessImpl must not call code requiring "head" (mouse, display)
  • JCheckBoxBindable selected state not initialized with Prop value
  • PropComputedNullable not updated automatically
  • PseudoProp triggers no events until first call to get
  • bindSwingCode observer is not removed
  • disposeAllWindows must run in EDT
  • endless recursion when using BorderedPanel#east
  • make sure to run JFrame.show in the EDT
  • tooltips empty for VList's "next/previous" buttons

Improvements

  • BoxStylingSwing sets JComponent#opaque attribute
  • SnapshotReview: various improvements
  • add GT.makeScreenshotMatchingTolerant() and use it
  • add bindSwingCode(...,Consumer) to Bindings
  • add bindSwingCodeTo[Nullable](Consumer, Supplier)
  • add factory PropServices.newPropService()
  • add getEventService() to PropService API
  • basic "multi-variant" snapshot support
  • better grouping of issues in SnapshotReviewWidget
  • don't shrink images below a minimum size
  • emit "selected" PropertyChanged event for JCheckBoxBindable
  • emit "shrinkToFit" PropertyChanged event for SnapshotReviewWidget
  • impleement bindSwingCode; add Bindings.isUpdating()
  • improved waitUntilAllMenuRelatedScreenshotsMatchSnapshot
  • improved waitUntilAllMenuRelatedScreenshotsMatchSnapshot
  • in issue list, display test name first
  • move code from SnapshotReviewApp to ScreenCaptureSupport
  • nicer styling of the titlebar
  • release modifier keys (e.g "shift") before running GUI tests
  • remove dependency to GT from SnapshotReview(Impl)
  • resetMouse when createing a GTImpl
  • showIssues support optional initializer code
  • some more distance between Copy-button and issue description
  • support PseudoProp
  • support binding a Consumer to a Prop
  • support otherSource/PropertyName in Prop/Binding
  • use BoxStyle to style snapshotIssuesVList borders