MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / BOOST_FOREACH

Function BOOST_FOREACH

src/test/script_tests.cpp:703–712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701 std::string strGen;
702
703 BOOST_FOREACH(TestBuilder& test, tests) {
704 test.Test();
705 std::string str = JSONPrettyPrint(test.GetJSON());
706#ifndef UPDATE_JSON_TESTS
707 if (tests_set.count(str) == 0) {
708 BOOST_CHECK_MESSAGE(false, "Missing auto script_valid test: " + test.GetComment());
709 }
710#endif
711 strGen += str + ",\n";
712 }
713
714#ifdef UPDATE_JSON_TESTS
715 FILE* file = fopen("script_tests.json.gen", "w");

Callers

nothing calls this directly

Calls 7

JSONPrettyPrintFunction · 0.85
TestMethod · 0.80
GetJSONMethod · 0.80
countMethod · 0.80
GetCommentMethod · 0.80
SignMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected