You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/11/18 17:38:38 UTC

[GitHub] [beam] damondouglas removed a comment on pull request #15768: [BEAM-13064] [Playground] Implement search & filter logic

damondouglas removed a comment on pull request #15768:
URL: https://github.com/apache/beam/pull/15768#issuecomment-973103431


   Thank you, @miamihotline, I see the following output.  I ran `flutter test` in the playground/frontend directory.  I'm wondering if
   the code for `expect(state.categories, sortedCategories);` should be changed?
   
   ```
   00:04 +2: beam/playground/frontend/test/pages/playground/states/example_selector_state_test.dart: ExampleSelector state sortCategories should:- update categories and notify all listeners,but should NOT:- wait for full name of example,- be sensitive for register,- affect Example state categories
   ══╡ EXCEPTION CAUGHT BY FOUNDATION LIBRARY ╞════════════════════════════════════════════════════════
   The following TestFailure object was thrown while dispatching notifications for
   ExampleSelectorState:
     Expected: [Instance of 'CategoryModel']
     Actual: [Instance of 'CategoryModel']
      Which: at location [0] is <Instance of 'CategoryModel'> instead of <Instance of 'CategoryModel'>
   
   When the exception was thrown, this was the stack:
   #0      fail (package:test_api/src/expect/expect.dart:137:31)
   #1      _expect (package:test_api/src/expect/expect.dart:132:3)
   #2      expect (package:test_api/src/expect/expect.dart:46:3)
   #3      expect (package:flutter_test/src/widget_tester.dart:461:3)
   #4      main.<anonymous closure>.<anonymous closure> (beam/playground/frontend/test/pages/playground/states/example_selector_state_test.dart:65:7)
   #5      ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:308:24)
   #6      ExampleSelectorState.setCategories (package:playground/pages/playground/states/example_selector_state.dart:54:5)
   #7      ExampleSelectorState.sortCategories (package:playground/pages/playground/states/example_selector_state.dart:64:5)
   #8      main.<anonymous closure> (beam/playground/frontend/test/pages/playground/states/example_selector_state_test.dart:68:11)
   #9      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:199:19)
   <asynchronous suspension>
   <asynchronous suspension>
   (elided one frame from package:stack_trace)
   
   The ExampleSelectorState sending notification was:
     Instance of 'ExampleSelectorState'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org