|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for ah-diagnostics.H. More...
Go to the source code of this file.
Functions | |
| TEST (Diagnostics, ErrorBuilderStoresPrimaryLabelAndCode) | |
| TEST (Diagnostics, SecondaryLabelsAndCountersWork) | |
| TEST (Diagnostics, RenderPlainIncludesFileLocationAndCaret) | |
| TEST (Diagnostics, RenderingIsDeterministic) | |
| TEST (Diagnostics, ClearResetsState) | |
Tests for ah-diagnostics.H.
Definition in file compiler_diagnostics_test.cc.
| TEST | ( | Diagnostics | , |
| ClearResetsState | |||
| ) |
Definition at line 142 of file compiler_diagnostics_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), Aleph::Diagnostic_Engine::clear(), Aleph::Diagnostic_Builder::emit(), Aleph::Diagnostic_Engine::error(), Aleph::Diagnostic_Engine::error_count(), Aleph::Diagnostic_Engine::has_errors(), Aleph::Diagnostic_Engine::size(), Aleph::Diagnostic_Engine::warning(), and Aleph::Diagnostic_Engine::warning_count().
| TEST | ( | Diagnostics | , |
| ErrorBuilderStoresPrimaryLabelAndCode | |||
| ) |
Definition at line 47 of file compiler_diagnostics_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), Aleph::Diagnostic_Builder::code(), Aleph::Diagnostic_Builder::emit(), Aleph::Diagnostic_Engine::error(), Aleph::Diagnostic_Engine::error_count(), Aleph::Diagnostic_Engine::get(), Aleph::Diagnostic_Builder::help(), Aleph::Diagnostic_Builder::note(), Aleph::Diagnostic_Engine::size(), and Aleph::Diagnostic_Engine::warning_count().
| TEST | ( | Diagnostics | , |
| RenderingIsDeterministic | |||
| ) |
Definition at line 120 of file compiler_diagnostics_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), Aleph::Diagnostic_Builder::code(), Aleph::Diagnostic_Builder::emit(), Aleph::Diagnostic_Engine::error(), Aleph::Diagnostic_Engine::render_plain(), and Aleph::Diagnostic_Engine::warning().
| TEST | ( | Diagnostics | , |
| RenderPlainIncludesFileLocationAndCaret | |||
| ) |
Definition at line 95 of file compiler_diagnostics_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), Aleph::Diagnostic_Builder::code(), Aleph::Diagnostic_Builder::emit(), Aleph::Diagnostic_Engine::error(), Aleph::Diagnostic_Builder::help(), Aleph::Diagnostic_Builder::note(), out, and Aleph::Diagnostic_Engine::render_plain().
| TEST | ( | Diagnostics | , |
| SecondaryLabelsAndCountersWork | |||
| ) |
Definition at line 74 of file compiler_diagnostics_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), Aleph::Diagnostic_Builder::code(), Aleph::Diagnostic_Builder::emit(), Aleph::Diagnostic_Engine::error_count(), Aleph::Diagnostic_Engine::get(), Aleph::Diagnostic_Builder::secondary(), Aleph::Diagnostic_Engine::size(), Aleph::Diagnostic_Engine::warning(), and Aleph::Diagnostic_Engine::warning_count().