MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / GetRoundTripTestCases

Function GetRoundTripTestCases

env/env_yaml_test.cc:1359–1470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1357}
1358
1359std::vector<std::string> GetRoundTripTestCases() {
1360 return {
1361 R"yaml(
1362 stdlib:
1363 disable: true
1364 disable_macros: true
1365 )yaml",
1366 R"yaml(
1367 name: "test.env"
1368 container: "common.proto.prefix"
1369 extensions:
1370 - name: "math"
1371 version: 0
1372 - name: "optional"
1373 version: 2
1374 stdlib:
1375 include_macros:
1376 - "filter"
1377 - "map"
1378 include_functions:
1379 - name: "_+_"
1380 overloads:
1381 - id: "add_bytes"
1382 - id: "add_list"
1383 - name: "matches"
1384 - name: "timestamp"
1385 overloads:
1386 - id: "string_to_timestamp"
1387 )yaml",
1388 R"yaml(
1389 extensions:
1390 - name: "bindings"
1391 - name: "math"
1392 stdlib:
1393 exclude_macros:
1394 - "filter"
1395 - "map"
1396 exclude_functions:
1397 - name: "_+_"
1398 overloads:
1399 - id: "add_bytes"
1400 - id: "add_list"
1401 - name: "matches"
1402 - name: "timestamp"
1403 overloads:
1404 - id: "string_to_timestamp"
1405 )yaml",
1406 R"yaml(
1407 variables:
1408 - name: "a"
1409 type_name: "null"
1410 - name: "b"
1411 type_name: "bool"
1412 value: true
1413 - name: "c"
1414 type_name: "int"
1415 value: 42
1416 - name: "d"

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected