| Index: Tools/GardeningServer/model/test/ct-failure-tests.html
|
| diff --git a/Tools/GardeningServer/model/test/ct-failure-tests.html b/Tools/GardeningServer/model/test/ct-failure-tests.html
|
| index 7bdffc3486a9de546436a1a41ef3f92d1ee85091..3d6c12e8d9cc16db58b96021db96fedae23bfa0e 100644
|
| --- a/Tools/GardeningServer/model/test/ct-failure-tests.html
|
| +++ b/Tools/GardeningServer/model/test/ct-failure-tests.html
|
| @@ -15,15 +15,18 @@ describe('ct-failure model', function() {
|
| var tests = [
|
| {
|
| failure: new CTFailure('browser_tests', 'FooTest.Bar', {}, 123, 123),
|
| - expectedGroupName: 'FooTest'
|
| + expectedGroupName: 'FooTest',
|
| + expectedFingerprint: 'browser_tests::FooTest.Bar',
|
| },
|
| {
|
| failure: new CTFailure('webkit_tests', 'fast/text/foo.html', {}, 123, 123),
|
| - expectedGroupName: 'fast/text'
|
| + expectedGroupName: 'fast/text',
|
| + expectedFingerprint: 'webkit_tests::fast/text/foo.html',
|
| },
|
| {
|
| failure: new CTFailure('compile', undefined, {}, 123, 123),
|
| - expectedGroupName: undefined
|
| + expectedGroupName: undefined,
|
| + expectedFingerprint: 'compile::undefined',
|
| }
|
| ];
|
| it('group name', function() {
|
| @@ -31,6 +34,11 @@ describe('ct-failure model', function() {
|
| assert.equal(test.failure.reasonGroupName(), test.expectedGroupName);
|
| });
|
| });
|
| + it('has fingerprint', function() {
|
| + tests.forEach(function(test) {
|
| + assert.propertyVal(test.failure, 'fingerprint', test.expectedFingerprint);
|
| + });
|
| + });
|
| });
|
|
|
| })();
|
|
|