|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Compiler_Sema.H. More...
#include <gtest/gtest.h>#include <Compiler_Parser.H>#include <Compiler_Sema.H>#include <string>#include <vector>Go to the source code of this file.
Functions | |
| TEST (CompilerSema, ResolvesFunctionsParametersLocalsAndGlobals) | |
| TEST (CompilerSema, ReportsDuplicateDeclarationsAndShadowing) | |
| TEST (CompilerSema, ReportsDuplicateTypeDeclarations) | |
| TEST (CompilerSema, ReportsDuplicateAndSelfImports) | |
| TEST (CompilerSema, ReportsUnresolvedNamesAndControlFlowMisuse) | |
Tests for Compiler_Sema.H.
Definition in file compiler_sema_test.cc.
| TEST | ( | CompilerSema | , |
| ReportsDuplicateAndSelfImports | |||
| ) |
Definition at line 183 of file compiler_sema_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), and Aleph::Diagnostic_Engine::has_errors().
| TEST | ( | CompilerSema | , |
| ReportsDuplicateDeclarationsAndShadowing | |||
| ) |
Definition at line 133 of file compiler_sema_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::Compiler_Semantic_Options::allow_shadowing, Aleph::blossom_maximum_cardinality_matching(), and Aleph::Diagnostic_Engine::has_errors().
| TEST | ( | CompilerSema | , |
| ReportsDuplicateTypeDeclarations | |||
| ) |
Definition at line 160 of file compiler_sema_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), and Aleph::Diagnostic_Engine::has_errors().
| TEST | ( | CompilerSema | , |
| ReportsUnresolvedNamesAndControlFlowMisuse | |||
| ) |
Definition at line 208 of file compiler_sema_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), and Aleph::Diagnostic_Engine::has_errors().
| TEST | ( | CompilerSema | , |
| ResolvesFunctionsParametersLocalsAndGlobals | |||
| ) |
Definition at line 71 of file compiler_sema_test.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::blossom_maximum_cardinality_matching(), Aleph::Diagnostic_Engine::has_errors(), and Aleph::sum().