Updated deprecation links

This commit is contained in:
Steve Gravrock
2021-07-20 16:50:31 -07:00
parent 17826cd044
commit c10ab4e704
9 changed files with 26 additions and 25 deletions
+9 -8
View File
@@ -88,7 +88,7 @@ var getJasmineRequireObj = (function(jasmineGlobal) {
'Use the pp method of the matchersUtil passed to the matcher factory ' + 'Use the pp method of the matchersUtil passed to the matcher factory ' +
"or the asymmetric equality tester's `asymmetricMatch` method " + "or the asymmetric equality tester's `asymmetricMatch` method " +
'instead. See ' + 'instead. See ' +
'<https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' '<https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#static-utils> for details.'
); );
return j$.basicPrettyPrinter_; return j$.basicPrettyPrinter_;
} }
@@ -104,7 +104,7 @@ var getJasmineRequireObj = (function(jasmineGlobal) {
'jasmine.matchersUtil is deprecated and will be removed ' + 'jasmine.matchersUtil is deprecated and will be removed ' +
'in a future release. Use the instance passed to the matcher factory or ' + 'in a future release. Use the instance passed to the matcher factory or ' +
"the asymmetric equality tester's `asymmetricMatch` method instead. " + "the asymmetric equality tester's `asymmetricMatch` method instead. " +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#static-utils> for details.'
); );
return staticMatchersUtil; return staticMatchersUtil;
} }
@@ -1336,7 +1336,7 @@ getJasmineRequireObj().Env = function(j$) {
'" ' + '" ' +
'accepts custom equality testers, but this parameter will no longer be ' + 'accepts custom equality testers, but this parameter will no longer be ' +
'passed in a future release. ' + 'passed in a future release. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
); );
} }
@@ -1361,7 +1361,7 @@ getJasmineRequireObj().Env = function(j$) {
'" ' + '" ' +
'accepts custom equality testers, but this parameter will no longer be ' + 'accepts custom equality testers, but this parameter will no longer be ' +
'passed in a future release. ' + 'passed in a future release. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
); );
} }
@@ -1672,6 +1672,7 @@ getJasmineRequireObj().Env = function(j$) {
* @name Env#hideDisabled * @name Env#hideDisabled
* @since 3.2.0 * @since 3.2.0
* @function * @function
* @deprecated Use the `hideDisabled` option with {@link Env#configure}
*/ */
this.hideDisabled = function(value) { this.hideDisabled = function(value) {
this.deprecated( this.deprecated(
@@ -3067,7 +3068,7 @@ getJasmineRequireObj().asymmetricEqualityTesterArgCompatShim = function(j$) {
'The second argument to asymmetricMatch is now a ' + 'The second argument to asymmetricMatch is now a ' +
'MatchersUtil. Using it as an array of custom equality testers is ' + 'MatchersUtil. Using it as an array of custom equality testers is ' +
'deprecated and will stop working in a future release. ' + 'deprecated and will stop working in a future release. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#asymmetricMatch-cet> for details.'
); );
return src[propName]; return src[propName];
} }
@@ -5274,7 +5275,7 @@ getJasmineRequireObj().MatchersUtil = function(j$) {
j$.getEnv().deprecated( j$.getEnv().deprecated(
'Passing custom equality testers ' + 'Passing custom equality testers ' +
'to MatchersUtil#contains is deprecated. ' + 'to MatchersUtil#contains is deprecated. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
); );
} }
@@ -5411,7 +5412,7 @@ getJasmineRequireObj().MatchersUtil = function(j$) {
j$.getEnv().deprecated( j$.getEnv().deprecated(
'Passing custom equality testers ' + 'Passing custom equality testers ' +
'to MatchersUtil#equals is deprecated. ' + 'to MatchersUtil#equals is deprecated. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
); );
} }
@@ -5419,7 +5420,7 @@ getJasmineRequireObj().MatchersUtil = function(j$) {
j$.getEnv().deprecated( j$.getEnv().deprecated(
'Diff builder should be passed ' + 'Diff builder should be passed ' +
'as the third argument to MatchersUtil#equals, not the fourth. ' + 'as the third argument to MatchersUtil#equals, not the fourth. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
); );
} }
@@ -24,7 +24,7 @@ describe('asymmetricEqualityTesterArgCompatShim', function() {
'The second argument to asymmetricMatch is now a MatchersUtil. ' + 'The second argument to asymmetricMatch is now a MatchersUtil. ' +
'Using it as an array of custom equality testers is deprecated and will stop ' + 'Using it as an array of custom equality testers is deprecated and will stop ' +
'working in a future release. ' + 'working in a future release. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.'; 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#asymmetricMatch-cet> for details.';
expect(shim.length).toBe(2); expect(shim.length).toBe(2);
expect(deprecated).toHaveBeenCalledWith(expectedMessage); expect(deprecated).toHaveBeenCalledWith(expectedMessage);
@@ -45,7 +45,7 @@ describe('asymmetricEqualityTesterArgCompatShim', function() {
'The second argument to asymmetricMatch is now a MatchersUtil. ' + 'The second argument to asymmetricMatch is now a MatchersUtil. ' +
'Using it as an array of custom equality testers is deprecated and will stop ' + 'Using it as an array of custom equality testers is deprecated and will stop ' +
'working in a future release. ' + 'working in a future release. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.'; 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#asymmetricMatch-cet> for details.';
expect(shim.filter).toBe(Array.prototype.filter); expect(shim.filter).toBe(Array.prototype.filter);
expect(deprecated).toHaveBeenCalledWith(expectedMessage); expect(deprecated).toHaveBeenCalledWith(expectedMessage);
@@ -222,14 +222,14 @@ describe('Custom Async Matchers (Integration)', function() {
jasmine.stringMatching( jasmine.stringMatching(
'The matcher factory for "toBeFoo" accepts custom equality testers, ' + 'The matcher factory for "toBeFoo" accepts custom equality testers, ' +
'but this parameter will no longer be passed in a future release. ' + 'but this parameter will no longer be passed in a future release. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
) )
); );
expect(env.deprecated).toHaveBeenCalledWith( expect(env.deprecated).toHaveBeenCalledWith(
jasmine.stringMatching( jasmine.stringMatching(
'The matcher factory for "toBeBar" accepts custom equality testers, ' + 'The matcher factory for "toBeBar" accepts custom equality testers, ' +
'but this parameter will no longer be passed in a future release. ' + 'but this parameter will no longer be passed in a future release. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
) )
); );
done(); done();
+2 -2
View File
@@ -370,14 +370,14 @@ describe('Custom Matchers (Integration)', function() {
jasmine.stringMatching( jasmine.stringMatching(
'The matcher factory for "toBeFoo" accepts custom equality testers, ' + 'The matcher factory for "toBeFoo" accepts custom equality testers, ' +
'but this parameter will no longer be passed in a future release. ' + 'but this parameter will no longer be passed in a future release. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
) )
); );
expect(env.deprecated).toHaveBeenCalledWith( expect(env.deprecated).toHaveBeenCalledWith(
jasmine.stringMatching( jasmine.stringMatching(
'The matcher factory for "toBeBar" accepts custom equality testers, ' + 'The matcher factory for "toBeBar" accepts custom equality testers, ' +
'but this parameter will no longer be passed in a future release. ' + 'but this parameter will no longer be passed in a future release. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
) )
); );
done(); done();
+3 -3
View File
@@ -1115,7 +1115,7 @@ describe('matchersUtil', function() {
jasmine.stringMatching( jasmine.stringMatching(
'Passing custom equality testers ' + 'Passing custom equality testers ' +
'to MatchersUtil#equals is deprecated. ' + 'to MatchersUtil#equals is deprecated. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
) )
); );
}); });
@@ -1130,7 +1130,7 @@ describe('matchersUtil', function() {
jasmine.stringMatching( jasmine.stringMatching(
'Diff builder should be passed as the ' + 'Diff builder should be passed as the ' +
'third argument to MatchersUtil#equals, not the fourth. ' + 'third argument to MatchersUtil#equals, not the fourth. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
) )
); );
}); });
@@ -1218,7 +1218,7 @@ describe('matchersUtil', function() {
expect(deprecated).toHaveBeenCalledWith( expect(deprecated).toHaveBeenCalledWith(
jasmine.stringMatching( jasmine.stringMatching(
'Passing custom equality testers to MatchersUtil#contains is deprecated. ' + 'Passing custom equality testers to MatchersUtil#contains is deprecated. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
) )
); );
}); });
+2 -2
View File
@@ -317,7 +317,7 @@ getJasmineRequireObj().Env = function(j$) {
'" ' + '" ' +
'accepts custom equality testers, but this parameter will no longer be ' + 'accepts custom equality testers, but this parameter will no longer be ' +
'passed in a future release. ' + 'passed in a future release. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
); );
} }
@@ -342,7 +342,7 @@ getJasmineRequireObj().Env = function(j$) {
'" ' + '" ' +
'accepts custom equality testers, but this parameter will no longer be ' + 'accepts custom equality testers, but this parameter will no longer be ' +
'passed in a future release. ' + 'passed in a future release. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
); );
} }
@@ -92,7 +92,7 @@ getJasmineRequireObj().asymmetricEqualityTesterArgCompatShim = function(j$) {
'The second argument to asymmetricMatch is now a ' + 'The second argument to asymmetricMatch is now a ' +
'MatchersUtil. Using it as an array of custom equality testers is ' + 'MatchersUtil. Using it as an array of custom equality testers is ' +
'deprecated and will stop working in a future release. ' + 'deprecated and will stop working in a future release. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#asymmetricMatch-cet> for details.'
); );
return src[propName]; return src[propName];
} }
+3 -3
View File
@@ -38,7 +38,7 @@ getJasmineRequireObj().MatchersUtil = function(j$) {
j$.getEnv().deprecated( j$.getEnv().deprecated(
'Passing custom equality testers ' + 'Passing custom equality testers ' +
'to MatchersUtil#contains is deprecated. ' + 'to MatchersUtil#contains is deprecated. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
); );
} }
@@ -175,7 +175,7 @@ getJasmineRequireObj().MatchersUtil = function(j$) {
j$.getEnv().deprecated( j$.getEnv().deprecated(
'Passing custom equality testers ' + 'Passing custom equality testers ' +
'to MatchersUtil#equals is deprecated. ' + 'to MatchersUtil#equals is deprecated. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
); );
} }
@@ -183,7 +183,7 @@ getJasmineRequireObj().MatchersUtil = function(j$) {
j$.getEnv().deprecated( j$.getEnv().deprecated(
'Diff builder should be passed ' + 'Diff builder should be passed ' +
'as the third argument to MatchersUtil#equals, not the fourth. ' + 'as the third argument to MatchersUtil#equals, not the fourth. ' +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#matchers-cet> for details.'
); );
} }
+2 -2
View File
@@ -66,7 +66,7 @@ var getJasmineRequireObj = (function(jasmineGlobal) {
'Use the pp method of the matchersUtil passed to the matcher factory ' + 'Use the pp method of the matchersUtil passed to the matcher factory ' +
"or the asymmetric equality tester's `asymmetricMatch` method " + "or the asymmetric equality tester's `asymmetricMatch` method " +
'instead. See ' + 'instead. See ' +
'<https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' '<https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#static-utils> for details.'
); );
return j$.basicPrettyPrinter_; return j$.basicPrettyPrinter_;
} }
@@ -82,7 +82,7 @@ var getJasmineRequireObj = (function(jasmineGlobal) {
'jasmine.matchersUtil is deprecated and will be removed ' + 'jasmine.matchersUtil is deprecated and will be removed ' +
'in a future release. Use the instance passed to the matcher factory or ' + 'in a future release. Use the instance passed to the matcher factory or ' +
"the asymmetric equality tester's `asymmetricMatch` method instead. " + "the asymmetric equality tester's `asymmetricMatch` method instead. " +
'See <https://jasmine.github.io/tutorials/upgrading_to_4.0> for details.' 'See <https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#static-utils> for details.'
); );
return staticMatchersUtil; return staticMatchersUtil;
} }