Sha256: 19c1817b7dd989c2b5ebb2590feb181e9a0e182b245304b1e172e5b8e6db6713
Contents?: true
Size: 1.1 KB
Versions: 1
Compression:
Stored size: 1.1 KB
Contents
// ========================================================================== // Project: TestRunner.Test // Copyright: ©2009 Apple 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sproutit-sproutcore-1.0.20090721145285 | frameworks/sproutcore/apps/tests/models/test.js |