Sha256: c6d87f243aed18c9098e4df7a56590b2ce4bc98a49603fb07a4704d650bf2f73
Contents?: true
Size: 1.1 KB
Versions: 9
Compression:
Stored size: 1.1 KB
Contents
// ========================================================================== // Project: TestRunner.Test // Copyright: ©2009 My Company, Inc. // ========================================================================== /*globals TestRunner */ /** @class (Document your Model here) @extends SC.Record @version 0.1 */ TestRunner.Test = SC.Record.extend( /** @scope TestRunner.Test.prototype */ { primaryKey: "url", /** The filename for this test. */ filename: SC.Record.attr(String), /** The test URL. */ url: SC.Record.attr(String), /** Display name to show in the tests UI. This is computed by removing some generic cruft from the filename. */ displayName: function() { return (this.get('filename') || '').replace(/^tests\//,''); }.property('filename').cacheable(), /** Test icon. To be replaced eventually with actual pass|fail icons */ icon: 'sc-icon-document-16', /** Shows the "branch" at the right of the list. Eventually this will be computed based on whether the test is a summary of other tests or not. */ isRunnable: YES }) ;
Version data entries
9 entries across 9 versions & 1 rubygems