|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Integration tests for the alternate line-oriented frontend. More...
Go to the source code of this file.
Functions | |
| TEST (CompilerLineFrontend, RunsProgramThroughGenericDriver) | |
| TEST (CompilerLineFrontend, EmitsBytecodeAndPortableCThroughGenericDriver) | |
| TEST (CompilerLineFrontend, ReportsStructuredDiagnosticsForUnknownCallee) | |
| TEST (CompilerLineFrontend, RejectsCallsToNonImportedFunctions) | |
| TEST (CompilerLineFrontend, ReportsMissingImportsDuringParsing) | |
| TEST (CompilerLineFrontend, RejectsInvalidOperandsDuringParsing) | |
Integration tests for the alternate line-oriented frontend.
Definition in file compiler_line_frontend_test.cc.
| TEST | ( | CompilerLineFrontend | , |
| EmitsBytecodeAndPortableCThroughGenericDriver | |||
| ) |
Definition at line 119 of file compiler_line_frontend_test.cc.
References Aleph::Compiler_Generic_Driver::bytecode_module(), Aleph::Compiler_Generic_Driver_Options::c_backend_options, Aleph::Compiler_Generic_Driver::c_emission(), Aleph::Compiler_Generic_Driver::execute_sources(), Aleph::Compiler_Generic_Driver::find_artifact(), Aleph::Compiler_C_Backend_Options::module_name, options, and Aleph::Compiler_C_Backend_Emission::valid.
| TEST | ( | CompilerLineFrontend | , |
| RejectsCallsToNonImportedFunctions | |||
| ) |
Definition at line 164 of file compiler_line_frontend_test.cc.
References Aleph::DynArray< T >::append(), Aleph::Compiler_Line_Frontend::diagnostic_engine(), Aleph::Compiler_Generic_Driver::execute_sources(), Aleph::Compiler_Generic_Driver::find_artifact(), and Aleph::Diagnostic_Engine::has_errors().
| TEST | ( | CompilerLineFrontend | , |
| RejectsInvalidOperandsDuringParsing | |||
| ) |
Definition at line 201 of file compiler_line_frontend_test.cc.
References Aleph::DynArray< T >::append(), Aleph::Compiler_Line_Frontend::diagnostic_engine(), Aleph::Compiler_Generic_Driver::execute_sources(), Aleph::Compiler_Generic_Driver::find_artifact(), and Aleph::Diagnostic_Engine::has_errors().
| TEST | ( | CompilerLineFrontend | , |
| ReportsMissingImportsDuringParsing | |||
| ) |
Definition at line 182 of file compiler_line_frontend_test.cc.
References Aleph::DynArray< T >::append(), Aleph::Compiler_Line_Frontend::diagnostic_engine(), Aleph::Compiler_Generic_Driver::execute_sources(), Aleph::Compiler_Generic_Driver::find_artifact(), and Aleph::Diagnostic_Engine::has_errors().
| TEST | ( | CompilerLineFrontend | , |
| ReportsStructuredDiagnosticsForUnknownCallee | |||
| ) |
Definition at line 147 of file compiler_line_frontend_test.cc.
References Aleph::DynArray< T >::append(), Aleph::Compiler_Line_Frontend::diagnostic_engine(), Aleph::Compiler_Generic_Driver::execute_sources(), Aleph::Compiler_Generic_Driver::find_artifact(), and Aleph::Diagnostic_Engine::has_errors().
| TEST | ( | CompilerLineFrontend | , |
| RunsProgramThroughGenericDriver | |||
| ) |
Definition at line 58 of file compiler_line_frontend_test.cc.
References Aleph::Compiler_Generic_Driver::execute_sources(), Aleph::Compiler_Driver_Run_Output::executed, Aleph::Compiler_Generic_Driver::find_artifact(), Aleph::Compiler_Line_Frontend::find_artifact(), Aleph::Compiler_Driver_Run_Output::globals_text, Aleph::Compiler_Line_Frontend::module_metadata(), Aleph::Interpreter_Execution_Result::ok(), Aleph::Compiler_Driver_Run_Output::result, and Aleph::Compiler_Generic_Driver::run_output().