Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specification of Expect.setEqual() is incomplete or misleading #473

Closed
DartBot opened this issue Nov 16, 2011 · 4 comments
Closed

Specification of Expect.setEqual() is incomplete or misleading #473

DartBot opened this issue Nov 16, 2011 · 4 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-not-planned Closed as we don't intend to take action on the reported issue

Comments

@DartBot
Copy link

DartBot commented Nov 16, 2011

This issue was originally filed by [email protected]


Current specification reads:
/**
   * Checks that every element of [expected] is also in [actual], and that
   * every element of [actual] is also in [expected].
   */
  static void setEquals(Iterable expected,
                        Iterable actual,
                        [String reason = null])

This specification does not mention any type bounds, but actual implementation fails to handle non-Hashable elements in either Iterable argument.
Please clarify the specification and/or fix the implementation.

@peter-ahe-google
Copy link
Contributor

Set owner to [email protected].
Added Triaged label.

@DartBot
Copy link
Author

DartBot commented Mar 20, 2012

This comment was originally written by [email protected]


The Expect class might move from library to a test library. Specifying all methods is too early at that time.


Removed the owner.
Added Area-Test label.

@whesse
Copy link
Contributor

whesse commented Jun 11, 2012

Added this to the Later milestone.
Removed Area-Test label.
Added Area-Library label.

@floitschG
Copy link
Contributor

Expect is on its way out.


Added WontFix label.

@DartBot DartBot added Type-Defect area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. labels Feb 10, 2013
@DartBot DartBot added this to the Later milestone Feb 10, 2013
@kevmoo kevmoo added closed-not-planned Closed as we don't intend to take action on the reported issue and removed resolution-wont_fix labels Mar 1, 2016
dart-bot pushed a commit that referenced this issue Jan 25, 2021
2021-01-24 [email protected] Issue #983: Static warning checks corrected.
2021-01-22 [email protected] Issue #983: triple-shift folders re-named correctly, typo in the library paths updated for 2 tests.
2021-01-21 [email protected] Fixes #985. LateInitializationError removed
2021-01-20 [email protected] Fixes #982. Add tests for The future value type of an asynchronous non-generator function part of NNBD spec
2021-01-19 [email protected] Issue #462: NNBD type-normalization tests for weak mode added.
2021-01-19 [email protected] Issue #462: NNBD type-aliases tests for weak mode added.
2021-01-19 [email protected] Issue #462: NNBD tripple-shift tests for weak mode added.
2021-01-19 [email protected] Issue #462: NNBD tests for weak mode added for the override checkings.
2021-01-19 [email protected] Issue #462: NNBD tests for weak mode added (Leatest-greatest-closures).
2021-01-19 [email protected] Issue #462: NNBD tests for weak mode added (Leatest-greatest-closures).
2021-01-18 [email protected] Fixes #981. Add tests for Return statements part of NNBD spec
2021-01-18 [email protected] Issue #462: NNBD tests for weak mode corrected according to the current Spec changes.
2021-01-14 [email protected] Issue #462: Additional comments regarding the constant evaluation issues added to weak mode tests.
2021-01-14 [email protected] Fixes #980. Remove warnings expectations for overriding default values of optional parameters tests
2021-01-13 [email protected] Issue #462: Tests for weak mode added to nnbd/weak/flow-analysis directory.
2021-01-12 [email protected] #978. Weak mode test changes
2021-01-12 [email protected] Issue #462: Tests for weak mode added to nnbd/weak directory.
2021-01-11 [email protected] Fixes #978. Tests updated according to the "flow analysis boolean variable" feature
2020-12-25 [email protected] Issues #463: Tests for weak mode added.
2020-12-25 [email protected] Issues #462, #463: Moved or added new nnbd tests for weak mode, added new tests for strong mode.
2020-12-24 [email protected] #970. Usr correct values for ProcessSignal.sigusr1 and ProcessSignal.sigusr2 on Mac
2020-12-24 [email protected] Issue #462: 1. Added nnbd tests for weak mode: exports_*, expression_typing_*, extension_method_resolution_*, future_flattening_*. 2. Moved and re-factored nnbd extension_method_resolution_*, future_flattening_* tests for weak mode into weak folder. 3. Copyrights updated Issue #463: Two exports* tests for strong mode added.
2020-12-24 [email protected] Fixes #496. Change tested date to 1 second instead of 1 day to reduce probability to change timezone on DST
2020-12-23 [email protected] Fixes #473. Remove UtilsHtml directory
2020-12-23 [email protected] Fix for Issue #462: 1. Added nnbd tests for weak mode: assignability_*, const_evaluation_*, const_objects_*, const_type_var_elimination_*. 2. Moved and re-factored nnbd exports_* tests for weak mode into weak folder.
2020-12-10 [email protected] Fixes #976. Remove obsolete errors expectations
2020-12-10 [email protected] Fixes #975. Fix wrong expected compile time error type
2020-12-07 [email protected] Flag Requirements=nnbd-weak added to the tests that run legacy code

Cq-Include-Trybots: dart/try:analyzer-nnbd-linux-release-try,dart2js-nnbd-linux-x64-chrome-try,ddc-nnbd-linux-release-chrome-try,front-end-nnbd-linux-release-x64-try,vm-kernel-nnbd-linux-release-simarm64-try,vm-kernel-nnbd-linux-release-x64-try,vm-kernel-nnbd-mac-release-x64-try,vm-kernel-nnbd-win-release-x64-try,vm-kernel-precomp-nnbd-linux-release-x64-try
Change-Id: I69acc5c0a28fd2e7a2d38f6c9062e5a5854bdfa6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/180823
Reviewed-by: William Hesse <[email protected]>
@pq pq mentioned this issue Nov 18, 2024
11 tasks
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-not-planned Closed as we don't intend to take action on the reported issue
Projects
None yet
Development

No branches or pull requests

5 participants