Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/implementation/v00/configuration_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,7 @@ def __init__(
)

self.m_Include = include
return

# Object interface ---------------------------------------------------
def get_Parent(self) -> PostgresConfigurationInclude_Base:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def test_001(
assert option.get_Parent().m_FileLineData is fileLine.m_FileLineData
assert option.get_Name() == "port"
assert option.get_Value() == 123
return

# --------------------------------------------------------------------
def test_002__shared_preload_libraries(
Expand Down Expand Up @@ -123,6 +124,7 @@ def test_002__shared_preload_libraries(
assert option.get_Parent().m_FileLineData is fileLine.m_FileLineData
assert option.get_Name() == C_OPT_NAME
assert option.get_Value() == optValue_get
return

# --------------------------------------------------------------------
def test_003__shared_preload_libraries__as_str(
Expand Down Expand Up @@ -168,6 +170,7 @@ def test_003__shared_preload_libraries__as_str(
assert option.get_Parent().m_FileLineData is fileLine.m_FileLineData
assert option.get_Name() == C_OPT_NAME
assert option.get_Value() == optValue_get
return

# --------------------------------------------------------------------
def test_004__shared_preload_libraries__with_None_item(
Expand Down Expand Up @@ -243,6 +246,7 @@ def test_E01__after_option(
assert option.get_Parent().m_FileLineData is fileLine.m_FileLineData
assert option.get_Name() == "port"
assert option.get_Value() == 123
return

# --------------------------------------------------------------------
def test_E02__after_include(
Expand Down Expand Up @@ -271,6 +275,7 @@ def test_E02__after_include(
assert len(fileLine) == 1

assert fileLine.m_FileLineData.m_Items[0].m_Element is include.m_IncludeData
return

# --------------------------------------------------------------------
def test_E03__after_comment(
Expand Down Expand Up @@ -299,6 +304,7 @@ def test_E03__after_comment(
assert len(fileLine) == 1

assert fileLine.m_FileLineData.m_Items[0].m_Element is comment.m_CommentData
return

# --------------------------------------------------------------------
def test_E04__conflict_with_this_file(
Expand Down Expand Up @@ -345,6 +351,7 @@ def test_E04__conflict_with_this_file(
assert option.get_Parent().m_FileLineData is fileLine.m_FileLineData
assert option.get_Name() == "port"
assert option.get_Value() == 123
return

# --------------------------------------------------------------------
def test_E05__conflict_with_another_file(
Expand Down Expand Up @@ -391,6 +398,7 @@ def test_E05__conflict_with_another_file(
assert option.get_Parent().m_FileLineData is fileLine.m_FileLineData
assert option.get_Name() == "port"
assert option.get_Value() == 123
return


# //////////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def test_001__line_with_option(
assert set_r.m_OptData is not None
assert type(set_r.m_OptData) is PgCfgModel__OptionData
assert set_r.m_OptData.m_Parent is None
return

# --------------------------------------------------------------------
def test_002__line_with_comment(
Expand Down Expand Up @@ -166,6 +167,7 @@ def test_002__line_with_comment(
assert type(comment1.m_CommentData) is PgCfgModel__CommentData

assert comment1.m_CommentData.m_Parent is None
return


# //////////////////////////////////////////////////////////////////////////////
Loading