Code Monkey home page Code Monkey logo

Comments (4)

raju-apple avatar raju-apple commented on May 20, 2024

I understand the specification doesn't mandate the order or fabric list. But the YAML has no support for verifying list values regardless of order, I have already raised an SDK issue seeking the support for the same 24149.

Until we wait for the SDK team to come back, Only option for YAML script i can think of is, we may read the Fabrics attribute without response check and with a prompt we could ask the user to check whether the values of the Fabric list CONTAINS only Fabric-index values 1, 3, 4.
@bzbarsky-apple What is your thoughts on this?

from matter-test-scripts.

raju-apple avatar raju-apple commented on May 20, 2024

@manjunath-grl project-chip/connectedhomeip#29643 should make it so you can use contains and excludes on lists of structs. Note that project-chip/connectedhomeip#24149 is about a completely different situation that has nothing to do with this one...

With the PR above, I guess you can have something like:

    contains: [ entries here]
    maxLength: length-of-entries # To make sure there's nothing extra in the list

or so.

from matter-test-scripts.

manjunath-grl avatar manjunath-grl commented on May 20, 2024

@raju-apple Fixed in PR 29883 please verify it and close the ticket.

from matter-test-scripts.

Apollon77 avatar Apollon77 commented on May 20, 2024

Also verified. Works. Thank you

from matter-test-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.