Implement new Brickschema project browser.

This commit is contained in:
Dion Moult
2021-11-04 18:02:50 +11:00
parent f49b9f6781
commit 7fbe365599
16 changed files with 1319 additions and 0 deletions
@@ -0,0 +1,32 @@
@brick
Feature: Brick
Scenario: Load Brick project
Given an empty Blender session
When I press "bim.load_brick_project(filepath='{cwd}/test/files/building.ttl')"
Then nothing happens
Scenario: View Brick class
Given an empty Blender session
And I press "bim.load_brick_project(filepath='{cwd}/test/files/building.ttl')"
When I press "bim.view_brick_class(brick_class='Equipment')"
Then nothing happens
Scenario: View Brick item
Given an empty Blender session
And I press "bim.load_brick_project(filepath='{cwd}/test/files/building.ttl')"
When I press "bim.view_brick_item(item='https://brickschema.org/schema/Brick#Chiller')"
Then nothing happens
Scenario: Rewind brick class
Given an empty Blender session
And I press "bim.load_brick_project(filepath='{cwd}/test/files/building.ttl')"
And I press "bim.view_brick_class(brick_class='Equipment')"
When I press "bim.rewind_brick_class()"
Then nothing happens
Scenario: Close Brick project
Given an empty Blender session
And I press "bim.load_brick_project(filepath='{cwd}/test/files/building.ttl')"
When I press "bim.close_brick_project"
Then nothing happens