Skip to content

Implement methods of interface Node - #32

Merged
hepheir merged 22 commits into
masterfrom
Hepheir/issue16
Jun 6, 2021
Merged

hepheir merged 22 commits into
masterfrom
Hepheir/issue16

Conversation

@hepheir

@hepheir hepheir commented Jun 6, 2021

Copy link
Copy Markdown
Owner

No description provided.

hepheir added 22 commits June 4, 2021 11:16
the `parent_node` cannot be set directly on constructor.

since the parent node should have self in its `child_nodes`.
the binding of parent-child nodes can be done with `insert_before`, `append_child` methods.
A `Document` object; `owner_document` must be given when creating a `Node`.

But if this node is a `Document`, `owner_document` is `None`.
failed test: `test_AppendExistingChild()`
and its accessor methods; `Node._shallow_copy()` and `Node._deep_copy()`
class name: `Test<Type>_<MethodName>`
method name: `test_<StateOrParams>`
@hepheir hepheir self-assigned this Jun 6, 2021
@hepheir hepheir added the enhancement New feature or request label Jun 6, 2021
@hepheir
hepheir marked this pull request as ready for review June 6, 2021 11:47
@hepheir hepheir linked an issue Jun 6, 2021 that may be closed by this pull request
17 tasks done
@hepheir
hepheir merged commit e51b7dc into master Jun 6, 2021
@hepheir
hepheir deleted the Hepheir/issue16 branch June 6, 2021 11:48
@hepheir hepheir added type:others issues not falling in bug, perfromance, support, build and install or feature and removed enhancement New feature or request labels Jun 7, 2021
@hepheir hepheir added type:feature Feature requests and removed type:others issues not falling in bug, perfromance, support, build and install or feature labels Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:feature Feature requests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement interface Node

1 participant