OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 15 matching lines...) Expand all Loading... |
26 (function() { | 26 (function() { |
27 | 27 |
28 module('Buildbot'); | 28 module('Buildbot'); |
29 | 29 |
30 test('resultsDirectoryURL is URI-encoded', 1, function() { | 30 test('resultsDirectoryURL is URI-encoded', 1, function() { |
31 var buildbot = new Buildbot('http://build.example.com/'); | 31 var buildbot = new Buildbot('http://build.example.com/'); |
32 equal(buildbot.resultsDirectoryURL('Windows 7 Release (Tests)', 'r10 (5)'),
'http://build.example.com/results/Windows%207%20Release%20(Tests)/r10%20(5)/'); | 32 equal(buildbot.resultsDirectoryURL('Windows 7 Release (Tests)', 'r10 (5)'),
'http://build.example.com/results/Windows%207%20Release%20(Tests)/r10%20(5)/'); |
33 }); | 33 }); |
34 | 34 |
35 })(); | 35 })(); |
OLD | NEW |