Lines Matching refs:assertThrows
48 assertThrows("String.prototype.startsWith.call(null, 'test')", TypeError);
49 assertThrows("String.prototype.startsWith.call(null, null)", TypeError);
50 assertThrows("String.prototype.startsWith.call(undefined, undefined)", TypeError);
52 assertThrows("String.prototype.startsWith.apply(null, ['test'])", TypeError);
53 assertThrows("String.prototype.startsWith.apply(null, [null])", TypeError);
54 assertThrows("String.prototype.startsWith.apply(undefined, [undefined])", TypeError);
294 assertThrows(function() { "[a-z]+(bar)?".startsWith(/[a-z]+/); }, TypeError);
296 assertThrows(function() { "[a-z]+(bar)?".startsWith(/(bar)?/); }, TypeError);
297 assertThrows(function() { "[a-z]+/(bar)?/".startsWith(/(bar)?/); }, TypeError);
313 assertThrows(function() {
316 assertThrows(function() {
319 assertThrows(function() {
322 assertThrows(function() {
325 assertThrows(function() {
328 assertThrows(function() {
345 assertThrows(function() {
350 assertThrows(function() {
356 assertThrows(function() {
359 assertThrows(function() {
362 assertThrows(function() {
365 assertThrows(function() {
368 assertThrows(function() {
371 assertThrows(function() {
394 assertThrows(function() {
399 assertThrows(function() {