Lines Matching refs:vec

61     for (auto &vec : invalidEnumParameterParameters) {  variable
62 GIVEN ("intentional error: " + vec.title) {
63 create(Config{&Config::instances, vec.payload});
81 for (auto &vec : Tests<string>{ variable
84 GIVEN ("Invalid value " + vec.title) {
85 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
88 for (auto &vec : Tests<string>{ variable
91 GIVEN ("A valid value " + vec.title) {
92 CHECK_NOTHROW(setParameter(path, vec.payload));
95 CHECK(getValueBack == vec.payload);
104 for (auto &vec : Tests<string>{{"(too high)", "7"}, {"(too low)", "-1"}}) { variable
105 GIVEN ("Invalid value " + vec.title) {
106 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
109 for (auto &vec : Tests<string>{ variable
112 GIVEN ("A valid value " + vec.title) {
113 CHECK_NOTHROW(setParameter(path, vec.payload));
116 CHECK(getValueBack == vec.payload);
122 for (auto &vec : Tests<string>{{"(too high)", "0x7"}, {"(too low)", "0xFF"}}) { variable
123 GIVEN ("Invalid value " + vec.title) {
124 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
127 for (auto &vec : Tests<string>{ variable
130 GIVEN ("A valid value " + vec.title) {
131 CHECK_NOTHROW(setParameter(path, vec.payload));
134 CHECK(getValueBack == vec.payload);
145 for (auto &vec : Tests<int32_t>{ variable
148 GIVEN ("A valid value " + vec.title) {
149 CHECK_NOTHROW(handle.setAsSignedInteger(vec.payload));
152 CHECK(getValueBack == vec.payload);
155 for (auto &vec : Tests<int32_t>{ variable
158 GIVEN ("An invalid value " + vec.title) {
159 CHECK_THROWS_AS(handle.setAsSignedInteger(vec.payload), Exception);