GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
STREAM_EXCEPTION
+
Point of view
All features
ANY
EVENTS_SET
All features
class STREAM_EXCEPTION
Summary
top
Event: some exception occur on the stream
Direct parents
Inherit list:
EVENT_DESCRIPTOR
Overview
top
Creation features
{
STREAM
}
make
(a_stream:
STREAM
)
Features
{
EVENTS_SET
}
expect
(events:
EVENTS_SET
)
occurred
(events:
EVENTS_SET
):
BOOLEAN
{}
stream
:
STREAM
make
(a_stream:
STREAM
)
{
ANY
}
expected
(events:
EVENTS_SET
):
BOOLEAN
True if the event is expected by the
events
set
is_expected
:
BOOLEAN
True if the event is expected by any
EVENTS_SET
{
EVENTS_SET
}
reset
(events:
EVENTS_SET
)
{}
set_expected
(events:
EVENTS_SET
)
set_expected_
(events:
EVENTS_SET
):
BOOLEAN
unset_expected_
(events:
EVENTS_SET
):
BOOLEAN
expected_array
:
FAST_ARRAY
[
EVENTS_SET
]
expect
(events:
EVENTS_SET
)
effective procedure
{
EVENTS_SET
}
top
require
not expected(events)
events /= Void
ensure
expected(events)
occurred
(events:
EVENTS_SET
):
BOOLEAN
effective function
{
EVENTS_SET
}
top
require
expected(events)
events /= Void
stream
:
STREAM
writable attribute
{}
top
make
(a_stream:
STREAM
)
effective procedure
{}
top
require
not
is_expected
a_stream /= Void
a_stream.is_connected
a_stream.has_descriptor
ensure
stream
= a_stream
expected
(events:
EVENTS_SET
):
BOOLEAN
effective function
{
ANY
}
top
True if the event is expected by the
events
set
ensure
Result implies
is_expected
is_expected
:
BOOLEAN
effective function
{
ANY
}
top
True if the event is expected by any
EVENTS_SET
reset
(events:
EVENTS_SET
)
effective procedure
{
EVENTS_SET
}
top
require
expected
(events)
action:
unset_expected_
(events)
ensure
not
expected
(events)
set_expected
(events:
EVENTS_SET
)
effective procedure
{}
top
require
not
expected
(events)
action:
set_expected_
(events)
ensure
expected
(events)
set_expected_
(events:
EVENTS_SET
):
BOOLEAN
effective function
{}
top
require
not
expected
(events)
ensure
expected
(events)
Result
unset_expected_
(events:
EVENTS_SET
):
BOOLEAN
effective function
{}
top
require
expected
(events)
ensure
not
expected
(events)
Result
expected_array
:
FAST_ARRAY
[
EVENTS_SET
]
writable attribute
{}
top