summaryrefslogtreecommitdiffstats
path: root/googletest/docs/advanced.md
Commit message (Collapse)AuthorAgeFilesLines
* Googletest exportAbseil Team2019-12-051-1/+1
| | | | | | Update example Environment class destructor annotation PiperOrigin-RevId: 283986183
* Googletest exportAbseil Team2019-11-221-1/+1
| | | | | | Fix typo in the predicate assertion table. PiperOrigin-RevId: 281973457
* Googletest exportAbseil Team2019-10-231-0/+2
| | | | | | | | Split the scoped trace examples into two snippets. This doesn't have an effect in the github markdown renderer, but in some other renderers/templates, this leads them to be independently copy-pastable. In particular, the markdown rendering that Google uses internally has a copy button for each code snippet, which, before this change, would copy both lines. Bad copy button, no cookie! After this change, there will be two such buttons, one per line, and clicking a copy button will copy only the one snippet it is next to, and not the other. This is desirable because nobody will ever want to copy both lines, only one or the other. PiperOrigin-RevId: 276079009
* Googletest exportAbseil Team2019-10-221-1/+1
| | | | | | Typo in Registering tests programmatically section. Changed "were" to "where". PiperOrigin-RevId: 276060801
* Merge pull request #2448 from kuzkry:bad-googletest-exportGennadiy Civil2019-10-101-1/+1
|\ | | | | | | PiperOrigin-RevId: 273585026
| * square away the stuff that hasn't been merged in a manual reviewrefs/pull/2448/headKrystian Kuzniarek2019-09-161-1/+1
| | | | | | | | | | This fixes up f2fb48c3 (a manual merge) that has abandoned some things from PR #2407.
* | Fix typo in documentsrefs/pull/2495/headrefs/pull/2486/headhyuk.myeong2019-10-011-6/+4
|/
* Googletest exportkuzkry2019-09-161-3/+4
| | | | | | | | | Merge 3bdefdb473d304803d2a38e2a2cd5cdc1827c3bd into fb49e6c164490a227bbb7cf5223b846c836a0305 Closes #2407 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2407 from kuzkry:StaticAssertTypeEq 3bdefdb473d304803d2a38e2a2cd5cdc1827c3bd PiperOrigin-RevId: 269255328
* Googletest exportAbseil Team2019-08-151-4/+0
| | | | | | Internal change, documentation only. PiperOrigin-RevId: 262554386
* Merge pull request #2361 from guillemglez:masterGennadiy Civil2019-08-021-36/+41
|\ | | | | | | PiperOrigin-RevId: 261340959
| * Fix table formatting in advanced.mdrefs/pull/2361/headGuillem González Vela2019-08-011-36/+23
| |
* | Googletest exportAbseil Team2019-08-011-7/+17
|/ | | | | | Add links to "sampleK_unittest.cc" examples. Fix some broken docs crosslinks. PiperOrigin-RevId: 261169561
* Merge pull request #2355 from kuzkry:markdown-numberingGennadiy Civil2019-07-301-6/+6
|\ | | | | | | PiperOrigin-RevId: 260782065
| * fix numbering of ordered lists in MarkdownKrystian Kuzniarek2019-07-301-6/+6
| |
* | Merge pull request #2338 from kuzkry:environment-documentationGennadiy Civil2019-07-291-3/+3
|\ \ | |/ |/| | | PiperOrigin-RevId: 260559531
| * explicitly show overriding to align examples to their commentsrefs/pull/2338/headKrystian Kuzniarek2019-07-181-2/+2
| |
| * document a missing parent classKrystian Kuzniarek2019-07-181-1/+1
| |
* | Manual docs tweaks still in preparation for including docs with code pushesGennadiy Civil2019-07-181-1/+1
| |
* | Manual docs tweaks still in preparation for including docs with code pushesGennadiy Civil2019-07-181-1/+1
|/
* Preparation for including docs in round-trip with OSS. Manual review and ↵Gennadiy Civil2019-07-161-40/+2
| | | | merge docs internal-OSS
* Preparation for including docs in round-trip with OSS. Manual review and ↵Gennadiy Civil2019-07-161-238/+243
| | | | merge docs internal-OSS
* rename and apply snake_case on CheatSheet.mdKrystian Kuzniarek2019-07-131-1/+1
|
* Documentation sync in preparation to including docs with full source syncGennadiy Civil2019-06-241-21/+25
|
* Remove google internal links from documentation on githubrefs/pull/2296/headPrashant Jaikumar2019-06-191-1/+1
|
* Renaming doc files to make the file names more palatable and in preparation ↵Gennadiy Civil2019-06-191-3/+3
| | | | for including documentation in sync process
* removing obsolete language from docs, CMake and Bazel is the only supporeted ↵Gennadiy Civil2019-06-101-64/+64
| | | | build methods
* Update advanced.mdGennadiy Civil2019-05-171-0/+61
| | | Adding back section that was lost in merge
* Handle GTEST_SKIP() when calling `Environment::SetUp()`refs/pull/2203/headEnji Cooper2019-03-301-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gtest prior to this change would completely ignore `GTEST_SKIP()` if called in `Environment::SetUp()`, instead of bailing out early, unlike `Test::SetUp()`, which would cause the tests themselves to be skipped. The only way (prior to this change) to skip the tests would be to trigger a fatal error via `GTEST_FAIL()`. Desirable behavior, in this case, when dealing with `Environment::SetUp()` is to check for prerequisites on a system (example, kernel supports a particular featureset, e.g., capsicum), and skip the tests. The alternatives prior to this change would be undesirable: - Failing sends the wrong message to the test user, as the result of the tests is indeterminate, not failed. - Having to add per-test class abstractions that override `SetUp()` to test for the capsicum feature set, then skip all of the tests in their respective SetUp fixtures, would be a lot of human and computational work; checking for the feature would need to be done for all of the tests, instead of once for all of the tests. For those reasons, making `Environment::SetUp()` handle `GTEST_SKIP()`, by not executing the testcases, is the most desirable solution. In order to properly diagnose what happened when running the tests if they are skipped, print out the diagnostics in an ad hoc manner. Update the documentation to note this change and integrate a new test, gtest_skip_in_environment_setup_test, into the test suite. This change addresses #2189. Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
* Update googletest/docs/advanced.mdrefs/pull/2193/headGennadiy Civil2019-03-211-1/+1
| | | Co-Authored-By: antismap <michael.thenault@gmail.com>
* Note about INSTANTIATE_TEST_SUITE_P / INSTANTIATE_TEST_CASE_P keyword changeantismap2019-03-211-0/+2
| | | See https://github.com/google/googletest/issues/2065
* Fix an invalid example of JSON report in advanced.mdrefs/pull/2103/headKeiichi Watanabe2019-02-051-5/+4
| | | | | | | This is just a mistake in the document. Google Test doesn't output such an invalid JSON report. Signed-off-by: Keiichi Watanabe <keiichiw@chromium.org>
* Repeat #2090 refs/pull/2091/headGennadiy Civil2019-01-301-1/+1
| | | Testing
* Update docs, TestCase->TestSuiteGennadiy Civil2019-01-031-85/+85
|
* Update advanced.mdGennadiy Civil2018-10-231-1/+1
| | | Fixes #1802
* Fix doc linksrefs/pull/1809/headArkady Shapkin2018-09-041-2/+2
|
* docs: fix more broken links to sections in Advanced guiderefs/pull/1754/headVadim Kotov2018-08-201-3/+3
|
* docs: fixed broken references to sections in Advanced guideVadim Kotov2018-08-201-2/+2
|
* std references shouldn't be fully qualifiedrefs/pull/1748/headVadim Berezniker2018-08-171-4/+4
|
* - Fix the broken markdown tablerefs/pull/1731/headYi Zheng2018-08-131-55/+39
| | | | - Fix some format issue
* docs: fix broken linksWiktor Garbacz2018-08-091-2/+2
|
* Updated broken and outdated URLsPiotr Kąkol2018-07-251-8/+8
|
* Docs syncGennadiy Civil2018-07-171-1213/+1333
|
* Rename FAQ.md to faq.md and adjust the links. Gennadiy Civil2018-06-111-2/+2
| | | Part of documentation rationalization
* Rename AdvancedGuide.md to advanced.md and adjust the links. Gennadiy Civil2018-06-111-0/+2416
Part of documentation rationalization work