MCPcopy Create free account
hub / github.com/Kitware/CMake / testNoFile

Function testNoFile

Source/kwsys/testFStream.cxx:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18#include <iostream>
19
20static int testNoFile()
21{
22 kwsys::ifstream in_file("NoSuchFile.txt");
23 if (in_file) {
24 return 1;
25 }
26
27 return 0;
28}
29
30static int const num_test_files = 7;
31static int const max_test_file_size = 45;

Callers 1

testFStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…