MCPcopy Create free account
hub / github.com/3rdparty/libprocess / TestFlags

Method TestFlags

src/tests/subprocess_tests.cpp:723–733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

721struct TestFlags : public virtual flags::FlagsBase
722{
723 TestFlags()
724 {
725 add(&TestFlags::b, "b", "bool");
726 add(&TestFlags::i, "i", "int");
727 add(&TestFlags::s, "s", "string");
728 add(&TestFlags::s2, "s2", "string with single quote");
729 add(&TestFlags::s3, "s3", "string with double quote");
730 add(&TestFlags::d, "d", "Duration");
731 add(&TestFlags::y, "y", "Bytes");
732 add(&TestFlags::j, "j", "JSON::Object");
733 }
734
735 Option<bool> b;
736 Option<int> i;

Callers

nothing calls this directly

Calls 1

addFunction · 0.85

Tested by

no test coverage detected