Lines Matching refs:areSame

61         Assert.areSame('/foo', router.get('root'));
63 Assert.areSame(2, router.get('routes').length);
64 Assert.areSame(2, router._routes.length);
65 Assert.areSame('/', router.get('routes')[0].path);
66 Assert.areSame('/', router._routes[0].path);
67 Assert.areSame('/foo', router.get('routes')[1].path);
68 Assert.areSame('/foo', router._routes[1].path);
85 Assert.areSame(2, router.get('routes').length);
86 Assert.areSame(2, router._routes.length);
87 Assert.areSame('/', router.get('routes')[0].path);
88 Assert.areSame('/', router._routes[0].path);
89 Assert.areSame('/pie', router.get('routes')[1].path);
90 Assert.areSame('/pie', router._routes[1].path);
105 Assert.areSame(Y.Router.html5, router.get('html5'));
110 Assert.areSame('', router.get('root'));
129 Assert.areSame(2, router._routes.length);
130 Assert.areSame(router.get('routes')[0].callback, router._routes[0].callback);
131 Assert.areSame(router.get('routes')[1].callback, router._routes[1].callback);
207 Assert.areSame(0, router._routes.length);
209 Assert.areSame(router, router.route('/foo', 'one'));
210 Assert.areSame(1, router._routes.length);
213 Assert.areSame(2, router._routes.length);
215 Assert.areSame('one', router._routes[0].callback);
216 Assert.areSame(two, router._routes[1].callback);
233 Assert.areSame(2, routes.length);
234 Assert.areSame(one, routes[0].callback);
235 Assert.areSame(two, routes[1].callback);
314 Assert.areSame('/hashpath', req.path);
315 Assert.areSame(Y.config.win.location.pathname, '/hashpath');
327 Assert.areSame('/bar', router.removeRoot('/bar'));
328 Assert.areSame('/bar', router.removeRoot('bar'));
331 Assert.areSame('/bar', router.removeRoot('/foo/bar'));
334 Assert.areSame('/bar', router.removeRoot('/foo/bar'));
337 Assert.areSame('/foo/bar', router.removeRoot('/foo/bar'));
343 Assert.areSame('/foo/bar', router.removeRoot('http://example.com/foo/bar'));
344 Assert.areSame('/foo/bar', router.removeRoot('https://example.com/foo/bar'));
345 Assert.areSame('/foo/bar', router.removeRoot('http://user:pass@example.com/foo/bar'));
346 Assert.areSame('/foo/bar', router.removeRoot('http://example.com:8080/foo/bar'));
347 Assert.areSame('/foo/bar', router.removeRoot('http://user:pass@example.com:8080/foo/bar'));
348 Assert.areSame('/foo/bar', router.removeRoot('file:///foo/bar'));
349 Assert.areSame('/foo/bar', router.removeRoot('/foo/bar'));
352 Assert.areSame('/bar', router.removeRoot('http://example.com/foo/bar'));
353 Assert.areSame('/bar', router.removeRoot('https://example.com/foo/bar'));
354 Assert.areSame('/bar', router.removeRoot('http://user:pass@example.com/foo/bar'));
355 Assert.areSame('/bar', router.removeRoot('http://example.com:8080/foo/bar'));
356 Assert.areSame('/bar', router.removeRoot('http://user:pass@example.com:8080/foo/bar'));
357 Assert.areSame('/bar', router.removeRoot('file:///foo/bar'));
358 Assert.areSame('/bar', router.removeRoot('/foo/bar'));
367 Assert.areSame('/replace', req.path);
387 Assert.areSame('/save', req.path);
443 Assert.areSame(e, 'Security error: The new URL must be of the same origin as the current URL.');
474 Assert.areSame(e, 'Security error: The new URL must be of the same origin as the current URL.');
499 Assert.areSame('/foo/bar', router._joinURL('bar'));
500 Assert.areSame('/foo/bar', router._joinURL('/bar'));
501 Assert.areSame('/foo/bar', router._joinURL('/foo/bar'));
502 Assert.areSame('/foo/foo/bar', router._joinURL('foo/bar'));
505 Assert.areSame('/foo/bar', router._joinURL('bar'));
506 Assert.areSame('/foo/bar', router._joinURL('/bar'));
507 Assert.areSame('/foo/bar', router._joinURL('/foo/bar'));
508 Assert.areSame('/foo/foo/bar', router._joinURL('foo/bar'));
517 Assert.areSame(src, req.src);
544 Assert.areSame(router, this);
551 Assert.areSame(2, calls);
564 Assert.areSame(next, req.next);
567 Assert.areSame('/foo', req.path);
578 Assert.areSame(1, calls);
611 Assert.areSame(3, calls);
636 Assert.areSame(3, calls);
664 Assert.areSame(3, calls);
678 Assert.areSame(2, calls);
702 Assert.areSame(4, calls);
721 Assert.areSame(2, calls);