218 Lifetime::Timeframe};
223 Lifetime::Timeframe};
229 REQUIRE(fromQueryInputSpec.size() == 3);
238 CHECK(std::string(dataType1.origin.as<std::string>()) ==
"TSET");
239 CHECK(std::string(dataType1.description.as<std::string>()) ==
"FOOO");
242 CHECK(std::string(dataType2.origin.as<std::string>()) ==
"TSET");
243 CHECK(std::string(dataType2.description.as<std::string>()) ==
"FOOO");
321 InputSpec concreteInput1{
"binding",
"TSET",
"FOOO", 1, Lifetime::Timeframe};
322 InputSpec concreteInput2{
"binding",
"TSET",
"BAAAR", 1, Lifetime::Timeframe};
323 InputSpec wildcardInput1{
"binding", {
"TSET",
"FOOO"}, Lifetime::Timeframe};
324 InputSpec wildcardInput2{
"binding", {
"TSET",
"BAAAR"}, Lifetime::Timeframe};
349 using namespace data_matcher;
353 DataDescriptorMatcher::Op::And,
355 std::make_unique<DataDescriptorMatcher>(
356 DataDescriptorMatcher::Op::And,
358 std::make_unique<DataDescriptorMatcher>(
359 DataDescriptorMatcher::Op::And,
361 std::make_unique<DataDescriptorMatcher>(
362 DataDescriptorMatcher::Op::Just,
367 DataDescriptorMatcher::Op::And,
369 std::make_unique<DataDescriptorMatcher>(
370 DataDescriptorMatcher::Op::And,
372 std::make_unique<DataDescriptorMatcher>(
373 DataDescriptorMatcher::Op::And,
375 std::make_unique<DataDescriptorMatcher>(
376 DataDescriptorMatcher::Op::Just,
381 DataDescriptorMatcher::Op::And,
383 std::make_unique<DataDescriptorMatcher>(
384 DataDescriptorMatcher::Op::And,
386 std::make_unique<DataDescriptorMatcher>(
387 DataDescriptorMatcher::Op::And,
388 std::make_unique<DataDescriptorMatcher>(
389 DataDescriptorMatcher::Op::Not,
391 std::make_unique<DataDescriptorMatcher>(
392 DataDescriptorMatcher::Op::Just,
397 DataDescriptorMatcher::Op::And,
399 std::make_unique<DataDescriptorMatcher>(
400 DataDescriptorMatcher::Op::And,
402 std::make_unique<DataDescriptorMatcher>(
403 DataDescriptorMatcher::Op::And,
404 std::make_unique<DataDescriptorMatcher>(
405 DataDescriptorMatcher::Op::Or,
408 std::make_unique<DataDescriptorMatcher>(
409 DataDescriptorMatcher::Op::Just,
414 DataDescriptorMatcher::Op::And,
416 std::make_unique<DataDescriptorMatcher>(
417 DataDescriptorMatcher::Op::And,
419 std::make_unique<DataDescriptorMatcher>(
420 DataDescriptorMatcher::Op::And,
422 std::make_unique<DataDescriptorMatcher>(
423 DataDescriptorMatcher::Op::Just,
428 DataDescriptorMatcher::Op::And,
430 std::make_unique<DataDescriptorMatcher>(
431 DataDescriptorMatcher::Op::And,
433 std::make_unique<DataDescriptorMatcher>(
434 DataDescriptorMatcher::Op::And,
436 std::make_unique<DataDescriptorMatcher>(
437 DataDescriptorMatcher::Op::Just,
445 CHECK(concrete.has_value() == expectConcreteDataMatcher);
446 if (concrete.has_value()) {
453 check(matcher3,
false);
454 check(matcher4,
false);
455 check(matcher5,
false);
456 check(matcher6,
false);
458 check(matcher8,
false);
468 std::vector<OutputSpec> outputSpecs;
470 CHECK(outputSpecs.size() == 1);
474 CHECK(outputSpecs.size() == 1);
478 CHECK(outputSpecs.size() == 2);
482 CHECK(outputSpecs.size() == 2);
486 CHECK(outputSpecs.size() == 3);
488 CHECK(outputSpecs.size() == 3);
491 CHECK(outputSpecs.size() == 3);
A typesafe reference to an element of the context.