mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #9576 from ethereum/test-cleanup
Rename libsolidity/SolidityScanner to liblangutil/Scanner in tests
This commit is contained in:
commit
ebd512cef6
@ -50,6 +50,7 @@ detect_stray_source_files("${libevmasm_sources}" "libevmasm/")
|
||||
|
||||
set(liblangutil_sources
|
||||
liblangutil/CharStream.cpp
|
||||
liblangutil/Scanner.cpp
|
||||
liblangutil/SourceLocation.cpp
|
||||
)
|
||||
detect_stray_source_files("${liblangutil_sources}" "liblangutil/")
|
||||
@ -92,7 +93,6 @@ set(libsolidity_sources
|
||||
libsolidity/SolidityNatspecJSON.cpp
|
||||
libsolidity/SolidityOptimizer.cpp
|
||||
libsolidity/SolidityParser.cpp
|
||||
libsolidity/SolidityScanner.cpp
|
||||
libsolidity/SolidityTypes.cpp
|
||||
libsolidity/StandardCompiler.cpp
|
||||
libsolidity/SyntaxTest.cpp
|
||||
|
@ -31,7 +31,7 @@
|
||||
namespace solidity::langutil::test
|
||||
{
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(CharStreamtest)
|
||||
BOOST_AUTO_TEST_SUITE(CharStreamTest)
|
||||
|
||||
BOOST_AUTO_TEST_CASE(test_fail)
|
||||
{
|
||||
|
@ -21,15 +21,16 @@
|
||||
*/
|
||||
|
||||
#include <liblangutil/Scanner.h>
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
using namespace std;
|
||||
using namespace solidity::langutil;
|
||||
|
||||
namespace solidity::frontend::test
|
||||
namespace solidity::langutil::test
|
||||
{
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(SolidityScanner)
|
||||
BOOST_AUTO_TEST_SUITE(ScannerTest)
|
||||
|
||||
BOOST_AUTO_TEST_CASE(test_empty)
|
||||
{
|
@ -28,6 +28,7 @@
|
||||
#include <libyul/AsmParser.h>
|
||||
#include <libyul/AssemblyStack.h>
|
||||
#include <libyul/AsmAnalysisInfo.h>
|
||||
#include <libyul/Object.h>
|
||||
|
||||
#include <liblangutil/ErrorReporter.h>
|
||||
#include <liblangutil/SourceReferenceFormatter.h>
|
||||
|
@ -19,7 +19,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <test/TestCase.h>
|
||||
#include <libyul/Object.h>
|
||||
|
||||
namespace solidity::langutil
|
||||
{
|
||||
@ -28,6 +27,11 @@ class Error;
|
||||
using ErrorList = std::vector<std::shared_ptr<Error const>>;
|
||||
}
|
||||
|
||||
namespace solidity::yul
|
||||
{
|
||||
struct Object;
|
||||
}
|
||||
|
||||
namespace solidity::yul::test
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user