-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unit-test for UpwardFileSearch(). #783
Add unit-test for UpwardFileSearch(). #783
Commits on Apr 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 72c6fd1 - Browse repository at this point
Copy the full SHA 72c6fd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84a80be - Browse repository at this point
Copy the full SHA 84a80beView commit details -
Embrace blocks to make clang-format not create unpleasent output.
Signed-off-by: Henner Zeller <h.zeller@acm.org>
Configuration menu - View commit details
-
Copy full SHA for ab8b976 - Browse repository at this point
Copy the full SHA ab8b976View commit details -
Don't query length() if we can use empty().
Signed-off-by: Henner Zeller <h.zeller@acm.org>
Configuration menu - View commit details
-
Copy full SHA for 07f3cc7 - Browse repository at this point
Copy the full SHA 07f3cc7View commit details -
Test multiple consecutive slashes in join-path.
Signed-off-by: Henner Zeller <h.zeller@acm.org>
Configuration menu - View commit details
-
Copy full SHA for 500f010 - Browse repository at this point
Copy the full SHA 500f010View commit details -
Output failing tests to stderr.
We can't access the test logfiles on the CI machine, so it is important that it prints it out for us to see. Signed-off-by: Henner Zeller <h.zeller@acm.org>
Configuration menu - View commit details
-
Copy full SHA for c4bc303 - Browse repository at this point
Copy the full SHA c4bc303View commit details -
Make sure we're operating in not a crowded toplevel namespace.
Don't create test structure in toplevel testing::TempDir(), but create our test-specific path. Signed-off-by: Henner Zeller <h.zeller@acm.org>
Configuration menu - View commit details
-
Copy full SHA for 7cc7cb7 - Browse repository at this point
Copy the full SHA 7cc7cb7View commit details -
Make testing of path independent of absolute paths setup.
We can not assume that the full absolute path is the same for the UpwardFileSearch() as it does realpath(). We only know that 'our' part of the filesystem construction will match. Signed-off-by: Henner Zeller <h.zeller@acm.org>
Configuration menu - View commit details
-
Copy full SHA for 57c9d7c - Browse repository at this point
Copy the full SHA 57c9d7cView commit details
Commits on Apr 22, 2021
-
Use absl::string_view not std::string_view.
Signed-off-by: Henner Zeller <h.zeller@acm.org>
Configuration menu - View commit details
-
Copy full SHA for 25d655d - Browse repository at this point
Copy the full SHA 25d655dView commit details -
Signed-off-by: Henner Zeller <h.zeller@acm.org>
Configuration menu - View commit details
-
Copy full SHA for 71894e8 - Browse repository at this point
Copy the full SHA 71894e8View commit details