GUI -- Implemented createToolbar in ToolbarService.
- Will log warnings if no toolbar id is given, there are no tools, and if the tool's ids are duplicated
- creates toolbar div and calls add button functions based on tool input
- Created skeleton dispatchers to ButtonService
- Wrote unit tests for current ToolbarService
Change-Id: I3d05158c5ce132cb94d465674949ade81ed12664
diff --git a/web/gui/src/main/webapp/tests/app/fw/layer/panel-spec.js b/web/gui/src/main/webapp/tests/app/fw/layer/panel-spec.js
index 8637258..079b236 100644
--- a/web/gui/src/main/webapp/tests/app/fw/layer/panel-spec.js
+++ b/web/gui/src/main/webapp/tests/app/fw/layer/panel-spec.js
@@ -108,7 +108,7 @@
it('should note when there is no panel to destroy', function () {
spyOn($log, 'debug');
ps.destroyPanel('bar');
- expect($log.debug).toHaveBeenCalledWith('no panel to destroy:', 'bar')
+ expect($log.debug).toHaveBeenCalledWith('no panel to destroy:', 'bar');
});
it('should destroy the panel', function () {
@@ -117,7 +117,7 @@
expect(floatPanelSelection().size()).toBe(1);
ps.destroyPanel('foo');
- expect($log.debug).toHaveBeenCalledWith('destroying panel:', 'foo')
+ expect($log.debug).toHaveBeenCalledWith('destroying panel:', 'foo');
expect(floatPanelSelection().size()).toBe(0);
});