Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
534bc41f
Commit
534bc41f
authored
Nov 29, 2014
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(tests): Добавил для тестов префикс test_
parent
d372d818
Show whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
24 additions
and
9 deletions
+24
-9
Makefile.am
extensions/tests/Makefile.am
+3
-3
test_calibration.cc
extensions/tests/test_calibration.cc
+0
-0
test_digitalfilter.cc
extensions/tests/test_digitalfilter.cc
+0
-0
test_iobase.cc
extensions/tests/test_iobase.cc
+2
-2
test_ui.cc
extensions/tests/test_ui.cc
+0
-0
test_vtypes.cc
extensions/tests/test_vtypes.cc
+0
-0
Makefile.am
tests/Makefile.am
+19
-4
test_callbacktimer.cc
tests/test_callbacktimer.cc
+0
-0
test_conftest.cc
tests/test_conftest.cc
+0
-0
test_delaytimer.cc
tests/test_delaytimer.cc
+0
-0
test_dlog.cc
tests/test_dlog.cc
+0
-0
test_hourglass.cc
tests/test_hourglass.cc
+0
-0
test_iorfile.cc
tests/test_iorfile.cc
+0
-0
test_messagetype.cc
tests/test_messagetype.cc
+0
-0
test_modbustypes.cc
tests/test_modbustypes.cc
+0
-0
test_passivetimer.cc
tests/test_passivetimer.cc
+0
-0
test_pulse.cc
tests/test_pulse.cc
+0
-0
test_sscanf_hex.cc
tests/test_sscanf_hex.cc
+0
-0
test_trigger.cc
tests/test_trigger.cc
+0
-0
test_triggerAND.cc
tests/test_triggerAND.cc
+0
-0
test_triggerOR.cc
tests/test_triggerOR.cc
+0
-0
test_triggerOUT.cc
tests/test_triggerOUT.cc
+0
-0
test_ui.cc
tests/test_ui.cc
+0
-0
test_unixml.cc
tests/test_unixml.cc
+0
-0
test_utypes.cc
tests/test_utypes.cc
+0
-0
No files found.
extensions/tests/Makefile.am
View file @
534bc41f
...
...
@@ -3,15 +3,15 @@ SUBDIR=SMemoryTest
if
HAVE_TESTS
noinst_PROGRAMS
=
tests tests_with_conf tests_with_sm
tests_SOURCES
=
tests.cc
digitalfilter.cc
vtypes.cc
tests_SOURCES
=
tests.cc
test_digitalfilter.cc test_
vtypes.cc
tests_LDADD
=
$(top_builddir)
/lib/libUniSet2.la
$(top_builddir)
/extensions/lib/libUniSet2Extensions.la
tests_CPPFLAGS
=
-I
$(top_builddir)
/include
-I
$(top_builddir)
/extensions/include
tests_with_conf_SOURCES
=
tests_with_conf.cc
calibration.cc
iobase.cc
tests_with_conf_SOURCES
=
tests_with_conf.cc
test_calibration.cc test_
iobase.cc
tests_with_conf_LDADD
=
$(top_builddir)
/lib/libUniSet2.la
$(top_builddir)
/extensions/lib/libUniSet2Extensions.la
tests_with_conf_CPPFLAGS
=
-I
$(top_builddir)
/include
-I
$(top_builddir)
/extensions/include
tests_with_sm_SOURCES
=
tests_with_sm.cc ui.cc
tests_with_sm_SOURCES
=
tests_with_sm.cc
test_
ui.cc
tests_with_sm_LDADD
=
$(top_builddir)
/lib/libUniSet2.la
$(top_builddir)
/extensions/lib/libUniSet2Extensions.la
\
$(top_builddir)
/extensions/SharedMemory/libUniSet2SharedMemory.la
$(SIGC_LIBS)
$(COMCPP_LIBS)
tests_with_sm_CPPFLAGS
=
-I
$(top_builddir)
/include
-I
$(top_builddir)
/extensions/include
\
...
...
extensions/tests/calibration.cc
→
extensions/tests/
test_
calibration.cc
View file @
534bc41f
File moved
extensions/tests/digitalfilter.cc
→
extensions/tests/
test_
digitalfilter.cc
View file @
534bc41f
File moved
extensions/tests/iobase.cc
→
extensions/tests/
test_
iobase.cc
View file @
534bc41f
...
...
@@ -9,7 +9,7 @@ using namespace std;
using
namespace
UniSetTypes
;
using
namespace
UniSetExtensions
;
TEST_CASE
(
"IOBase"
,
"[
IOBase class test
s]"
)
TEST_CASE
(
"IOBase"
,
"[
iobase][extension
s]"
)
{
CHECK
(
uniset_conf
()
!=
nullptr
);
...
...
@@ -202,7 +202,7 @@ TEST_CASE("IOBase","[IOBase class tests]")
CHECK_FALSE
(
ib
.
check_front
(
false
)
);
}
SECTION
(
"Front 'unkown' (off)"
)
SECTION
(
"Front 'unk
n
own' (off)"
)
{
IOBase
ib
;
CHECK
(
ib
.
check_front
(
true
)
);
...
...
extensions/tests/ui.cc
→
extensions/tests/
test_
ui.cc
View file @
534bc41f
File moved
extensions/tests/vtypes.cc
→
extensions/tests/
test_
vtypes.cc
View file @
534bc41f
File moved
tests/Makefile.am
View file @
534bc41f
...
...
@@ -7,15 +7,30 @@ if HAVE_TESTS
noinst_PROGRAMS
=
tests tests_with_conf
#umutex threadtst dlog
tests_SOURCES
=
tests.cc passivetimer.cc hourglass.cc delaytimer.cc unixml.cc sscanf_hex.cc
\
callbacktimer.cc trigger.cc triggerOR.cc triggerAND.cc triggerOUT.cc pulse.cc
\
modbustypes.cc utypes.cc
tests_LDADD
=
$(top_builddir)
/lib/libUniSet2.la
$(SIGC_LIBS)
$(COMCPP_LIBS)
tests_CPPFLAGS
=
-I
$(top_builddir)
/include
$(SIGC_CFLAGS)
$(COMCPP_CFLAGS)
tests_SOURCES
=
tests.cc
\
test_passivetimer.cc
\
test_hourglass.cc
\
test_delaytimer.cc
\
test_unixml.cc
\
test_sscanf_hex.cc
\
test_callbacktimer.cc
\
test_trigger.cc
\
test_triggerOR.cc
\
test_triggerAND.cc
\
test_triggerOUT.cc
\
test_pulse.cc
\
test_modbustypes.cc
\
test_utypes.cc
tests_with_conf_SOURCES
=
tests_with_conf.cc conftest.cc ui.cc iorfile.cc messagetype.cc
tests_with_conf_LDADD
=
$(top_builddir)
/lib/libUniSet2.la
tests_with_conf_CPPFLAGS
=
-I
$(top_builddir)
/include
tests_with_conf_SOURCES
=
tests_with_conf.cc
\
test_conftest.cc
\
test_ui.cc
\
test_iorfile.cc
\
test_messagetype.cc
# umutex_SOURCES = umutex.cc
# umutex_LDADD = $(top_builddir)/lib/libUniSet2.la $(COMCPP_LIBS)
...
...
tests/callbacktimer.cc
→
tests/
test_
callbacktimer.cc
View file @
534bc41f
File moved
tests/conftest.cc
→
tests/
test_
conftest.cc
View file @
534bc41f
File moved
tests/delaytimer.cc
→
tests/
test_
delaytimer.cc
View file @
534bc41f
File moved
tests/dlog.cc
→
tests/
test_
dlog.cc
View file @
534bc41f
File moved
tests/hourglass.cc
→
tests/
test_
hourglass.cc
View file @
534bc41f
File moved
tests/iorfile.cc
→
tests/
test_
iorfile.cc
View file @
534bc41f
File moved
tests/messagetype.cc
→
tests/
test_
messagetype.cc
View file @
534bc41f
File moved
tests/modbustypes.cc
→
tests/
test_
modbustypes.cc
View file @
534bc41f
File moved
tests/passivetimer.cc
→
tests/
test_
passivetimer.cc
View file @
534bc41f
File moved
tests/pulse.cc
→
tests/
test_
pulse.cc
View file @
534bc41f
File moved
tests/sscanf_hex.cc
→
tests/
test_
sscanf_hex.cc
View file @
534bc41f
File moved
tests/trigger.cc
→
tests/t
est_t
rigger.cc
View file @
534bc41f
File moved
tests/triggerAND.cc
→
tests/t
est_t
riggerAND.cc
View file @
534bc41f
File moved
tests/triggerOR.cc
→
tests/t
est_t
riggerOR.cc
View file @
534bc41f
File moved
tests/triggerOUT.cc
→
tests/t
est_t
riggerOUT.cc
View file @
534bc41f
File moved
tests/ui.cc
→
tests/
test_
ui.cc
View file @
534bc41f
File moved
tests/unixml.cc
→
tests/
test_
unixml.cc
View file @
534bc41f
File moved
tests/utypes.cc
→
tests/
test_
utypes.cc
View file @
534bc41f
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment