Belle II Software
release-06-02-00
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
z
Typedefs
a
b
c
d
e
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
test_collector.py
1
8
9
import
basf2
10
from
zmq_daq
import
test_support
11
from
unittest
import
main
12
13
14
class
CollectorTestCase
(test_support.BaseCollectorTestCase):
15
"""Test case"""
16
17
final_collector =
False
18
19
20
class
FinalCollectorTestCase
(test_support.BaseCollectorTestCase):
21
"""Test case"""
22
23
final_collector =
True
24
25
26
if
__name__ ==
'__main__'
:
27
28
number_of_failures = 0
29
30
for
i
in
range(test_support.ZMQ_TEST_FOR_LOOPS):
31
try
:
32
main
(exit=
False
)
33
except
AssertionError:
34
number_of_failures += 1
35
36
37
message = f
'Number of failed for loops: {number_of_failures}/{test_support.ZMQ_TEST_FOR_LOOPS}'
38
if
number_of_failures <= test_support.ZMQ_TEST_MAX_FAILURES:
39
basf2.B2INFO(message)
40
else
:
41
basf2.B2FATAL(message)
test_collector.CollectorTestCase
Definition:
test_collector.py:14
test_collector.FinalCollectorTestCase
Definition:
test_collector.py:20
main
int main(int argc, char **argv)
Run all tests.
Definition:
test_main.cc:75
daq
hbasf2
tests
test_collector.py
Generated on Thu Dec 28 2023 02:21:47 for Belle II Software by
1.9.1