mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2025-02-20 04:16:16 +00:00
tests: implement graphview unit test
This commit is contained in:
parent
620f6bf699
commit
2ddd49fa0d
2 changed files with 6 additions and 0 deletions
|
@ -496,6 +496,11 @@ impl GraphView {
|
|||
private.id.set(id)
|
||||
}
|
||||
|
||||
pub fn id(&self) -> u32 {
|
||||
let private = imp::GraphView::from_instance(self);
|
||||
private.id.get()
|
||||
}
|
||||
|
||||
/// Add node to the graphview without port
|
||||
///
|
||||
pub fn add_node(&self, node: Node) {
|
||||
|
|
|
@ -4,6 +4,7 @@ mod node;
|
|||
mod port;
|
||||
mod property;
|
||||
mod selection;
|
||||
mod tests;
|
||||
|
||||
pub use graphview::GraphView;
|
||||
pub use link::Link;
|
||||
|
|
Loading…
Reference in a new issue