Skip to content

Instantly share code, notes, and snippets.

@canonic-epicure
Created November 5, 2009 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save canonic-epicure/227345 to your computer and use it in GitHub Desktop.
Save canonic-epicure/227345 to your computer and use it in GitHub Desktop.
Ext.ns('Test.Run.Harness.Browser.UI')
Test.Run.Harness.Browser.UI.Viewport = Ext.extend(Ext.Viewport, {
title : null,
harness : null,
initComponent : function () {
Ext.apply(this, {
...
})
Test.Run.Harness.Browser.UI.Viewport.superclass.initComponent.call(this)
},
addUrlRecord : function (url) {
...
},
testStart : function (test) {
...
},
testUpdate : function (test, result) {
...
},
testEnd : function (test) {
...
},
removeTest : function (test) {
...
}
})
Ext.reg('my-viewport', Test.Run.Harness.Browser.UI.Viewport)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment