jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • FEST
  • FEST-105

Add isEither, or isOneOf

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: None
  • Fix Version/s: FEST-Assert 1.4
  • Component/s: Assert
  • Labels:
    None

Description

I've not found a nice way to assert that a value is one of a list of correct possibilities.

perhaps for example

IntAssert isIn(Collection<Integer> list);

and the corresponding

IntAssert isNotIn(Collection<Integer> list);

I'd rather not use isGreaterThan() etc, as I don't want to rely on the values being sequential.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Joel Costigliola added a comment - 14/Nov/10 1:32 PM

Duplicate of FEST-400

Show
Joel Costigliola added a comment - 14/Nov/10 1:32 PM Duplicate of FEST-400

People

  • Assignee:
    Alex Ruiz
    Reporter:
    Matthew Harrison
Vote (0)
Watch (0)

Dates

  • Created:
    24/Mar/09 7:04 AM
    Updated:
    14/Nov/10 1:32 PM
    Resolved:
    14/Nov/10 1:32 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.