Commit fe630ca4 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2835] (minor) Docs, comments

parent 7f62c19c
......@@ -92,6 +92,11 @@ public:
/// \brief Get the segment type
///
/// \note Specific values of the type are only meaningful for the
/// corresponding memory segment implementation and modules that
/// directly manage the segments. Other normal applications should
/// treat them as opaque identifiers.
///
/// \throw isc::InvalidOperation if called and state is SEGMENT_UNUSED.
const std::string& getSegmentType() const {
if (getSegmentState() == SEGMENT_UNUSED) {
......
......@@ -1163,7 +1163,7 @@ TYPED_TEST(ReloadTest, reloadMasterFile) {
RRType::TXT())->code);
}
// Check the status holds data and can change the segment state
// Check the status holds data
TEST(DataSourceStatus, status) {
const DataSourceStatus status("Test", SEGMENT_INUSE, "local");
EXPECT_EQ("Test", status.getName());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment