273 Lifetime::Timeframe};
278 Lifetime::Timeframe};
284 REQUIRE(fromQueryInputSpec.size() == 3);
293 CHECK(std::string(dataType1.origin.as<std::string>()) ==
"TSET");
294 CHECK(std::string(dataType1.description.as<std::string>()) ==
"FOOO");
297 CHECK(std::string(dataType2.origin.as<std::string>()) ==
"TSET");
298 CHECK(std::string(dataType2.description.as<std::string>()) ==
"FOOO");
376 InputSpec concreteInput1{
"binding",
"TSET",
"FOOO", 1, Lifetime::Timeframe};
377 InputSpec concreteInput2{
"binding",
"TSET",
"BAAAR", 1, Lifetime::Timeframe};
378 InputSpec wildcardInput1{
"binding", {
"TSET",
"FOOO"}, Lifetime::Timeframe};
379 InputSpec wildcardInput2{
"binding", {
"TSET",
"BAAAR"}, Lifetime::Timeframe};
404 using namespace data_matcher;
408 DataDescriptorMatcher::Op::And,
410 std::make_unique<DataDescriptorMatcher>(
411 DataDescriptorMatcher::Op::And,
413 std::make_unique<DataDescriptorMatcher>(
414 DataDescriptorMatcher::Op::And,
416 std::make_unique<DataDescriptorMatcher>(
417 DataDescriptorMatcher::Op::Just,
422 DataDescriptorMatcher::Op::And,
424 std::make_unique<DataDescriptorMatcher>(
425 DataDescriptorMatcher::Op::And,
427 std::make_unique<DataDescriptorMatcher>(
428 DataDescriptorMatcher::Op::And,
430 std::make_unique<DataDescriptorMatcher>(
431 DataDescriptorMatcher::Op::Just,
436 DataDescriptorMatcher::Op::And,
438 std::make_unique<DataDescriptorMatcher>(
439 DataDescriptorMatcher::Op::And,
441 std::make_unique<DataDescriptorMatcher>(
442 DataDescriptorMatcher::Op::And,
443 std::make_unique<DataDescriptorMatcher>(
444 DataDescriptorMatcher::Op::Not,
446 std::make_unique<DataDescriptorMatcher>(
447 DataDescriptorMatcher::Op::Just,
452 DataDescriptorMatcher::Op::And,
454 std::make_unique<DataDescriptorMatcher>(
455 DataDescriptorMatcher::Op::And,
457 std::make_unique<DataDescriptorMatcher>(
458 DataDescriptorMatcher::Op::And,
459 std::make_unique<DataDescriptorMatcher>(
460 DataDescriptorMatcher::Op::Or,
463 std::make_unique<DataDescriptorMatcher>(
464 DataDescriptorMatcher::Op::Just,
469 DataDescriptorMatcher::Op::And,
471 std::make_unique<DataDescriptorMatcher>(
472 DataDescriptorMatcher::Op::And,
474 std::make_unique<DataDescriptorMatcher>(
475 DataDescriptorMatcher::Op::And,
477 std::make_unique<DataDescriptorMatcher>(
478 DataDescriptorMatcher::Op::Just,
483 DataDescriptorMatcher::Op::And,
485 std::make_unique<DataDescriptorMatcher>(
486 DataDescriptorMatcher::Op::And,
488 std::make_unique<DataDescriptorMatcher>(
489 DataDescriptorMatcher::Op::And,
491 std::make_unique<DataDescriptorMatcher>(
492 DataDescriptorMatcher::Op::Just,
500 CHECK(concrete.has_value() == expectConcreteDataMatcher);
501 if (concrete.has_value()) {
508 check(matcher3,
false);
509 check(matcher4,
false);
510 check(matcher5,
false);
511 check(matcher6,
false);
513 check(matcher8,
false);
523 std::vector<OutputSpec> outputSpecs;
525 CHECK(outputSpecs.size() == 1);
529 CHECK(outputSpecs.size() == 1);
533 CHECK(outputSpecs.size() == 2);
537 CHECK(outputSpecs.size() == 2);
541 CHECK(outputSpecs.size() == 3);
543 CHECK(outputSpecs.size() == 3);
546 CHECK(outputSpecs.size() == 3);
A typesafe reference to an element of the context.