MCPcopy Create free account
hub / github.com/apache/impala / _msg_time

Function _msg_time

be/src/util/openssl-util-test.cc:292–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290 "error '\\d+' while reading PEM bundle";
291static const string& MSG_NONE_VALID = "PEM bundle contains no valid certificates";
292static string _msg_time(int invalid_notbefore_cnt, int invalid_notafter_cnt) {
293 return Substitute("PEM bundle contains $0 invalid certificate(s) with notBefore in the "
294 "future and $1 invalid certificate(s) with notAfter in the past",
295 invalid_notbefore_cnt, invalid_notafter_cnt);
296}
297
298/// Constants used in the tests
299static const string& INVALID_CERT_TEXT = "-----BEGIN CERTIFICATE-----\nnot a cert";

Callers 1

TEST_FFunction · 0.85

Calls 1

SubstituteFunction · 0.85

Tested by

no test coverage detected