Skip to content

Commit

Permalink
Initial WorkspaceTabView unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aarranz committed Oct 31, 2018
1 parent 1f9a955 commit 3ce87ce
Show file tree
Hide file tree
Showing 5 changed files with 531 additions and 60 deletions.
1 change: 1 addition & 0 deletions src/GruntFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ var WirecloudFiles = [
'wirecloud/platform/static/js/wirecloud/ui/WiringEditor/Endpoint.js',
'wirecloud/platform/static/js/wirecloud/ui/WiringEditor/KeywordSuggestion.js',
'wirecloud/platform/static/js/wirecloud/ui/WorkspaceView.js',
'wirecloud/platform/static/js/wirecloud/ui/WorkspaceTabView.js',
'wirecloud/platform/static/js/wirecloud/ui/SharingWindowMenu.js',
'wirecloud/platform/static/js/wirecloud/wiring/Endpoint.js',
'wirecloud/platform/static/js/wirecloud/wiring/EndpointTypeError.js',
Expand Down
1 change: 1 addition & 0 deletions src/js_tests/wirecloud/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const Wirecloud = {
'wirecloud/component_sidebar': '<s:styledgui xmlns:s="http://wirecloud.conwet.fi.upm.es/StyledElements" xmlns:t="http://wirecloud.conwet.fi.upm.es/Template" xmlns="http://www.w3.org/1999/xhtml"> <s:verticallayout><s:northcontainer><t:searchinput/><t:typebuttons/></s:northcontainer><s:centercontainer><t:list/></s:centercontainer></s:verticallayout></s:styledgui>',
'wirecloud/wiring/behaviour_sidebar': '<s:styledgui xmlns:s="http://wirecloud.conwet.fi.upm.es/StyledElements" xmlns:t="http://wirecloud.conwet.fi.upm.es/Template" xmlns="http://www.w3.org/1999/xhtml"> <div class="we-panel-behaviours"><t:enablebutton/><t:createbutton/><t:orderbutton/><t:behaviourlist class="panel-body se-vl-center-container"/></div></s:styledgui>',
'wirecloud/wiring/footer': '<s:styledgui xmlns:s="http://wirecloud.conwet.fi.upm.es/StyledElements" xmlns:t="http://wirecloud.conwet.fi.upm.es/Template" xmlns="http://www.w3.org/1999/xhtml"> <t:title/> <t:connections/> <t:operators/> <t:widgets/></s:styledgui>',
'wirecloud/workspace/empty_tab_message': '<s:styledgui xmlns:s="http://wirecloud.conwet.fi.upm.es/StyledElements" xmlns:t="http://wirecloud.conwet.fi.upm.es/Template" xmlns="http://www.w3.org/1999/xhtml"> <div class="wc-initial-message"><t:button/><t:tutorials/></div> </s:styledgui>',
'wirecloud/workspace/sharing_user': '<s:styledgui xmlns:s="http://wirecloud.conwet.fi.upm.es/StyledElements" xmlns:t="http://wirecloud.conwet.fi.upm.es/Template" xmlns="http://www.w3.org/1999/xhtml"> <div><t:icon/><t:fullname/><t:username/><t:permission/><t:btndelete/></div></s:styledgui>',
'wirecloud/workspace/visibility_option': '<s:styledgui xmlns:s="http://wirecloud.conwet.fi.upm.es/StyledElements" xmlns:t="http://wirecloud.conwet.fi.upm.es/Template" xmlns="http://www.w3.org/1999/xhtml"> <div><t:radiobutton/><t:image/><t:title/><t:description/></div> </s:styledgui>'
}
Expand Down
Loading

0 comments on commit 3ce87ce

Please sign in to comment.