aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChristian Parpart <christian@ethereum.org>2018-10-15 17:58:51 +0800
committerChristian Parpart <christian@ethereum.org>2018-10-15 17:58:51 +0800
commit1304361b9c48438d5c55903492b5f11c3dac73e5 (patch)
treea8501e929c94a7d36e69a6350e98c68556fe9038 /test
parent9a4bec7e474a310c7f93ff3b84928e0e9ba9cce6 (diff)
downloaddexon-solidity-1304361b9c48438d5c55903492b5f11c3dac73e5.tar.gz
dexon-solidity-1304361b9c48438d5c55903492b5f11c3dac73e5.tar.zst
dexon-solidity-1304361b9c48438d5c55903492b5f11c3dac73e5.zip
Renaming namespace dev::julia to dev::yul.
Diffstat (limited to 'test')
-rw-r--r--test/boostTest.cpp2
-rw-r--r--test/libyul/Common.cpp10
-rw-r--r--test/libyul/Common.h2
-rw-r--r--test/libyul/Inliner.cpp4
-rw-r--r--test/libyul/YulOptimizerTest.cpp4
-rw-r--r--test/libyul/YulOptimizerTest.h2
-rw-r--r--test/tools/isoltest.cpp2
7 files changed, 13 insertions, 13 deletions
diff --git a/test/boostTest.cpp b/test/boostTest.cpp
index c199535a..d27ba1f6 100644
--- a/test/boostTest.cpp
+++ b/test/boostTest.cpp
@@ -143,7 +143,7 @@ test_suite* init_unit_test_suite( int /*argc*/, char* /*argv*/[] )
master,
dev::test::Options::get().testPath / "libyul",
"yulOptimizerTests",
- dev::julia::test::YulOptimizerTest::create
+ dev::yul::test::YulOptimizerTest::create
) > 0, "no Yul Optimizer tests found");
if (dev::test::Options::get().disableIPC)
{
diff --git a/test/libyul/Common.cpp b/test/libyul/Common.cpp
index f23136e6..4c50180a 100644
--- a/test/libyul/Common.cpp
+++ b/test/libyul/Common.cpp
@@ -37,10 +37,10 @@
#include <boost/test/unit_test.hpp>
using namespace std;
-using namespace dev::julia;
+using namespace dev::yul;
using namespace dev::solidity;
-void dev::julia::test::printErrors(ErrorList const& _errors, Scanner const& _scanner)
+void dev::yul::test::printErrors(ErrorList const& _errors, Scanner const& _scanner)
{
SourceReferenceFormatter formatter(cout, [&](std::string const&) -> Scanner const& { return _scanner; });
@@ -52,7 +52,7 @@ void dev::julia::test::printErrors(ErrorList const& _errors, Scanner const& _sca
}
-pair<shared_ptr<Block>, shared_ptr<assembly::AsmAnalysisInfo>> dev::julia::test::parse(string const& _source, bool _yul)
+pair<shared_ptr<Block>, shared_ptr<assembly::AsmAnalysisInfo>> dev::yul::test::parse(string const& _source, bool _yul)
{
auto flavour = _yul ? assembly::AsmFlavour::Yul : assembly::AsmFlavour::Strict;
ErrorList errors;
@@ -83,13 +83,13 @@ pair<shared_ptr<Block>, shared_ptr<assembly::AsmAnalysisInfo>> dev::julia::test:
return {};
}
-assembly::Block dev::julia::test::disambiguate(string const& _source, bool _yul)
+assembly::Block dev::yul::test::disambiguate(string const& _source, bool _yul)
{
auto result = parse(_source, _yul);
return boost::get<Block>(Disambiguator(*result.second)(*result.first));
}
-string dev::julia::test::format(string const& _source, bool _yul)
+string dev::yul::test::format(string const& _source, bool _yul)
{
return assembly::AsmPrinter(_yul)(*parse(_source, _yul).first);
}
diff --git a/test/libyul/Common.h b/test/libyul/Common.h
index b9c3d2fb..ee191494 100644
--- a/test/libyul/Common.h
+++ b/test/libyul/Common.h
@@ -39,7 +39,7 @@ namespace assembly
struct AsmAnalysisInfo;
}
}
-namespace julia
+namespace yul
{
namespace test
{
diff --git a/test/libyul/Inliner.cpp b/test/libyul/Inliner.cpp
index 471b2e2f..44c6411a 100644
--- a/test/libyul/Inliner.cpp
+++ b/test/libyul/Inliner.cpp
@@ -36,8 +36,8 @@
using namespace std;
using namespace dev;
-using namespace dev::julia;
-using namespace dev::julia::test;
+using namespace dev::yul;
+using namespace dev::yul::test;
using namespace dev::solidity;
namespace
diff --git a/test/libyul/YulOptimizerTest.cpp b/test/libyul/YulOptimizerTest.cpp
index 62a4aa10..8b37830f 100644
--- a/test/libyul/YulOptimizerTest.cpp
+++ b/test/libyul/YulOptimizerTest.cpp
@@ -48,8 +48,8 @@
#include <fstream>
using namespace dev;
-using namespace dev::julia;
-using namespace dev::julia::test;
+using namespace dev::yul;
+using namespace dev::yul::test;
using namespace dev::solidity;
using namespace dev::solidity::test;
using namespace std;
diff --git a/test/libyul/YulOptimizerTest.h b/test/libyul/YulOptimizerTest.h
index 8f9a81f7..7db17ceb 100644
--- a/test/libyul/YulOptimizerTest.h
+++ b/test/libyul/YulOptimizerTest.h
@@ -33,7 +33,7 @@ struct AsmAnalysisInfo;
struct Block;
}
}
-namespace julia
+namespace yul
{
namespace test
{
diff --git a/test/tools/isoltest.cpp b/test/tools/isoltest.cpp
index a8e2b09e..bdc89fb3 100644
--- a/test/tools/isoltest.cpp
+++ b/test/tools/isoltest.cpp
@@ -388,7 +388,7 @@ Allowed options)",
"Yul Optimizer",
testPath / "libyul",
"yulOptimizerTests",
- julia::test::YulOptimizerTest::create,
+ yul::test::YulOptimizerTest::create,
formatted
))
global_stats += *stats;