Skip to content

Commit

Permalink
add Translator unit tests
Browse files Browse the repository at this point in the history
issue #33
  • Loading branch information
Valentin Noel committed Oct 22, 2013
1 parent fb389b0 commit e71564d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 13 deletions.
12 changes: 0 additions & 12 deletions libraries/BasicElement/test/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,3 @@ project.UnitTest(
libs.boost_unit_test_framework,
]
)

project.UnitTest(
target = "TestTranslator",
sources = ['translatorTest.cpp'],
# dirs = ['.'],
libraries = [
libs.basicElement,
libs.boost_unit_test_framework,
]
)


23 changes: 23 additions & 0 deletions libraries/ElementChecker/test/SConscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Import( 'project', 'libs' )

# project.UnitTest(
# target = "TestElementChecker",
# sources = ['elementCheckerTest.cpp'],
# # dirs = ['.'],
# libraries = [
# libs.elementChecker,
# libs.boost_unit_test_framework,
# ]
# )

project.UnitTest(
target = "TestTranslator",
sources = ['translatorTest.cpp'],
# dirs = ['.'],
libraries = [
libs.elementChecker,
libs.boost_unit_test_framework,
]
)


Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <BasicElement/SubElements/Number.hpp>
#include <BasicElement/SubElements/Data.hpp>
#include <BasicElement/Translator/Translator.hpp>
#include <ElementChecker/Translator/Translator.hpp>

#include <SpecReader/SpecNode.hpp>

Expand Down

0 comments on commit e71564d

Please sign in to comment.