[yul-phaser] Rename Common to Helpers in tests (update references)

This commit is contained in:
Kamil Śliwak 2020-03-02 09:40:58 +01:00
parent d01dab7b7c
commit 099299c5e7
12 changed files with 15 additions and 15 deletions

View File

@ -139,9 +139,9 @@ set(libyul_sources
detect_stray_source_files("${libyul_sources}" "libyul/") detect_stray_source_files("${libyul_sources}" "libyul/")
set(yul_phaser_sources set(yul_phaser_sources
yulPhaser/Common.h yulPhaser/TestHelpers.h
yulPhaser/Common.cpp yulPhaser/TestHelpers.cpp
yulPhaser/CommonTest.cpp yulPhaser/TestHelpersTest.cpp
yulPhaser/Chromosome.cpp yulPhaser/Chromosome.cpp
yulPhaser/FitnessMetrics.cpp yulPhaser/FitnessMetrics.cpp
yulPhaser/AlgorithmRunner.cpp yulPhaser/AlgorithmRunner.cpp

View File

@ -15,7 +15,7 @@
along with solidity. If not, see <http://www.gnu.org/licenses/>. along with solidity. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <test/yulPhaser/Common.h> #include <test/yulPhaser/TestHelpers.h>
#include <tools/yulPhaser/AlgorithmRunner.h> #include <tools/yulPhaser/AlgorithmRunner.h>

View File

@ -15,7 +15,7 @@
along with solidity. If not, see <http://www.gnu.org/licenses/>. along with solidity. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <test/yulPhaser/Common.h> #include <test/yulPhaser/TestHelpers.h>
#include <tools/yulPhaser/Chromosome.h> #include <tools/yulPhaser/Chromosome.h>
#include <tools/yulPhaser/SimulationRNG.h> #include <tools/yulPhaser/SimulationRNG.h>

View File

@ -15,7 +15,7 @@
along with solidity. If not, see <http://www.gnu.org/licenses/>. along with solidity. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <test/yulPhaser/Common.h> #include <test/yulPhaser/TestHelpers.h>
#include <tools/yulPhaser/FitnessMetrics.h> #include <tools/yulPhaser/FitnessMetrics.h>
#include <tools/yulPhaser/GeneticAlgorithms.h> #include <tools/yulPhaser/GeneticAlgorithms.h>

View File

@ -15,7 +15,7 @@
along with solidity. If not, see <http://www.gnu.org/licenses/>. along with solidity. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <test/yulPhaser/Common.h> #include <test/yulPhaser/TestHelpers.h>
#include <tools/yulPhaser/Mutations.h> #include <tools/yulPhaser/Mutations.h>

View File

@ -15,7 +15,7 @@
along with solidity. If not, see <http://www.gnu.org/licenses/>. along with solidity. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <test/yulPhaser/Common.h> #include <test/yulPhaser/TestHelpers.h>
#include <tools/yulPhaser/PairSelections.h> #include <tools/yulPhaser/PairSelections.h>
#include <tools/yulPhaser/SimulationRNG.h> #include <tools/yulPhaser/SimulationRNG.h>

View File

@ -15,7 +15,7 @@
along with solidity. If not, see <http://www.gnu.org/licenses/>. along with solidity. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <test/yulPhaser/Common.h> #include <test/yulPhaser/TestHelpers.h>
#include <tools/yulPhaser/Chromosome.h> #include <tools/yulPhaser/Chromosome.h>
#include <tools/yulPhaser/PairSelections.h> #include <tools/yulPhaser/PairSelections.h>

View File

@ -15,7 +15,7 @@
along with solidity. If not, see <http://www.gnu.org/licenses/>. along with solidity. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <test/yulPhaser/Common.h> #include <test/yulPhaser/TestHelpers.h>
#include <tools/yulPhaser/Exceptions.h> #include <tools/yulPhaser/Exceptions.h>
#include <tools/yulPhaser/Program.h> #include <tools/yulPhaser/Program.h>

View File

@ -15,7 +15,7 @@
along with solidity. If not, see <http://www.gnu.org/licenses/>. along with solidity. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <test/yulPhaser/Common.h> #include <test/yulPhaser/TestHelpers.h>
#include <tools/yulPhaser/Selections.h> #include <tools/yulPhaser/Selections.h>
#include <tools/yulPhaser/SimulationRNG.h> #include <tools/yulPhaser/SimulationRNG.h>

View File

@ -15,7 +15,7 @@
along with solidity. If not, see <http://www.gnu.org/licenses/>. along with solidity. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <test/yulPhaser/Common.h> #include <test/yulPhaser/TestHelpers.h>
#include <tools/yulPhaser/SimulationRNG.h> #include <tools/yulPhaser/SimulationRNG.h>

View File

@ -15,7 +15,7 @@
along with solidity. If not, see <http://www.gnu.org/licenses/>. along with solidity. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <test/yulPhaser/Common.h> #include <test/yulPhaser/TestHelpers.h>
#include <libyul/optimiser/Suite.h> #include <libyul/optimiser/Suite.h>

View File

@ -15,7 +15,7 @@
along with solidity. If not, see <http://www.gnu.org/licenses/>. along with solidity. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <test/yulPhaser/Common.h> #include <test/yulPhaser/TestHelpers.h>
#include <libyul/optimiser/Suite.h> #include <libyul/optimiser/Suite.h>
@ -31,7 +31,7 @@ namespace solidity::phaser::test
{ {
BOOST_AUTO_TEST_SUITE(Phaser) BOOST_AUTO_TEST_SUITE(Phaser)
BOOST_AUTO_TEST_SUITE(CommonTest) BOOST_AUTO_TEST_SUITE(TestHelpersTest)
BOOST_AUTO_TEST_CASE(ChromosomeLengthMetric_evaluate_should_return_chromosome_length) BOOST_AUTO_TEST_CASE(ChromosomeLengthMetric_evaluate_should_return_chromosome_length)
{ {