How to use each method in sinon

Best JavaScript code snippet using sinon

docs-scenario.js

Source:docs-scenario.js Github

copy

Full Screen

1describe("angular+jqlite", function() {2 describe("api/angular.lowercase", function() {3 beforeEach(function() {4 browser().navigateTo("index-nocache.html#!/api/angular.lowercase");5 });6 7});8 describe("api/angular.uppercase", function() {9 beforeEach(function() {10 browser().navigateTo("index-nocache.html#!/api/angular.uppercase");11 });12 13});14 describe("api/angular.forEach", function() {15 beforeEach(function() {16 browser().navigateTo("index-nocache.html#!/api/angular.forEach");17 });18 19});20 describe("api/angular.extend", function() {21 beforeEach(function() {22 browser().navigateTo("index-nocache.html#!/api/angular.extend");23 });24 25});26 describe("api/angular.noop", function() {27 beforeEach(function() {28 browser().navigateTo("index-nocache.html#!/api/angular.noop");29 });30 31});32 describe("api/angular.identity", function() {33 beforeEach(function() {34 browser().navigateTo("index-nocache.html#!/api/angular.identity");35 });36 37});38 describe("api/angular.isUndefined", function() {39 beforeEach(function() {40 browser().navigateTo("index-nocache.html#!/api/angular.isUndefined");41 });42 43});44 describe("api/angular.isDefined", function() {45 beforeEach(function() {46 browser().navigateTo("index-nocache.html#!/api/angular.isDefined");47 });48 49});50 describe("api/angular.isObject", function() {51 beforeEach(function() {52 browser().navigateTo("index-nocache.html#!/api/angular.isObject");53 });54 55});56 describe("api/angular.isString", function() {57 beforeEach(function() {58 browser().navigateTo("index-nocache.html#!/api/angular.isString");59 });60 61});62 describe("api/angular.isNumber", function() {63 beforeEach(function() {64 browser().navigateTo("index-nocache.html#!/api/angular.isNumber");65 });66 67});68 describe("api/angular.isDate", function() {69 beforeEach(function() {70 browser().navigateTo("index-nocache.html#!/api/angular.isDate");71 });72 73});74 describe("api/angular.isArray", function() {75 beforeEach(function() {76 browser().navigateTo("index-nocache.html#!/api/angular.isArray");77 });78 79});80 describe("api/angular.isFunction", function() {81 beforeEach(function() {82 browser().navigateTo("index-nocache.html#!/api/angular.isFunction");83 });84 85});86 describe("api/angular.isElement", function() {87 beforeEach(function() {88 browser().navigateTo("index-nocache.html#!/api/angular.isElement");89 });90 91});92 describe("api/angular.copy", function() {93 beforeEach(function() {94 browser().navigateTo("index-nocache.html#!/api/angular.copy");95 });96 97});98 describe("api/angular.equals", function() {99 beforeEach(function() {100 browser().navigateTo("index-nocache.html#!/api/angular.equals");101 });102 103});104 describe("api/angular.bind", function() {105 beforeEach(function() {106 browser().navigateTo("index-nocache.html#!/api/angular.bind");107 });108 109});110 describe("api/angular.toJson", function() {111 beforeEach(function() {112 browser().navigateTo("index-nocache.html#!/api/angular.toJson");113 });114 115});116 describe("api/angular.fromJson", function() {117 beforeEach(function() {118 browser().navigateTo("index-nocache.html#!/api/angular.fromJson");119 });120 121});122 describe("api/ng.directive:ngApp", function() {123 beforeEach(function() {124 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngApp");125 });126 127});128 describe("api/angular.bootstrap", function() {129 beforeEach(function() {130 browser().navigateTo("index-nocache.html#!/api/angular.bootstrap");131 });132 133});134 describe("api/angular.version", function() {135 beforeEach(function() {136 browser().navigateTo("index-nocache.html#!/api/angular.version");137 });138 139});140 describe("api/angular.injector", function() {141 beforeEach(function() {142 browser().navigateTo("index-nocache.html#!/api/angular.injector");143 });144 145});146 describe("api/AUTO", function() {147 beforeEach(function() {148 browser().navigateTo("index-nocache.html#!/api/AUTO");149 });150 151});152 describe("api/AUTO.$injector", function() {153 beforeEach(function() {154 browser().navigateTo("index-nocache.html#!/api/AUTO.$injector");155 });156 157});158 describe("api/AUTO.$provide", function() {159 beforeEach(function() {160 browser().navigateTo("index-nocache.html#!/api/AUTO.$provide");161 });162 163});164 describe("api/angular.element", function() {165 beforeEach(function() {166 browser().navigateTo("index-nocache.html#!/api/angular.element");167 });168 169});170 describe("api/angular.Module", function() {171 beforeEach(function() {172 browser().navigateTo("index-nocache.html#!/api/angular.Module");173 });174 175});176 describe("api/angular.module", function() {177 beforeEach(function() {178 browser().navigateTo("index-nocache.html#!/api/angular.module");179 });180 181});182 describe("api/ng.$anchorScroll", function() {183 beforeEach(function() {184 browser().navigateTo("index-nocache.html#!/api/ng.$anchorScroll");185 });186 187});188 describe("api/ng.$animateProvider", function() {189 beforeEach(function() {190 browser().navigateTo("index-nocache.html#!/api/ng.$animateProvider");191 });192 193});194 describe("api/ng.$animate", function() {195 beforeEach(function() {196 browser().navigateTo("index-nocache.html#!/api/ng.$animate");197 });198 199});200 describe("api/ng.$cacheFactory", function() {201 beforeEach(function() {202 browser().navigateTo("index-nocache.html#!/api/ng.$cacheFactory");203 });204 205});206 describe("api/ng.$templateCache", function() {207 beforeEach(function() {208 browser().navigateTo("index-nocache.html#!/api/ng.$templateCache");209 });210 211});212 describe("api/ng.$controllerProvider", function() {213 beforeEach(function() {214 browser().navigateTo("index-nocache.html#!/api/ng.$controllerProvider");215 });216 217});218 describe("api/ng.$controller", function() {219 beforeEach(function() {220 browser().navigateTo("index-nocache.html#!/api/ng.$controller");221 });222 223});224 describe("api/ng.directive:a", function() {225 beforeEach(function() {226 browser().navigateTo("index-nocache.html#!/api/ng.directive:a");227 });228 229});230 describe("api/ng.directive:ngHref", function() {231 beforeEach(function() {232 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngHref");233 });234 235});236 describe("api/ng.directive:ngSrc", function() {237 beforeEach(function() {238 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngSrc");239 });240 241});242 describe("api/ng.directive:ngSrcset", function() {243 beforeEach(function() {244 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngSrcset");245 });246 247});248 describe("api/ng.directive:ngDisabled", function() {249 beforeEach(function() {250 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngDisabled");251 });252 253});254 describe("api/ng.directive:ngChecked", function() {255 beforeEach(function() {256 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngChecked");257 });258 259});260 describe("api/ng.directive:ngReadonly", function() {261 beforeEach(function() {262 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngReadonly");263 });264 265});266 describe("api/ng.directive:ngSelected", function() {267 beforeEach(function() {268 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngSelected");269 });270 271});272 describe("api/ng.directive:ngOpen", function() {273 beforeEach(function() {274 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngOpen");275 });276 277});278 describe("api/ng.directive:form.FormController", function() {279 beforeEach(function() {280 browser().navigateTo("index-nocache.html#!/api/ng.directive:form.FormController");281 });282 283});284 describe("api/ng.directive:ngForm", function() {285 beforeEach(function() {286 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngForm");287 });288 289});290 describe("api/ng.directive:form", function() {291 beforeEach(function() {292 browser().navigateTo("index-nocache.html#!/api/ng.directive:form");293 });294 295});296 describe("api/ng.directive:ngBind", function() {297 beforeEach(function() {298 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngBind");299 });300 301});302 describe("api/ng.directive:ngBindTemplate", function() {303 beforeEach(function() {304 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngBindTemplate");305 });306 307});308 describe("api/ng.directive:ngBindHtml", function() {309 beforeEach(function() {310 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngBindHtml");311 });312 313});314 describe("api/ng.directive:ngClass", function() {315 beforeEach(function() {316 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngClass");317 });318 319});320 describe("api/ng.directive:ngClassOdd", function() {321 beforeEach(function() {322 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngClassOdd");323 });324 325});326 describe("api/ng.directive:ngClassEven", function() {327 beforeEach(function() {328 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngClassEven");329 });330 331});332 describe("api/ng.directive:input.text", function() {333 beforeEach(function() {334 browser().navigateTo("index-nocache.html#!/api/ng.directive:input.text");335 });336 337});338 describe("api/ng.directive:input.number", function() {339 beforeEach(function() {340 browser().navigateTo("index-nocache.html#!/api/ng.directive:input.number");341 });342 343});344 describe("api/ng.directive:input.url", function() {345 beforeEach(function() {346 browser().navigateTo("index-nocache.html#!/api/ng.directive:input.url");347 });348 349});350 describe("api/ng.directive:input.email", function() {351 beforeEach(function() {352 browser().navigateTo("index-nocache.html#!/api/ng.directive:input.email");353 });354 355});356 describe("api/ng.directive:input.radio", function() {357 beforeEach(function() {358 browser().navigateTo("index-nocache.html#!/api/ng.directive:input.radio");359 });360 361});362 describe("api/ng.directive:input.checkbox", function() {363 beforeEach(function() {364 browser().navigateTo("index-nocache.html#!/api/ng.directive:input.checkbox");365 });366 367});368 describe("api/ng.directive:textarea", function() {369 beforeEach(function() {370 browser().navigateTo("index-nocache.html#!/api/ng.directive:textarea");371 });372 373});374 describe("api/ng.directive:input", function() {375 beforeEach(function() {376 browser().navigateTo("index-nocache.html#!/api/ng.directive:input");377 });378 379});380 describe("api/ng.directive:ngModel.NgModelController", function() {381 beforeEach(function() {382 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngModel.NgModelController");383 });384 385});386 describe("api/ng.directive:ngModel", function() {387 beforeEach(function() {388 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngModel");389 });390 391});392 describe("api/ng.directive:ngChange", function() {393 beforeEach(function() {394 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngChange");395 });396 397});398 describe("api/ng.directive:ngList", function() {399 beforeEach(function() {400 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngList");401 });402 403});404 describe("api/ng.directive:ngValue", function() {405 beforeEach(function() {406 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngValue");407 });408 409});410 describe("api/ng.directive:ngCloak", function() {411 beforeEach(function() {412 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngCloak");413 });414 415});416 describe("api/ng.directive:ngCsp", function() {417 beforeEach(function() {418 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngCsp");419 });420 421});422 describe("api/ng.directive:ngController", function() {423 beforeEach(function() {424 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngController");425 });426 427});428 describe("api/ng.directive:ngClick", function() {429 beforeEach(function() {430 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngClick");431 });432 433});434 describe("api/ng.directive:ngDblclick", function() {435 beforeEach(function() {436 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngDblclick");437 });438 439});440 describe("api/ng.directive:ngMousedown", function() {441 beforeEach(function() {442 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngMousedown");443 });444 445});446 describe("api/ng.directive:ngMouseup", function() {447 beforeEach(function() {448 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngMouseup");449 });450 451});452 describe("api/ng.directive:ngMouseover", function() {453 beforeEach(function() {454 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngMouseover");455 });456 457});458 describe("api/ng.directive:ngMouseenter", function() {459 beforeEach(function() {460 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngMouseenter");461 });462 463});464 describe("api/ng.directive:ngMouseleave", function() {465 beforeEach(function() {466 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngMouseleave");467 });468 469});470 describe("api/ng.directive:ngMousemove", function() {471 beforeEach(function() {472 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngMousemove");473 });474 475});476 describe("api/ng.directive:ngKeydown", function() {477 beforeEach(function() {478 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngKeydown");479 });480 481});482 describe("api/ng.directive:ngKeyup", function() {483 beforeEach(function() {484 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngKeyup");485 });486 487});488 describe("api/ng.directive:ngKeypress", function() {489 beforeEach(function() {490 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngKeypress");491 });492 493});494 describe("api/ng.directive:ngSubmit", function() {495 beforeEach(function() {496 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngSubmit");497 });498 499});500 describe("api/ng.directive:ngFocus", function() {501 beforeEach(function() {502 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngFocus");503 });504 505});506 describe("api/ng.directive:ngBlur", function() {507 beforeEach(function() {508 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngBlur");509 });510 511});512 describe("api/ng.directive:ngCopy", function() {513 beforeEach(function() {514 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngCopy");515 });516 517});518 describe("api/ng.directive:ngCut", function() {519 beforeEach(function() {520 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngCut");521 });522 523});524 describe("api/ng.directive:ngPaste", function() {525 beforeEach(function() {526 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngPaste");527 });528 529});530 describe("api/ng.directive:ngIf", function() {531 beforeEach(function() {532 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngIf");533 });534 535});536 describe("api/ng.directive:ngInclude", function() {537 beforeEach(function() {538 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngInclude");539 });540 541});542 describe("api/ng.directive:ngInit", function() {543 beforeEach(function() {544 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngInit");545 });546 547});548 describe("api/ng.directive:ngNonBindable", function() {549 beforeEach(function() {550 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngNonBindable");551 });552 553});554 describe("api/ng.directive:ngPluralize", function() {555 beforeEach(function() {556 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngPluralize");557 });558 559});560 describe("api/ng.directive:ngRepeat", function() {561 beforeEach(function() {562 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngRepeat");563 });564 565});566 describe("api/ng.directive:ngShow", function() {567 beforeEach(function() {568 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngShow");569 });570 571});572 describe("api/ng.directive:ngHide", function() {573 beforeEach(function() {574 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngHide");575 });576 577});578 describe("api/ng.directive:ngStyle", function() {579 beforeEach(function() {580 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngStyle");581 });582 583});584 describe("api/ng.directive:ngSwitch", function() {585 beforeEach(function() {586 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngSwitch");587 });588 589});590 describe("api/ng.directive:ngTransclude", function() {591 beforeEach(function() {592 browser().navigateTo("index-nocache.html#!/api/ng.directive:ngTransclude");593 });594 595});596 describe("api/ng.directive:script", function() {597 beforeEach(function() {598 browser().navigateTo("index-nocache.html#!/api/ng.directive:script");599 });600 601});602 describe("api/ng.directive:select", function() {603 beforeEach(function() {604 browser().navigateTo("index-nocache.html#!/api/ng.directive:select");605 });606 607});608 describe("api/ng.$document", function() {609 beforeEach(function() {610 browser().navigateTo("index-nocache.html#!/api/ng.$document");611 });612 613});614 describe("api/ng.$exceptionHandler", function() {615 beforeEach(function() {616 browser().navigateTo("index-nocache.html#!/api/ng.$exceptionHandler");617 });618 619});620 describe("api/ng.filter:filter", function() {621 beforeEach(function() {622 browser().navigateTo("index-nocache.html#!/api/ng.filter:filter");623 });624 625});626 describe("api/ng.filter:currency", function() {627 beforeEach(function() {628 browser().navigateTo("index-nocache.html#!/api/ng.filter:currency");629 });630 631});632 describe("api/ng.filter:number", function() {633 beforeEach(function() {634 browser().navigateTo("index-nocache.html#!/api/ng.filter:number");635 });636 637});638 describe("api/ng.filter:date", function() {639 beforeEach(function() {640 browser().navigateTo("index-nocache.html#!/api/ng.filter:date");641 });642 643});644 describe("api/ng.filter:json", function() {645 beforeEach(function() {646 browser().navigateTo("index-nocache.html#!/api/ng.filter:json");647 });648 649});650 describe("api/ng.filter:lowercase", function() {651 beforeEach(function() {652 browser().navigateTo("index-nocache.html#!/api/ng.filter:lowercase");653 });654 655});656 describe("api/ng.filter:uppercase", function() {657 beforeEach(function() {658 browser().navigateTo("index-nocache.html#!/api/ng.filter:uppercase");659 });660 661});662 describe("api/ng.filter:limitTo", function() {663 beforeEach(function() {664 browser().navigateTo("index-nocache.html#!/api/ng.filter:limitTo");665 });666 667});668 describe("api/ng.filter:orderBy", function() {669 beforeEach(function() {670 browser().navigateTo("index-nocache.html#!/api/ng.filter:orderBy");671 });672 673});674 describe("api/ng.$filterProvider", function() {675 beforeEach(function() {676 browser().navigateTo("index-nocache.html#!/api/ng.$filterProvider");677 });678 679});680 describe("api/ng.$filter", function() {681 beforeEach(function() {682 browser().navigateTo("index-nocache.html#!/api/ng.$filter");683 });684 685});686 describe("api/ng.$http", function() {687 beforeEach(function() {688 browser().navigateTo("index-nocache.html#!/api/ng.$http");689 });690 691});692 describe("api/ng.$httpBackend", function() {693 beforeEach(function() {694 browser().navigateTo("index-nocache.html#!/api/ng.$httpBackend");695 });696 697});698 describe("api/ng.$interpolateProvider", function() {699 beforeEach(function() {700 browser().navigateTo("index-nocache.html#!/api/ng.$interpolateProvider");701 });702 703});704 describe("api/ng.$interpolate", function() {705 beforeEach(function() {706 browser().navigateTo("index-nocache.html#!/api/ng.$interpolate");707 });708 709});710 describe("api/ng.$interval", function() {711 beforeEach(function() {712 browser().navigateTo("index-nocache.html#!/api/ng.$interval");713 });714 715});716 describe("api/ng.$locale", function() {717 beforeEach(function() {718 browser().navigateTo("index-nocache.html#!/api/ng.$locale");719 });720 721});722 describe("api/ng.$location", function() {723 beforeEach(function() {724 browser().navigateTo("index-nocache.html#!/api/ng.$location");725 });726 727});728 describe("api/ng.$locationProvider", function() {729 beforeEach(function() {730 browser().navigateTo("index-nocache.html#!/api/ng.$locationProvider");731 });732 733});734 describe("api/ng.$log", function() {735 beforeEach(function() {736 browser().navigateTo("index-nocache.html#!/api/ng.$log");737 });738 739});740 describe("api/ng.$logProvider", function() {741 beforeEach(function() {742 browser().navigateTo("index-nocache.html#!/api/ng.$logProvider");743 });744 745});746 describe("api/ng.$parse", function() {747 beforeEach(function() {748 browser().navigateTo("index-nocache.html#!/api/ng.$parse");749 });750 751});752 describe("api/ng.$parseProvider", function() {753 beforeEach(function() {754 browser().navigateTo("index-nocache.html#!/api/ng.$parseProvider");755 });756 757});758 describe("api/ng.$q", function() {759 beforeEach(function() {760 browser().navigateTo("index-nocache.html#!/api/ng.$q");761 });762 763});764 describe("api/ng.$rootElement", function() {765 beforeEach(function() {766 browser().navigateTo("index-nocache.html#!/api/ng.$rootElement");767 });768 769});770 describe("api/ng.$rootScopeProvider", function() {771 beforeEach(function() {772 browser().navigateTo("index-nocache.html#!/api/ng.$rootScopeProvider");773 });774 775});776 describe("api/ng.$rootScope", function() {777 beforeEach(function() {778 browser().navigateTo("index-nocache.html#!/api/ng.$rootScope");779 });780 781});782 describe("api/ng.$rootScope.Scope", function() {783 beforeEach(function() {784 browser().navigateTo("index-nocache.html#!/api/ng.$rootScope.Scope");785 });786 787});788 describe("api/ng.$sceDelegate", function() {789 beforeEach(function() {790 browser().navigateTo("index-nocache.html#!/api/ng.$sceDelegate");791 });792 793});794 describe("api/ng.$sceDelegateProvider", function() {795 beforeEach(function() {796 browser().navigateTo("index-nocache.html#!/api/ng.$sceDelegateProvider");797 });798 799});800 describe("api/ng.$sceProvider", function() {801 beforeEach(function() {802 browser().navigateTo("index-nocache.html#!/api/ng.$sceProvider");803 });804 805});806 describe("api/ng.$sce", function() {807 beforeEach(function() {808 browser().navigateTo("index-nocache.html#!/api/ng.$sce");809 });810 811});812 describe("api/ng.$timeout", function() {813 beforeEach(function() {814 browser().navigateTo("index-nocache.html#!/api/ng.$timeout");815 });816 817});818 describe("api/ng.$window", function() {819 beforeEach(function() {820 browser().navigateTo("index-nocache.html#!/api/ng.$window");821 });822 823});824 describe("api/ngCookies", function() {825 beforeEach(function() {826 browser().navigateTo("index-nocache.html#!/api/ngCookies");827 });828 829});830 describe("api/ngCookies.$cookies", function() {831 beforeEach(function() {832 browser().navigateTo("index-nocache.html#!/api/ngCookies.$cookies");833 });834 835});836 describe("api/ngCookies.$cookieStore", function() {837 beforeEach(function() {838 browser().navigateTo("index-nocache.html#!/api/ngCookies.$cookieStore");839 });840 841});842 describe("api/ngResource", function() {843 beforeEach(function() {844 browser().navigateTo("index-nocache.html#!/api/ngResource");845 });846 847});848 describe("api/ngResource.$resource", function() {849 beforeEach(function() {850 browser().navigateTo("index-nocache.html#!/api/ngResource.$resource");851 });852 853});854 describe("api/ngRoute.directive:ngView", function() {855 beforeEach(function() {856 browser().navigateTo("index-nocache.html#!/api/ngRoute.directive:ngView");857 });858 859});860 describe("api/ngRoute", function() {861 beforeEach(function() {862 browser().navigateTo("index-nocache.html#!/api/ngRoute");863 });864 865});866 describe("api/ngRoute.$routeProvider", function() {867 beforeEach(function() {868 browser().navigateTo("index-nocache.html#!/api/ngRoute.$routeProvider");869 });870 871});872 describe("api/ngRoute.$route", function() {873 beforeEach(function() {874 browser().navigateTo("index-nocache.html#!/api/ngRoute.$route");875 });876 877});878 describe("api/ngRoute.$routeParams", function() {879 beforeEach(function() {880 browser().navigateTo("index-nocache.html#!/api/ngRoute.$routeParams");881 });882 883});884 describe("api/ngSanitize.filter:linky", function() {885 beforeEach(function() {886 browser().navigateTo("index-nocache.html#!/api/ngSanitize.filter:linky");887 });888 889});890 describe("api/ngSanitize", function() {891 beforeEach(function() {892 browser().navigateTo("index-nocache.html#!/api/ngSanitize");893 });894 895});896 describe("api/ngSanitize.$sanitize", function() {897 beforeEach(function() {898 browser().navigateTo("index-nocache.html#!/api/ngSanitize.$sanitize");899 });900 901});902 describe("api/ngTouch.directive:ngClick", function() {903 beforeEach(function() {904 browser().navigateTo("index-nocache.html#!/api/ngTouch.directive:ngClick");905 });906 907});908 describe("api/ngTouch.directive:ngSwipeLeft", function() {909 beforeEach(function() {910 browser().navigateTo("index-nocache.html#!/api/ngTouch.directive:ngSwipeLeft");911 });912 913});914 describe("api/ngTouch.directive:ngSwipeRight", function() {915 beforeEach(function() {916 browser().navigateTo("index-nocache.html#!/api/ngTouch.directive:ngSwipeRight");917 });918 919});920 describe("api/ngTouch.$swipe", function() {921 beforeEach(function() {922 browser().navigateTo("index-nocache.html#!/api/ngTouch.$swipe");923 });924 925});926 describe("api/ngTouch", function() {927 beforeEach(function() {928 browser().navigateTo("index-nocache.html#!/api/ngTouch");929 });930 931});932 describe("api/index", function() {933 beforeEach(function() {934 browser().navigateTo("index-nocache.html#!/api/index");935 });936 937});938 describe("api/ng", function() {939 beforeEach(function() {940 browser().navigateTo("index-nocache.html#!/api/ng");941 });942 943});944 describe("error/$animate:notcsel", function() {945 beforeEach(function() {946 browser().navigateTo("index-nocache.html#!/error/$animate:notcsel");947 });948 949});950 describe("error/$cacheFactory:iid", function() {951 beforeEach(function() {952 browser().navigateTo("index-nocache.html#!/error/$cacheFactory:iid");953 });954 955});956 describe("error/$compile:ctreq", function() {957 beforeEach(function() {958 browser().navigateTo("index-nocache.html#!/error/$compile:ctreq");959 });960 961});962 describe("error/$compile:iscp", function() {963 beforeEach(function() {964 browser().navigateTo("index-nocache.html#!/error/$compile:iscp");965 });966 967});968 describe("error/$compile:multidir", function() {969 beforeEach(function() {970 browser().navigateTo("index-nocache.html#!/error/$compile:multidir");971 });972 973});974 describe("error/$compile:nodomevents", function() {975 beforeEach(function() {976 browser().navigateTo("index-nocache.html#!/error/$compile:nodomevents");977 });978 979});980 describe("error/$compile:nonassign", function() {981 beforeEach(function() {982 browser().navigateTo("index-nocache.html#!/error/$compile:nonassign");983 });984 985});986 describe("error/$compile:selmulti", function() {987 beforeEach(function() {988 browser().navigateTo("index-nocache.html#!/error/$compile:selmulti");989 });990 991});992 describe("error/$compile:tpload", function() {993 beforeEach(function() {994 browser().navigateTo("index-nocache.html#!/error/$compile:tpload");995 });996 997});998 describe("error/$compile:tplrt", function() {999 beforeEach(function() {1000 browser().navigateTo("index-nocache.html#!/error/$compile:tplrt");1001 });1002 1003});1004 describe("error/$compile:uterdir", function() {1005 beforeEach(function() {1006 browser().navigateTo("index-nocache.html#!/error/$compile:uterdir");1007 });1008 1009});1010 describe("error/$controller:noscp", function() {1011 beforeEach(function() {1012 browser().navigateTo("index-nocache.html#!/error/$controller:noscp");1013 });1014 1015});1016 describe("error/$httpBackend:noxhr", function() {1017 beforeEach(function() {1018 browser().navigateTo("index-nocache.html#!/error/$httpBackend:noxhr");1019 });1020 1021});1022 describe("error/index", function() {1023 beforeEach(function() {1024 browser().navigateTo("index-nocache.html#!/error/index");1025 });1026 1027});1028 describe("error/$injector:cdep", function() {1029 beforeEach(function() {1030 browser().navigateTo("index-nocache.html#!/error/$injector:cdep");1031 });1032 1033});1034 describe("error/$injector:itkn", function() {1035 beforeEach(function() {1036 browser().navigateTo("index-nocache.html#!/error/$injector:itkn");1037 });1038 1039});1040 describe("error/$injector:modulerr", function() {1041 beforeEach(function() {1042 browser().navigateTo("index-nocache.html#!/error/$injector:modulerr");1043 });1044 1045});1046 describe("error/$injector:nomod", function() {1047 beforeEach(function() {1048 browser().navigateTo("index-nocache.html#!/error/$injector:nomod");1049 });1050 1051});1052 describe("error/$injector:pget", function() {1053 beforeEach(function() {1054 browser().navigateTo("index-nocache.html#!/error/$injector:pget");1055 });1056 1057});1058 describe("error/$injector:unpr", function() {1059 beforeEach(function() {1060 browser().navigateTo("index-nocache.html#!/error/$injector:unpr");1061 });1062 1063});1064 describe("error/$interpolate:interr", function() {1065 beforeEach(function() {1066 browser().navigateTo("index-nocache.html#!/error/$interpolate:interr");1067 });1068 1069});1070 describe("error/$interpolate:noconcat", function() {1071 beforeEach(function() {1072 browser().navigateTo("index-nocache.html#!/error/$interpolate:noconcat");1073 });1074 1075});1076 describe("error/jqLite:nosel", function() {1077 beforeEach(function() {1078 browser().navigateTo("index-nocache.html#!/error/jqLite:nosel");1079 });1080 1081});1082 describe("error/jqLite:offargs", function() {1083 beforeEach(function() {1084 browser().navigateTo("index-nocache.html#!/error/jqLite:offargs");1085 });1086 1087});1088 describe("error/jqLite:onargs", function() {1089 beforeEach(function() {1090 browser().navigateTo("index-nocache.html#!/error/jqLite:onargs");1091 });1092 1093});1094 describe("error/$location:ihshprfx", function() {1095 beforeEach(function() {1096 browser().navigateTo("index-nocache.html#!/error/$location:ihshprfx");1097 });1098 1099});1100 describe("error/$location:ipthprfx", function() {1101 beforeEach(function() {1102 browser().navigateTo("index-nocache.html#!/error/$location:ipthprfx");1103 });1104 1105});1106 describe("error/$location:isrcharg", function() {1107 beforeEach(function() {1108 browser().navigateTo("index-nocache.html#!/error/$location:isrcharg");1109 });1110 1111});1112 describe("error/ng:areq", function() {1113 beforeEach(function() {1114 browser().navigateTo("index-nocache.html#!/error/ng:areq");1115 });1116 1117});1118 describe("error/ng:badname", function() {1119 beforeEach(function() {1120 browser().navigateTo("index-nocache.html#!/error/ng:badname");1121 });1122 1123});1124 describe("error/ng:btstrpd", function() {1125 beforeEach(function() {1126 browser().navigateTo("index-nocache.html#!/error/ng:btstrpd");1127 });1128 1129});1130 describe("error/ng:cpi", function() {1131 beforeEach(function() {1132 browser().navigateTo("index-nocache.html#!/error/ng:cpi");1133 });1134 1135});1136 describe("error/ng:cpws", function() {1137 beforeEach(function() {1138 browser().navigateTo("index-nocache.html#!/error/ng:cpws");1139 });1140 1141});1142 describe("error/ngModel:nonassign", function() {1143 beforeEach(function() {1144 browser().navigateTo("index-nocache.html#!/error/ngModel:nonassign");1145 });1146 1147});1148 describe("error/ngOptions:iexp", function() {1149 beforeEach(function() {1150 browser().navigateTo("index-nocache.html#!/error/ngOptions:iexp");1151 });1152 1153});1154 describe("error/ngPattern:noregexp", function() {1155 beforeEach(function() {1156 browser().navigateTo("index-nocache.html#!/error/ngPattern:noregexp");1157 });1158 1159});1160 describe("error/ngRepeat:dupes", function() {1161 beforeEach(function() {1162 browser().navigateTo("index-nocache.html#!/error/ngRepeat:dupes");1163 });1164 1165});1166 describe("error/ngRepeat:iexp", function() {1167 beforeEach(function() {1168 browser().navigateTo("index-nocache.html#!/error/ngRepeat:iexp");1169 });1170 1171});1172 describe("error/ngRepeat:iidexp", function() {1173 beforeEach(function() {1174 browser().navigateTo("index-nocache.html#!/error/ngRepeat:iidexp");1175 });1176 1177});1178 describe("error/ngTransclude:orphan", function() {1179 beforeEach(function() {1180 browser().navigateTo("index-nocache.html#!/error/ngTransclude:orphan");1181 });1182 1183});1184 describe("error/$parse:isecdom", function() {1185 beforeEach(function() {1186 browser().navigateTo("index-nocache.html#!/error/$parse:isecdom");1187 });1188 1189});1190 describe("error/$parse:isecfld", function() {1191 beforeEach(function() {1192 browser().navigateTo("index-nocache.html#!/error/$parse:isecfld");1193 });1194 1195});1196 describe("error/$parse:isecfn", function() {1197 beforeEach(function() {1198 browser().navigateTo("index-nocache.html#!/error/$parse:isecfn");1199 });1200 1201});1202 describe("error/$parse:isecwindow", function() {1203 beforeEach(function() {1204 browser().navigateTo("index-nocache.html#!/error/$parse:isecwindow");1205 });1206 1207});1208 describe("error/$parse:lexerr", function() {1209 beforeEach(function() {1210 browser().navigateTo("index-nocache.html#!/error/$parse:lexerr");1211 });1212 1213});1214 describe("error/$parse:syntax", function() {1215 beforeEach(function() {1216 browser().navigateTo("index-nocache.html#!/error/$parse:syntax");1217 });1218 1219});1220 describe("error/$parse:ueoe", function() {1221 beforeEach(function() {1222 browser().navigateTo("index-nocache.html#!/error/$parse:ueoe");1223 });1224 1225});1226 describe("error/$resource:badargs", function() {1227 beforeEach(function() {1228 browser().navigateTo("index-nocache.html#!/error/$resource:badargs");1229 });1230 1231});1232 describe("error/$resource:badcfg", function() {1233 beforeEach(function() {1234 browser().navigateTo("index-nocache.html#!/error/$resource:badcfg");1235 });1236 1237});1238 describe("error/$resource:badmember", function() {1239 beforeEach(function() {1240 browser().navigateTo("index-nocache.html#!/error/$resource:badmember");1241 });1242 1243});1244 describe("error/$resource:badname", function() {1245 beforeEach(function() {1246 browser().navigateTo("index-nocache.html#!/error/$resource:badname");1247 });1248 1249});1250 describe("error/$rootScope:infdig", function() {1251 beforeEach(function() {1252 browser().navigateTo("index-nocache.html#!/error/$rootScope:infdig");1253 });1254 1255});1256 describe("error/$rootScope:inprog", function() {1257 beforeEach(function() {1258 browser().navigateTo("index-nocache.html#!/error/$rootScope:inprog");1259 });1260 1261});1262 describe("error/$sanitize:badparse", function() {1263 beforeEach(function() {1264 browser().navigateTo("index-nocache.html#!/error/$sanitize:badparse");1265 });1266 1267});1268 describe("error/$sce:icontext", function() {1269 beforeEach(function() {1270 browser().navigateTo("index-nocache.html#!/error/$sce:icontext");1271 });1272 1273});1274 describe("error/$sce:iequirks", function() {1275 beforeEach(function() {1276 browser().navigateTo("index-nocache.html#!/error/$sce:iequirks");1277 });1278 1279});1280 describe("error/$sce:imatcher", function() {1281 beforeEach(function() {1282 browser().navigateTo("index-nocache.html#!/error/$sce:imatcher");1283 });1284 1285});1286 describe("error/$sce:insecurl", function() {1287 beforeEach(function() {1288 browser().navigateTo("index-nocache.html#!/error/$sce:insecurl");1289 });1290 1291});1292 describe("error/$sce:itype", function() {1293 beforeEach(function() {1294 browser().navigateTo("index-nocache.html#!/error/$sce:itype");1295 });1296 1297});1298 describe("error/$sce:iwcard", function() {1299 beforeEach(function() {1300 browser().navigateTo("index-nocache.html#!/error/$sce:iwcard");1301 });1302 1303});1304 describe("error/$sce:unsafe", function() {1305 beforeEach(function() {1306 browser().navigateTo("index-nocache.html#!/error/$sce:unsafe");1307 });1308 1309});1310 describe("guide/animations", function() {1311 beforeEach(function() {1312 browser().navigateTo("index-nocache.html#!/guide/animations");1313 });1314 1315});1316 describe("guide/bootstrap", function() {1317 beforeEach(function() {1318 browser().navigateTo("index-nocache.html#!/guide/bootstrap");1319 });1320 1321});1322 describe("guide/compiler", function() {1323 beforeEach(function() {1324 browser().navigateTo("index-nocache.html#!/guide/compiler");1325 });1326 1327});1328 describe("guide/concepts", function() {1329 beforeEach(function() {1330 browser().navigateTo("index-nocache.html#!/guide/concepts");1331 });1332 1333});1334 describe("guide/controller", function() {1335 beforeEach(function() {1336 browser().navigateTo("index-nocache.html#!/guide/controller");1337 });1338 1339});1340 describe("guide/databinding", function() {1341 beforeEach(function() {1342 browser().navigateTo("index-nocache.html#!/guide/databinding");1343 });1344 1345});1346 describe("guide/dev_guide.e2e-testing", function() {1347 beforeEach(function() {1348 browser().navigateTo("index-nocache.html#!/guide/dev_guide.e2e-testing");1349 });1350 1351});1352 describe("guide/dev_guide.services.creating_services", function() {1353 beforeEach(function() {1354 browser().navigateTo("index-nocache.html#!/guide/dev_guide.services.creating_services");1355 });1356 1357});1358 describe("guide/dev_guide.services.injecting_controllers", function() {1359 beforeEach(function() {1360 browser().navigateTo("index-nocache.html#!/guide/dev_guide.services.injecting_controllers");1361 });1362 1363});1364 describe("guide/dev_guide.services.$location", function() {1365 beforeEach(function() {1366 browser().navigateTo("index-nocache.html#!/guide/dev_guide.services.$location");1367 });1368 1369});1370 describe("guide/dev_guide.services.managing_dependencies", function() {1371 beforeEach(function() {1372 browser().navigateTo("index-nocache.html#!/guide/dev_guide.services.managing_dependencies");1373 });1374 1375});1376 describe("guide/dev_guide.services", function() {1377 beforeEach(function() {1378 browser().navigateTo("index-nocache.html#!/guide/dev_guide.services");1379 });1380 1381});1382 describe("guide/dev_guide.services.testing_services", function() {1383 beforeEach(function() {1384 browser().navigateTo("index-nocache.html#!/guide/dev_guide.services.testing_services");1385 });1386 1387});1388 describe("guide/dev_guide.services.understanding_services", function() {1389 beforeEach(function() {1390 browser().navigateTo("index-nocache.html#!/guide/dev_guide.services.understanding_services");1391 });1392 1393});1394 describe("guide/dev_guide.templates.css-styling", function() {1395 beforeEach(function() {1396 browser().navigateTo("index-nocache.html#!/guide/dev_guide.templates.css-styling");1397 });1398 1399});1400 describe("guide/dev_guide.unit-testing", function() {1401 beforeEach(function() {1402 browser().navigateTo("index-nocache.html#!/guide/dev_guide.unit-testing");1403 });1404 1405});1406 describe("guide/di", function() {1407 beforeEach(function() {1408 browser().navigateTo("index-nocache.html#!/guide/di");1409 });1410 1411});1412 describe("guide/directive", function() {1413 beforeEach(function() {1414 browser().navigateTo("index-nocache.html#!/guide/directive");1415 });1416 1417});1418 describe("guide/expression", function() {1419 beforeEach(function() {1420 browser().navigateTo("index-nocache.html#!/guide/expression");1421 });1422 1423});1424 describe("guide/filter", function() {1425 beforeEach(function() {1426 browser().navigateTo("index-nocache.html#!/guide/filter");1427 });1428 1429});1430 describe("guide/forms", function() {1431 beforeEach(function() {1432 browser().navigateTo("index-nocache.html#!/guide/forms");1433 });1434 1435});1436 describe("guide/i18n", function() {1437 beforeEach(function() {1438 browser().navigateTo("index-nocache.html#!/guide/i18n");1439 });1440 1441});1442 describe("guide/ie", function() {1443 beforeEach(function() {1444 browser().navigateTo("index-nocache.html#!/guide/ie");1445 });1446 1447});1448 describe("guide/index", function() {1449 beforeEach(function() {1450 browser().navigateTo("index-nocache.html#!/guide/index");1451 });1452 1453});1454 describe("guide/introduction", function() {1455 beforeEach(function() {1456 browser().navigateTo("index-nocache.html#!/guide/introduction");1457 });1458 1459});1460 describe("guide/migration", function() {1461 beforeEach(function() {1462 browser().navigateTo("index-nocache.html#!/guide/migration");1463 });1464 1465});1466 describe("guide/module", function() {1467 beforeEach(function() {1468 browser().navigateTo("index-nocache.html#!/guide/module");1469 });1470 1471});1472 describe("guide/providers", function() {1473 beforeEach(function() {1474 browser().navigateTo("index-nocache.html#!/guide/providers");1475 });1476 1477});1478 describe("guide/scope", function() {1479 beforeEach(function() {1480 browser().navigateTo("index-nocache.html#!/guide/scope");1481 });1482 1483});1484 describe("guide/templates", function() {1485 beforeEach(function() {1486 browser().navigateTo("index-nocache.html#!/guide/templates");1487 });1488 1489});1490 describe("misc/contribute", function() {1491 beforeEach(function() {1492 browser().navigateTo("index-nocache.html#!/misc/contribute");1493 });1494 1495});1496 describe("misc/downloading", function() {1497 beforeEach(function() {1498 browser().navigateTo("index-nocache.html#!/misc/downloading");1499 });1500 1501});1502 describe("misc/faq", function() {1503 beforeEach(function() {1504 browser().navigateTo("index-nocache.html#!/misc/faq");1505 });1506 1507});1508 describe("misc/started", function() {1509 beforeEach(function() {1510 browser().navigateTo("index-nocache.html#!/misc/started");1511 });1512 1513});1514 describe("tutorial/index", function() {1515 beforeEach(function() {1516 browser().navigateTo("index-nocache.html#!/tutorial/index");1517 });1518 1519});1520 describe("tutorial/step_00", function() {1521 beforeEach(function() {1522 browser().navigateTo("index-nocache.html#!/tutorial/step_00");1523 });1524 1525});1526 describe("tutorial/step_01", function() {1527 beforeEach(function() {1528 browser().navigateTo("index-nocache.html#!/tutorial/step_01");1529 });1530 1531});1532 describe("tutorial/step_02", function() {1533 beforeEach(function() {1534 browser().navigateTo("index-nocache.html#!/tutorial/step_02");1535 });1536 1537});1538 describe("tutorial/step_03", function() {1539 beforeEach(function() {1540 browser().navigateTo("index-nocache.html#!/tutorial/step_03");1541 });1542 1543});1544 describe("tutorial/step_04", function() {1545 beforeEach(function() {1546 browser().navigateTo("index-nocache.html#!/tutorial/step_04");1547 });1548 1549});1550 describe("tutorial/step_05", function() {1551 beforeEach(function() {1552 browser().navigateTo("index-nocache.html#!/tutorial/step_05");1553 });1554 1555});1556 describe("tutorial/step_06", function() {1557 beforeEach(function() {1558 browser().navigateTo("index-nocache.html#!/tutorial/step_06");1559 });1560 1561});1562 describe("tutorial/step_07", function() {1563 beforeEach(function() {1564 browser().navigateTo("index-nocache.html#!/tutorial/step_07");1565 });1566 1567});1568 describe("tutorial/step_08", function() {1569 beforeEach(function() {1570 browser().navigateTo("index-nocache.html#!/tutorial/step_08");1571 });1572 1573});1574 describe("tutorial/step_09", function() {1575 beforeEach(function() {1576 browser().navigateTo("index-nocache.html#!/tutorial/step_09");1577 });1578 1579});1580 describe("tutorial/step_10", function() {1581 beforeEach(function() {1582 browser().navigateTo("index-nocache.html#!/tutorial/step_10");1583 });1584 1585});1586 describe("tutorial/step_11", function() {1587 beforeEach(function() {1588 browser().navigateTo("index-nocache.html#!/tutorial/step_11");1589 });1590 1591});1592 describe("tutorial/step_12", function() {1593 beforeEach(function() {1594 browser().navigateTo("index-nocache.html#!/tutorial/step_12");1595 });1596 1597});1598 describe("tutorial/the_end", function() {1599 beforeEach(function() {1600 browser().navigateTo("index-nocache.html#!/tutorial/the_end");1601 });1602 1603});1604 describe("api/ng.$compile", function() {1605 beforeEach(function() {1606 browser().navigateTo("index-nocache.html#!/api/ng.$compile");1607 });1608 1609});1610 describe("api/ng.$compileProvider", function() {1611 beforeEach(function() {1612 browser().navigateTo("index-nocache.html#!/api/ng.$compileProvider");1613 });1614 1615});1616 describe("api/ng.$compile.directive.Attributes", function() {1617 beforeEach(function() {1618 browser().navigateTo("index-nocache.html#!/api/ng.$compile.directive.Attributes");1619 });1620 1621});1622 describe("api/ngAnimate", function() {1623 beforeEach(function() {1624 browser().navigateTo("index-nocache.html#!/api/ngAnimate");1625 });1626 1627});1628 describe("api/ngAnimate.$animateProvider", function() {1629 beforeEach(function() {1630 browser().navigateTo("index-nocache.html#!/api/ngAnimate.$animateProvider");1631 });1632 1633});1634 describe("api/ngAnimate.$animate", function() {1635 beforeEach(function() {1636 browser().navigateTo("index-nocache.html#!/api/ngAnimate.$animate");1637 });1638 1639});1640 describe("api/angular.mock", function() {1641 beforeEach(function() {1642 browser().navigateTo("index-nocache.html#!/api/angular.mock");1643 });1644 1645});1646 describe("api/ngMock.$exceptionHandlerProvider", function() {1647 beforeEach(function() {1648 browser().navigateTo("index-nocache.html#!/api/ngMock.$exceptionHandlerProvider");1649 });1650 1651});1652 describe("api/ngMock.$exceptionHandler", function() {1653 beforeEach(function() {1654 browser().navigateTo("index-nocache.html#!/api/ngMock.$exceptionHandler");1655 });1656 1657});1658 describe("api/ngMock.$log", function() {1659 beforeEach(function() {1660 browser().navigateTo("index-nocache.html#!/api/ngMock.$log");1661 });1662 1663});1664 describe("api/ngMock.$interval", function() {1665 beforeEach(function() {1666 browser().navigateTo("index-nocache.html#!/api/ngMock.$interval");1667 });1668 1669});1670 describe("api/angular.mock.TzDate", function() {1671 beforeEach(function() {1672 browser().navigateTo("index-nocache.html#!/api/angular.mock.TzDate");1673 });1674 1675});1676 describe("api/angular.mock.dump", function() {1677 beforeEach(function() {1678 browser().navigateTo("index-nocache.html#!/api/angular.mock.dump");1679 });1680 1681});1682 describe("api/ngMock.$httpBackend", function() {1683 beforeEach(function() {1684 browser().navigateTo("index-nocache.html#!/api/ngMock.$httpBackend");1685 });1686 1687});1688 describe("api/ngMock.$timeout", function() {1689 beforeEach(function() {1690 browser().navigateTo("index-nocache.html#!/api/ngMock.$timeout");1691 });1692 1693});1694 describe("api/ngMock", function() {1695 beforeEach(function() {1696 browser().navigateTo("index-nocache.html#!/api/ngMock");1697 });1698 1699});1700 describe("api/ngMockE2E", function() {1701 beforeEach(function() {1702 browser().navigateTo("index-nocache.html#!/api/ngMockE2E");1703 });1704 1705});1706 describe("api/ngMockE2E.$httpBackend", function() {1707 beforeEach(function() {1708 browser().navigateTo("index-nocache.html#!/api/ngMockE2E.$httpBackend");1709 });1710 1711});1712 describe("api/angular.mock.module", function() {1713 beforeEach(function() {1714 browser().navigateTo("index-nocache.html#!/api/angular.mock.module");1715 });1716 1717});1718 describe("api/angular.mock.inject", function() {1719 beforeEach(function() {1720 browser().navigateTo("index-nocache.html#!/api/angular.mock.inject");1721 });1722 1723});1724});1725describe("angular+jquery", function() {1726 describe("api/angular.lowercase", function() {1727 beforeEach(function() {1728 browser().navigateTo("index-jq-nocache.html#!/api/angular.lowercase");1729 });1730 1731});1732 describe("api/angular.uppercase", function() {1733 beforeEach(function() {1734 browser().navigateTo("index-jq-nocache.html#!/api/angular.uppercase");1735 });1736 1737});1738 describe("api/angular.forEach", function() {1739 beforeEach(function() {1740 browser().navigateTo("index-jq-nocache.html#!/api/angular.forEach");1741 });1742 1743});1744 describe("api/angular.extend", function() {1745 beforeEach(function() {1746 browser().navigateTo("index-jq-nocache.html#!/api/angular.extend");1747 });1748 1749});1750 describe("api/angular.noop", function() {1751 beforeEach(function() {1752 browser().navigateTo("index-jq-nocache.html#!/api/angular.noop");1753 });1754 1755});1756 describe("api/angular.identity", function() {1757 beforeEach(function() {1758 browser().navigateTo("index-jq-nocache.html#!/api/angular.identity");1759 });1760 1761});1762 describe("api/angular.isUndefined", function() {1763 beforeEach(function() {1764 browser().navigateTo("index-jq-nocache.html#!/api/angular.isUndefined");1765 });1766 1767});1768 describe("api/angular.isDefined", function() {1769 beforeEach(function() {1770 browser().navigateTo("index-jq-nocache.html#!/api/angular.isDefined");1771 });1772 1773});1774 describe("api/angular.isObject", function() {1775 beforeEach(function() {1776 browser().navigateTo("index-jq-nocache.html#!/api/angular.isObject");1777 });1778 1779});1780 describe("api/angular.isString", function() {1781 beforeEach(function() {1782 browser().navigateTo("index-jq-nocache.html#!/api/angular.isString");1783 });1784 1785});1786 describe("api/angular.isNumber", function() {1787 beforeEach(function() {1788 browser().navigateTo("index-jq-nocache.html#!/api/angular.isNumber");1789 });1790 1791});1792 describe("api/angular.isDate", function() {1793 beforeEach(function() {1794 browser().navigateTo("index-jq-nocache.html#!/api/angular.isDate");1795 });1796 1797});1798 describe("api/angular.isArray", function() {1799 beforeEach(function() {1800 browser().navigateTo("index-jq-nocache.html#!/api/angular.isArray");1801 });1802 1803});1804 describe("api/angular.isFunction", function() {1805 beforeEach(function() {1806 browser().navigateTo("index-jq-nocache.html#!/api/angular.isFunction");1807 });1808 1809});1810 describe("api/angular.isElement", function() {1811 beforeEach(function() {1812 browser().navigateTo("index-jq-nocache.html#!/api/angular.isElement");1813 });1814 1815});1816 describe("api/angular.copy", function() {1817 beforeEach(function() {1818 browser().navigateTo("index-jq-nocache.html#!/api/angular.copy");1819 });1820 1821});1822 describe("api/angular.equals", function() {1823 beforeEach(function() {1824 browser().navigateTo("index-jq-nocache.html#!/api/angular.equals");1825 });1826 1827});1828 describe("api/angular.bind", function() {1829 beforeEach(function() {1830 browser().navigateTo("index-jq-nocache.html#!/api/angular.bind");1831 });1832 1833});1834 describe("api/angular.toJson", function() {1835 beforeEach(function() {1836 browser().navigateTo("index-jq-nocache.html#!/api/angular.toJson");1837 });1838 1839});1840 describe("api/angular.fromJson", function() {1841 beforeEach(function() {1842 browser().navigateTo("index-jq-nocache.html#!/api/angular.fromJson");1843 });1844 1845});1846 describe("api/ng.directive:ngApp", function() {1847 beforeEach(function() {1848 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngApp");1849 });1850 1851});1852 describe("api/angular.bootstrap", function() {1853 beforeEach(function() {1854 browser().navigateTo("index-jq-nocache.html#!/api/angular.bootstrap");1855 });1856 1857});1858 describe("api/angular.version", function() {1859 beforeEach(function() {1860 browser().navigateTo("index-jq-nocache.html#!/api/angular.version");1861 });1862 1863});1864 describe("api/angular.injector", function() {1865 beforeEach(function() {1866 browser().navigateTo("index-jq-nocache.html#!/api/angular.injector");1867 });1868 1869});1870 describe("api/AUTO", function() {1871 beforeEach(function() {1872 browser().navigateTo("index-jq-nocache.html#!/api/AUTO");1873 });1874 1875});1876 describe("api/AUTO.$injector", function() {1877 beforeEach(function() {1878 browser().navigateTo("index-jq-nocache.html#!/api/AUTO.$injector");1879 });1880 1881});1882 describe("api/AUTO.$provide", function() {1883 beforeEach(function() {1884 browser().navigateTo("index-jq-nocache.html#!/api/AUTO.$provide");1885 });1886 1887});1888 describe("api/angular.element", function() {1889 beforeEach(function() {1890 browser().navigateTo("index-jq-nocache.html#!/api/angular.element");1891 });1892 1893});1894 describe("api/angular.Module", function() {1895 beforeEach(function() {1896 browser().navigateTo("index-jq-nocache.html#!/api/angular.Module");1897 });1898 1899});1900 describe("api/angular.module", function() {1901 beforeEach(function() {1902 browser().navigateTo("index-jq-nocache.html#!/api/angular.module");1903 });1904 1905});1906 describe("api/ng.$anchorScroll", function() {1907 beforeEach(function() {1908 browser().navigateTo("index-jq-nocache.html#!/api/ng.$anchorScroll");1909 });1910 1911});1912 describe("api/ng.$animateProvider", function() {1913 beforeEach(function() {1914 browser().navigateTo("index-jq-nocache.html#!/api/ng.$animateProvider");1915 });1916 1917});1918 describe("api/ng.$animate", function() {1919 beforeEach(function() {1920 browser().navigateTo("index-jq-nocache.html#!/api/ng.$animate");1921 });1922 1923});1924 describe("api/ng.$cacheFactory", function() {1925 beforeEach(function() {1926 browser().navigateTo("index-jq-nocache.html#!/api/ng.$cacheFactory");1927 });1928 1929});1930 describe("api/ng.$templateCache", function() {1931 beforeEach(function() {1932 browser().navigateTo("index-jq-nocache.html#!/api/ng.$templateCache");1933 });1934 1935});1936 describe("api/ng.$controllerProvider", function() {1937 beforeEach(function() {1938 browser().navigateTo("index-jq-nocache.html#!/api/ng.$controllerProvider");1939 });1940 1941});1942 describe("api/ng.$controller", function() {1943 beforeEach(function() {1944 browser().navigateTo("index-jq-nocache.html#!/api/ng.$controller");1945 });1946 1947});1948 describe("api/ng.directive:a", function() {1949 beforeEach(function() {1950 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:a");1951 });1952 1953});1954 describe("api/ng.directive:ngHref", function() {1955 beforeEach(function() {1956 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngHref");1957 });1958 1959});1960 describe("api/ng.directive:ngSrc", function() {1961 beforeEach(function() {1962 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngSrc");1963 });1964 1965});1966 describe("api/ng.directive:ngSrcset", function() {1967 beforeEach(function() {1968 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngSrcset");1969 });1970 1971});1972 describe("api/ng.directive:ngDisabled", function() {1973 beforeEach(function() {1974 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngDisabled");1975 });1976 1977});1978 describe("api/ng.directive:ngChecked", function() {1979 beforeEach(function() {1980 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngChecked");1981 });1982 1983});1984 describe("api/ng.directive:ngReadonly", function() {1985 beforeEach(function() {1986 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngReadonly");1987 });1988 1989});1990 describe("api/ng.directive:ngSelected", function() {1991 beforeEach(function() {1992 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngSelected");1993 });1994 1995});1996 describe("api/ng.directive:ngOpen", function() {1997 beforeEach(function() {1998 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngOpen");1999 });2000 2001});2002 describe("api/ng.directive:form.FormController", function() {2003 beforeEach(function() {2004 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:form.FormController");2005 });2006 2007});2008 describe("api/ng.directive:ngForm", function() {2009 beforeEach(function() {2010 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngForm");2011 });2012 2013});2014 describe("api/ng.directive:form", function() {2015 beforeEach(function() {2016 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:form");2017 });2018 2019});2020 describe("api/ng.directive:ngBind", function() {2021 beforeEach(function() {2022 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngBind");2023 });2024 2025});2026 describe("api/ng.directive:ngBindTemplate", function() {2027 beforeEach(function() {2028 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngBindTemplate");2029 });2030 2031});2032 describe("api/ng.directive:ngBindHtml", function() {2033 beforeEach(function() {2034 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngBindHtml");2035 });2036 2037});2038 describe("api/ng.directive:ngClass", function() {2039 beforeEach(function() {2040 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngClass");2041 });2042 2043});2044 describe("api/ng.directive:ngClassOdd", function() {2045 beforeEach(function() {2046 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngClassOdd");2047 });2048 2049});2050 describe("api/ng.directive:ngClassEven", function() {2051 beforeEach(function() {2052 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngClassEven");2053 });2054 2055});2056 describe("api/ng.directive:input.text", function() {2057 beforeEach(function() {2058 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:input.text");2059 });2060 2061});2062 describe("api/ng.directive:input.number", function() {2063 beforeEach(function() {2064 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:input.number");2065 });2066 2067});2068 describe("api/ng.directive:input.url", function() {2069 beforeEach(function() {2070 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:input.url");2071 });2072 2073});2074 describe("api/ng.directive:input.email", function() {2075 beforeEach(function() {2076 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:input.email");2077 });2078 2079});2080 describe("api/ng.directive:input.radio", function() {2081 beforeEach(function() {2082 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:input.radio");2083 });2084 2085});2086 describe("api/ng.directive:input.checkbox", function() {2087 beforeEach(function() {2088 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:input.checkbox");2089 });2090 2091});2092 describe("api/ng.directive:textarea", function() {2093 beforeEach(function() {2094 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:textarea");2095 });2096 2097});2098 describe("api/ng.directive:input", function() {2099 beforeEach(function() {2100 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:input");2101 });2102 2103});2104 describe("api/ng.directive:ngModel.NgModelController", function() {2105 beforeEach(function() {2106 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngModel.NgModelController");2107 });2108 2109});2110 describe("api/ng.directive:ngModel", function() {2111 beforeEach(function() {2112 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngModel");2113 });2114 2115});2116 describe("api/ng.directive:ngChange", function() {2117 beforeEach(function() {2118 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngChange");2119 });2120 2121});2122 describe("api/ng.directive:ngList", function() {2123 beforeEach(function() {2124 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngList");2125 });2126 2127});2128 describe("api/ng.directive:ngValue", function() {2129 beforeEach(function() {2130 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngValue");2131 });2132 2133});2134 describe("api/ng.directive:ngCloak", function() {2135 beforeEach(function() {2136 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngCloak");2137 });2138 2139});2140 describe("api/ng.directive:ngCsp", function() {2141 beforeEach(function() {2142 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngCsp");2143 });2144 2145});2146 describe("api/ng.directive:ngController", function() {2147 beforeEach(function() {2148 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngController");2149 });2150 2151});2152 describe("api/ng.directive:ngClick", function() {2153 beforeEach(function() {2154 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngClick");2155 });2156 2157});2158 describe("api/ng.directive:ngDblclick", function() {2159 beforeEach(function() {2160 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngDblclick");2161 });2162 2163});2164 describe("api/ng.directive:ngMousedown", function() {2165 beforeEach(function() {2166 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngMousedown");2167 });2168 2169});2170 describe("api/ng.directive:ngMouseup", function() {2171 beforeEach(function() {2172 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngMouseup");2173 });2174 2175});2176 describe("api/ng.directive:ngMouseover", function() {2177 beforeEach(function() {2178 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngMouseover");2179 });2180 2181});2182 describe("api/ng.directive:ngMouseenter", function() {2183 beforeEach(function() {2184 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngMouseenter");2185 });2186 2187});2188 describe("api/ng.directive:ngMouseleave", function() {2189 beforeEach(function() {2190 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngMouseleave");2191 });2192 2193});2194 describe("api/ng.directive:ngMousemove", function() {2195 beforeEach(function() {2196 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngMousemove");2197 });2198 2199});2200 describe("api/ng.directive:ngKeydown", function() {2201 beforeEach(function() {2202 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngKeydown");2203 });2204 2205});2206 describe("api/ng.directive:ngKeyup", function() {2207 beforeEach(function() {2208 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngKeyup");2209 });2210 2211});2212 describe("api/ng.directive:ngKeypress", function() {2213 beforeEach(function() {2214 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngKeypress");2215 });2216 2217});2218 describe("api/ng.directive:ngSubmit", function() {2219 beforeEach(function() {2220 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngSubmit");2221 });2222 2223});2224 describe("api/ng.directive:ngFocus", function() {2225 beforeEach(function() {2226 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngFocus");2227 });2228 2229});2230 describe("api/ng.directive:ngBlur", function() {2231 beforeEach(function() {2232 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngBlur");2233 });2234 2235});2236 describe("api/ng.directive:ngCopy", function() {2237 beforeEach(function() {2238 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngCopy");2239 });2240 2241});2242 describe("api/ng.directive:ngCut", function() {2243 beforeEach(function() {2244 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngCut");2245 });2246 2247});2248 describe("api/ng.directive:ngPaste", function() {2249 beforeEach(function() {2250 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngPaste");2251 });2252 2253});2254 describe("api/ng.directive:ngIf", function() {2255 beforeEach(function() {2256 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngIf");2257 });2258 2259});2260 describe("api/ng.directive:ngInclude", function() {2261 beforeEach(function() {2262 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngInclude");2263 });2264 2265});2266 describe("api/ng.directive:ngInit", function() {2267 beforeEach(function() {2268 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngInit");2269 });2270 2271});2272 describe("api/ng.directive:ngNonBindable", function() {2273 beforeEach(function() {2274 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngNonBindable");2275 });2276 2277});2278 describe("api/ng.directive:ngPluralize", function() {2279 beforeEach(function() {2280 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngPluralize");2281 });2282 2283});2284 describe("api/ng.directive:ngRepeat", function() {2285 beforeEach(function() {2286 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngRepeat");2287 });2288 2289});2290 describe("api/ng.directive:ngShow", function() {2291 beforeEach(function() {2292 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngShow");2293 });2294 2295});2296 describe("api/ng.directive:ngHide", function() {2297 beforeEach(function() {2298 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngHide");2299 });2300 2301});2302 describe("api/ng.directive:ngStyle", function() {2303 beforeEach(function() {2304 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngStyle");2305 });2306 2307});2308 describe("api/ng.directive:ngSwitch", function() {2309 beforeEach(function() {2310 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngSwitch");2311 });2312 2313});2314 describe("api/ng.directive:ngTransclude", function() {2315 beforeEach(function() {2316 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:ngTransclude");2317 });2318 2319});2320 describe("api/ng.directive:script", function() {2321 beforeEach(function() {2322 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:script");2323 });2324 2325});2326 describe("api/ng.directive:select", function() {2327 beforeEach(function() {2328 browser().navigateTo("index-jq-nocache.html#!/api/ng.directive:select");2329 });2330 2331});2332 describe("api/ng.$document", function() {2333 beforeEach(function() {2334 browser().navigateTo("index-jq-nocache.html#!/api/ng.$document");2335 });2336 2337});2338 describe("api/ng.$exceptionHandler", function() {2339 beforeEach(function() {2340 browser().navigateTo("index-jq-nocache.html#!/api/ng.$exceptionHandler");2341 });2342 2343});2344 describe("api/ng.filter:filter", function() {2345 beforeEach(function() {2346 browser().navigateTo("index-jq-nocache.html#!/api/ng.filter:filter");2347 });2348 2349});2350 describe("api/ng.filter:currency", function() {2351 beforeEach(function() {2352 browser().navigateTo("index-jq-nocache.html#!/api/ng.filter:currency");2353 });2354 2355});2356 describe("api/ng.filter:number", function() {2357 beforeEach(function() {2358 browser().navigateTo("index-jq-nocache.html#!/api/ng.filter:number");2359 });2360 2361});2362 describe("api/ng.filter:date", function() {2363 beforeEach(function() {2364 browser().navigateTo("index-jq-nocache.html#!/api/ng.filter:date");2365 });2366 2367});2368 describe("api/ng.filter:json", function() {2369 beforeEach(function() {2370 browser().navigateTo("index-jq-nocache.html#!/api/ng.filter:json");2371 });2372 2373});2374 describe("api/ng.filter:lowercase", function() {2375 beforeEach(function() {2376 browser().navigateTo("index-jq-nocache.html#!/api/ng.filter:lowercase");2377 });2378 2379});2380 describe("api/ng.filter:uppercase", function() {2381 beforeEach(function() {2382 browser().navigateTo("index-jq-nocache.html#!/api/ng.filter:uppercase");2383 });2384 2385});2386 describe("api/ng.filter:limitTo", function() {2387 beforeEach(function() {2388 browser().navigateTo("index-jq-nocache.html#!/api/ng.filter:limitTo");2389 });2390 2391});2392 describe("api/ng.filter:orderBy", function() {2393 beforeEach(function() {2394 browser().navigateTo("index-jq-nocache.html#!/api/ng.filter:orderBy");2395 });2396 2397});2398 describe("api/ng.$filterProvider", function() {2399 beforeEach(function() {2400 browser().navigateTo("index-jq-nocache.html#!/api/ng.$filterProvider");2401 });2402 2403});2404 describe("api/ng.$filter", function() {2405 beforeEach(function() {2406 browser().navigateTo("index-jq-nocache.html#!/api/ng.$filter");2407 });2408 2409});2410 describe("api/ng.$http", function() {2411 beforeEach(function() {2412 browser().navigateTo("index-jq-nocache.html#!/api/ng.$http");2413 });2414 2415});2416 describe("api/ng.$httpBackend", function() {2417 beforeEach(function() {2418 browser().navigateTo("index-jq-nocache.html#!/api/ng.$httpBackend");2419 });2420 2421});2422 describe("api/ng.$interpolateProvider", function() {2423 beforeEach(function() {2424 browser().navigateTo("index-jq-nocache.html#!/api/ng.$interpolateProvider");2425 });2426 2427});2428 describe("api/ng.$interpolate", function() {2429 beforeEach(function() {2430 browser().navigateTo("index-jq-nocache.html#!/api/ng.$interpolate");2431 });2432 2433});2434 describe("api/ng.$interval", function() {2435 beforeEach(function() {2436 browser().navigateTo("index-jq-nocache.html#!/api/ng.$interval");2437 });2438 2439});2440 describe("api/ng.$locale", function() {2441 beforeEach(function() {2442 browser().navigateTo("index-jq-nocache.html#!/api/ng.$locale");2443 });2444 2445});2446 describe("api/ng.$location", function() {2447 beforeEach(function() {2448 browser().navigateTo("index-jq-nocache.html#!/api/ng.$location");2449 });2450 2451});2452 describe("api/ng.$locationProvider", function() {2453 beforeEach(function() {2454 browser().navigateTo("index-jq-nocache.html#!/api/ng.$locationProvider");2455 });2456 2457});2458 describe("api/ng.$log", function() {2459 beforeEach(function() {2460 browser().navigateTo("index-jq-nocache.html#!/api/ng.$log");2461 });2462 2463});2464 describe("api/ng.$logProvider", function() {2465 beforeEach(function() {2466 browser().navigateTo("index-jq-nocache.html#!/api/ng.$logProvider");2467 });2468 2469});2470 describe("api/ng.$parse", function() {2471 beforeEach(function() {2472 browser().navigateTo("index-jq-nocache.html#!/api/ng.$parse");2473 });2474 2475});2476 describe("api/ng.$parseProvider", function() {2477 beforeEach(function() {2478 browser().navigateTo("index-jq-nocache.html#!/api/ng.$parseProvider");2479 });2480 2481});2482 describe("api/ng.$q", function() {2483 beforeEach(function() {2484 browser().navigateTo("index-jq-nocache.html#!/api/ng.$q");2485 });2486 2487});2488 describe("api/ng.$rootElement", function() {2489 beforeEach(function() {2490 browser().navigateTo("index-jq-nocache.html#!/api/ng.$rootElement");2491 });2492 2493});2494 describe("api/ng.$rootScopeProvider", function() {2495 beforeEach(function() {2496 browser().navigateTo("index-jq-nocache.html#!/api/ng.$rootScopeProvider");2497 });2498 2499});2500 describe("api/ng.$rootScope", function() {2501 beforeEach(function() {2502 browser().navigateTo("index-jq-nocache.html#!/api/ng.$rootScope");2503 });2504 2505});2506 describe("api/ng.$rootScope.Scope", function() {2507 beforeEach(function() {2508 browser().navigateTo("index-jq-nocache.html#!/api/ng.$rootScope.Scope");2509 });2510 2511});2512 describe("api/ng.$sceDelegate", function() {2513 beforeEach(function() {2514 browser().navigateTo("index-jq-nocache.html#!/api/ng.$sceDelegate");2515 });2516 2517});2518 describe("api/ng.$sceDelegateProvider", function() {2519 beforeEach(function() {2520 browser().navigateTo("index-jq-nocache.html#!/api/ng.$sceDelegateProvider");2521 });2522 2523});2524 describe("api/ng.$sceProvider", function() {2525 beforeEach(function() {2526 browser().navigateTo("index-jq-nocache.html#!/api/ng.$sceProvider");2527 });2528 2529});2530 describe("api/ng.$sce", function() {2531 beforeEach(function() {2532 browser().navigateTo("index-jq-nocache.html#!/api/ng.$sce");2533 });2534 2535});2536 describe("api/ng.$timeout", function() {2537 beforeEach(function() {2538 browser().navigateTo("index-jq-nocache.html#!/api/ng.$timeout");2539 });2540 2541});2542 describe("api/ng.$window", function() {2543 beforeEach(function() {2544 browser().navigateTo("index-jq-nocache.html#!/api/ng.$window");2545 });2546 2547});2548 describe("api/ngCookies", function() {2549 beforeEach(function() {2550 browser().navigateTo("index-jq-nocache.html#!/api/ngCookies");2551 });2552 2553});2554 describe("api/ngCookies.$cookies", function() {2555 beforeEach(function() {2556 browser().navigateTo("index-jq-nocache.html#!/api/ngCookies.$cookies");2557 });2558 2559});2560 describe("api/ngCookies.$cookieStore", function() {2561 beforeEach(function() {2562 browser().navigateTo("index-jq-nocache.html#!/api/ngCookies.$cookieStore");2563 });2564 2565});2566 describe("api/ngResource", function() {2567 beforeEach(function() {2568 browser().navigateTo("index-jq-nocache.html#!/api/ngResource");2569 });2570 2571});2572 describe("api/ngResource.$resource", function() {2573 beforeEach(function() {2574 browser().navigateTo("index-jq-nocache.html#!/api/ngResource.$resource");2575 });2576 2577});2578 describe("api/ngRoute.directive:ngView", function() {2579 beforeEach(function() {2580 browser().navigateTo("index-jq-nocache.html#!/api/ngRoute.directive:ngView");2581 });2582 2583});2584 describe("api/ngRoute", function() {2585 beforeEach(function() {2586 browser().navigateTo("index-jq-nocache.html#!/api/ngRoute");2587 });2588 2589});2590 describe("api/ngRoute.$routeProvider", function() {2591 beforeEach(function() {2592 browser().navigateTo("index-jq-nocache.html#!/api/ngRoute.$routeProvider");2593 });2594 2595});2596 describe("api/ngRoute.$route", function() {2597 beforeEach(function() {2598 browser().navigateTo("index-jq-nocache.html#!/api/ngRoute.$route");2599 });2600 2601});2602 describe("api/ngRoute.$routeParams", function() {2603 beforeEach(function() {2604 browser().navigateTo("index-jq-nocache.html#!/api/ngRoute.$routeParams");2605 });2606 2607});2608 describe("api/ngSanitize.filter:linky", function() {2609 beforeEach(function() {2610 browser().navigateTo("index-jq-nocache.html#!/api/ngSanitize.filter:linky");2611 });2612 2613});2614 describe("api/ngSanitize", function() {2615 beforeEach(function() {2616 browser().navigateTo("index-jq-nocache.html#!/api/ngSanitize");2617 });2618 2619});2620 describe("api/ngSanitize.$sanitize", function() {2621 beforeEach(function() {2622 browser().navigateTo("index-jq-nocache.html#!/api/ngSanitize.$sanitize");2623 });2624 2625});2626 describe("api/ngTouch.directive:ngClick", function() {2627 beforeEach(function() {2628 browser().navigateTo("index-jq-nocache.html#!/api/ngTouch.directive:ngClick");2629 });2630 2631});2632 describe("api/ngTouch.directive:ngSwipeLeft", function() {2633 beforeEach(function() {2634 browser().navigateTo("index-jq-nocache.html#!/api/ngTouch.directive:ngSwipeLeft");2635 });2636 2637});2638 describe("api/ngTouch.directive:ngSwipeRight", function() {2639 beforeEach(function() {2640 browser().navigateTo("index-jq-nocache.html#!/api/ngTouch.directive:ngSwipeRight");2641 });2642 2643});2644 describe("api/ngTouch.$swipe", function() {2645 beforeEach(function() {2646 browser().navigateTo("index-jq-nocache.html#!/api/ngTouch.$swipe");2647 });2648 2649});2650 describe("api/ngTouch", function() {2651 beforeEach(function() {2652 browser().navigateTo("index-jq-nocache.html#!/api/ngTouch");2653 });2654 2655});2656 describe("api/index", function() {2657 beforeEach(function() {2658 browser().navigateTo("index-jq-nocache.html#!/api/index");2659 });2660 2661});2662 describe("api/ng", function() {2663 beforeEach(function() {2664 browser().navigateTo("index-jq-nocache.html#!/api/ng");2665 });2666 2667});2668 describe("error/$animate:notcsel", function() {2669 beforeEach(function() {2670 browser().navigateTo("index-jq-nocache.html#!/error/$animate:notcsel");2671 });2672 2673});2674 describe("error/$cacheFactory:iid", function() {2675 beforeEach(function() {2676 browser().navigateTo("index-jq-nocache.html#!/error/$cacheFactory:iid");2677 });2678 2679});2680 describe("error/$compile:ctreq", function() {2681 beforeEach(function() {2682 browser().navigateTo("index-jq-nocache.html#!/error/$compile:ctreq");2683 });2684 2685});2686 describe("error/$compile:iscp", function() {2687 beforeEach(function() {2688 browser().navigateTo("index-jq-nocache.html#!/error/$compile:iscp");2689 });2690 2691});2692 describe("error/$compile:multidir", function() {2693 beforeEach(function() {2694 browser().navigateTo("index-jq-nocache.html#!/error/$compile:multidir");2695 });2696 2697});2698 describe("error/$compile:nodomevents", function() {2699 beforeEach(function() {2700 browser().navigateTo("index-jq-nocache.html#!/error/$compile:nodomevents");2701 });2702 2703});2704 describe("error/$compile:nonassign", function() {2705 beforeEach(function() {2706 browser().navigateTo("index-jq-nocache.html#!/error/$compile:nonassign");2707 });2708 2709});2710 describe("error/$compile:selmulti", function() {2711 beforeEach(function() {2712 browser().navigateTo("index-jq-nocache.html#!/error/$compile:selmulti");2713 });2714 2715});2716 describe("error/$compile:tpload", function() {2717 beforeEach(function() {2718 browser().navigateTo("index-jq-nocache.html#!/error/$compile:tpload");2719 });2720 2721});2722 describe("error/$compile:tplrt", function() {2723 beforeEach(function() {2724 browser().navigateTo("index-jq-nocache.html#!/error/$compile:tplrt");2725 });2726 2727});2728 describe("error/$compile:uterdir", function() {2729 beforeEach(function() {2730 browser().navigateTo("index-jq-nocache.html#!/error/$compile:uterdir");2731 });2732 2733});2734 describe("error/$controller:noscp", function() {2735 beforeEach(function() {2736 browser().navigateTo("index-jq-nocache.html#!/error/$controller:noscp");2737 });2738 2739});2740 describe("error/$httpBackend:noxhr", function() {2741 beforeEach(function() {2742 browser().navigateTo("index-jq-nocache.html#!/error/$httpBackend:noxhr");2743 });2744 2745});2746 describe("error/index", function() {2747 beforeEach(function() {2748 browser().navigateTo("index-jq-nocache.html#!/error/index");2749 });2750 2751});2752 describe("error/$injector:cdep", function() {2753 beforeEach(function() {2754 browser().navigateTo("index-jq-nocache.html#!/error/$injector:cdep");2755 });2756 2757});2758 describe("error/$injector:itkn", function() {2759 beforeEach(function() {2760 browser().navigateTo("index-jq-nocache.html#!/error/$injector:itkn");2761 });2762 2763});2764 describe("error/$injector:modulerr", function() {2765 beforeEach(function() {2766 browser().navigateTo("index-jq-nocache.html#!/error/$injector:modulerr");2767 });2768 2769});2770 describe("error/$injector:nomod", function() {2771 beforeEach(function() {2772 browser().navigateTo("index-jq-nocache.html#!/error/$injector:nomod");2773 });2774 2775});2776 describe("error/$injector:pget", function() {2777 beforeEach(function() {2778 browser().navigateTo("index-jq-nocache.html#!/error/$injector:pget");2779 });2780 2781});2782 describe("error/$injector:unpr", function() {2783 beforeEach(function() {2784 browser().navigateTo("index-jq-nocache.html#!/error/$injector:unpr");2785 });2786 2787});2788 describe("error/$interpolate:interr", function() {2789 beforeEach(function() {2790 browser().navigateTo("index-jq-nocache.html#!/error/$interpolate:interr");2791 });2792 2793});2794 describe("error/$interpolate:noconcat", function() {2795 beforeEach(function() {2796 browser().navigateTo("index-jq-nocache.html#!/error/$interpolate:noconcat");2797 });2798 2799});2800 describe("error/jqLite:nosel", function() {2801 beforeEach(function() {2802 browser().navigateTo("index-jq-nocache.html#!/error/jqLite:nosel");2803 });2804 2805});2806 describe("error/jqLite:offargs", function() {2807 beforeEach(function() {2808 browser().navigateTo("index-jq-nocache.html#!/error/jqLite:offargs");2809 });2810 2811});2812 describe("error/jqLite:onargs", function() {2813 beforeEach(function() {2814 browser().navigateTo("index-jq-nocache.html#!/error/jqLite:onargs");2815 });2816 2817});2818 describe("error/$location:ihshprfx", function() {2819 beforeEach(function() {2820 browser().navigateTo("index-jq-nocache.html#!/error/$location:ihshprfx");2821 });2822 2823});2824 describe("error/$location:ipthprfx", function() {2825 beforeEach(function() {2826 browser().navigateTo("index-jq-nocache.html#!/error/$location:ipthprfx");2827 });2828 2829});2830 describe("error/$location:isrcharg", function() {2831 beforeEach(function() {2832 browser().navigateTo("index-jq-nocache.html#!/error/$location:isrcharg");2833 });2834 2835});2836 describe("error/ng:areq", function() {2837 beforeEach(function() {2838 browser().navigateTo("index-jq-nocache.html#!/error/ng:areq");2839 });2840 2841});2842 describe("error/ng:badname", function() {2843 beforeEach(function() {2844 browser().navigateTo("index-jq-nocache.html#!/error/ng:badname");2845 });2846 2847});2848 describe("error/ng:btstrpd", function() {2849 beforeEach(function() {2850 browser().navigateTo("index-jq-nocache.html#!/error/ng:btstrpd");2851 });2852 2853});2854 describe("error/ng:cpi", function() {2855 beforeEach(function() {2856 browser().navigateTo("index-jq-nocache.html#!/error/ng:cpi");2857 });2858 2859});2860 describe("error/ng:cpws", function() {2861 beforeEach(function() {2862 browser().navigateTo("index-jq-nocache.html#!/error/ng:cpws");2863 });2864 2865});2866 describe("error/ngModel:nonassign", function() {2867 beforeEach(function() {2868 browser().navigateTo("index-jq-nocache.html#!/error/ngModel:nonassign");2869 });2870 2871});2872 describe("error/ngOptions:iexp", function() {2873 beforeEach(function() {2874 browser().navigateTo("index-jq-nocache.html#!/error/ngOptions:iexp");2875 });2876 2877});2878 describe("error/ngPattern:noregexp", function() {2879 beforeEach(function() {2880 browser().navigateTo("index-jq-nocache.html#!/error/ngPattern:noregexp");2881 });2882 2883});2884 describe("error/ngRepeat:dupes", function() {2885 beforeEach(function() {2886 browser().navigateTo("index-jq-nocache.html#!/error/ngRepeat:dupes");2887 });2888 2889});2890 describe("error/ngRepeat:iexp", function() {2891 beforeEach(function() {2892 browser().navigateTo("index-jq-nocache.html#!/error/ngRepeat:iexp");2893 });2894 2895});2896 describe("error/ngRepeat:iidexp", function() {2897 beforeEach(function() {2898 browser().navigateTo("index-jq-nocache.html#!/error/ngRepeat:iidexp");2899 });2900 2901});2902 describe("error/ngTransclude:orphan", function() {2903 beforeEach(function() {2904 browser().navigateTo("index-jq-nocache.html#!/error/ngTransclude:orphan");2905 });2906 2907});2908 describe("error/$parse:isecdom", function() {2909 beforeEach(function() {2910 browser().navigateTo("index-jq-nocache.html#!/error/$parse:isecdom");2911 });2912 2913});2914 describe("error/$parse:isecfld", function() {2915 beforeEach(function() {2916 browser().navigateTo("index-jq-nocache.html#!/error/$parse:isecfld");2917 });2918 2919});2920 describe("error/$parse:isecfn", function() {2921 beforeEach(function() {2922 browser().navigateTo("index-jq-nocache.html#!/error/$parse:isecfn");2923 });2924 2925});2926 describe("error/$parse:isecwindow", function() {2927 beforeEach(function() {2928 browser().navigateTo("index-jq-nocache.html#!/error/$parse:isecwindow");2929 });2930 2931});2932 describe("error/$parse:lexerr", function() {2933 beforeEach(function() {2934 browser().navigateTo("index-jq-nocache.html#!/error/$parse:lexerr");2935 });2936 2937});2938 describe("error/$parse:syntax", function() {2939 beforeEach(function() {2940 browser().navigateTo("index-jq-nocache.html#!/error/$parse:syntax");2941 });2942 2943});2944 describe("error/$parse:ueoe", function() {2945 beforeEach(function() {2946 browser().navigateTo("index-jq-nocache.html#!/error/$parse:ueoe");2947 });2948 2949});2950 describe("error/$resource:badargs", function() {2951 beforeEach(function() {2952 browser().navigateTo("index-jq-nocache.html#!/error/$resource:badargs");2953 });2954 2955});2956 describe("error/$resource:badcfg", function() {2957 beforeEach(function() {2958 browser().navigateTo("index-jq-nocache.html#!/error/$resource:badcfg");2959 });2960 2961});2962 describe("error/$resource:badmember", function() {2963 beforeEach(function() {2964 browser().navigateTo("index-jq-nocache.html#!/error/$resource:badmember");2965 });2966 2967});2968 describe("error/$resource:badname", function() {2969 beforeEach(function() {2970 browser().navigateTo("index-jq-nocache.html#!/error/$resource:badname");2971 });2972 2973});2974 describe("error/$rootScope:infdig", function() {2975 beforeEach(function() {2976 browser().navigateTo("index-jq-nocache.html#!/error/$rootScope:infdig");2977 });2978 2979});2980 describe("error/$rootScope:inprog", function() {2981 beforeEach(function() {2982 browser().navigateTo("index-jq-nocache.html#!/error/$rootScope:inprog");2983 });2984 2985});2986 describe("error/$sanitize:badparse", function() {2987 beforeEach(function() {2988 browser().navigateTo("index-jq-nocache.html#!/error/$sanitize:badparse");2989 });2990 2991});2992 describe("error/$sce:icontext", function() {2993 beforeEach(function() {2994 browser().navigateTo("index-jq-nocache.html#!/error/$sce:icontext");2995 });2996 2997});2998 describe("error/$sce:iequirks", function() {2999 beforeEach(function() {3000 browser().navigateTo("index-jq-nocache.html#!/error/$sce:iequirks");3001 });3002 3003});3004 describe("error/$sce:imatcher", function() {3005 beforeEach(function() {3006 browser().navigateTo("index-jq-nocache.html#!/error/$sce:imatcher");3007 });3008 3009});3010 describe("error/$sce:insecurl", function() {3011 beforeEach(function() {3012 browser().navigateTo("index-jq-nocache.html#!/error/$sce:insecurl");3013 });3014 3015});3016 describe("error/$sce:itype", function() {3017 beforeEach(function() {3018 browser().navigateTo("index-jq-nocache.html#!/error/$sce:itype");3019 });3020 3021});3022 describe("error/$sce:iwcard", function() {3023 beforeEach(function() {3024 browser().navigateTo("index-jq-nocache.html#!/error/$sce:iwcard");3025 });3026 3027});3028 describe("error/$sce:unsafe", function() {3029 beforeEach(function() {3030 browser().navigateTo("index-jq-nocache.html#!/error/$sce:unsafe");3031 });3032 3033});3034 describe("guide/animations", function() {3035 beforeEach(function() {3036 browser().navigateTo("index-jq-nocache.html#!/guide/animations");3037 });3038 3039});3040 describe("guide/bootstrap", function() {3041 beforeEach(function() {3042 browser().navigateTo("index-jq-nocache.html#!/guide/bootstrap");3043 });3044 3045});3046 describe("guide/compiler", function() {3047 beforeEach(function() {3048 browser().navigateTo("index-jq-nocache.html#!/guide/compiler");3049 });3050 3051});3052 describe("guide/concepts", function() {3053 beforeEach(function() {3054 browser().navigateTo("index-jq-nocache.html#!/guide/concepts");3055 });3056 3057});3058 describe("guide/controller", function() {3059 beforeEach(function() {3060 browser().navigateTo("index-jq-nocache.html#!/guide/controller");3061 });3062 3063});3064 describe("guide/databinding", function() {3065 beforeEach(function() {3066 browser().navigateTo("index-jq-nocache.html#!/guide/databinding");3067 });3068 3069});3070 describe("guide/dev_guide.e2e-testing", function() {3071 beforeEach(function() {3072 browser().navigateTo("index-jq-nocache.html#!/guide/dev_guide.e2e-testing");3073 });3074 3075});3076 describe("guide/dev_guide.services.creating_services", function() {3077 beforeEach(function() {3078 browser().navigateTo("index-jq-nocache.html#!/guide/dev_guide.services.creating_services");3079 });3080 3081});3082 describe("guide/dev_guide.services.injecting_controllers", function() {3083 beforeEach(function() {3084 browser().navigateTo("index-jq-nocache.html#!/guide/dev_guide.services.injecting_controllers");3085 });3086 3087});3088 describe("guide/dev_guide.services.$location", function() {3089 beforeEach(function() {3090 browser().navigateTo("index-jq-nocache.html#!/guide/dev_guide.services.$location");3091 });3092 3093});3094 describe("guide/dev_guide.services.managing_dependencies", function() {3095 beforeEach(function() {3096 browser().navigateTo("index-jq-nocache.html#!/guide/dev_guide.services.managing_dependencies");3097 });3098 3099});3100 describe("guide/dev_guide.services", function() {3101 beforeEach(function() {3102 browser().navigateTo("index-jq-nocache.html#!/guide/dev_guide.services");3103 });3104 3105});3106 describe("guide/dev_guide.services.testing_services", function() {3107 beforeEach(function() {3108 browser().navigateTo("index-jq-nocache.html#!/guide/dev_guide.services.testing_services");3109 });3110 3111});3112 describe("guide/dev_guide.services.understanding_services", function() {3113 beforeEach(function() {3114 browser().navigateTo("index-jq-nocache.html#!/guide/dev_guide.services.understanding_services");3115 });3116 3117});3118 describe("guide/dev_guide.templates.css-styling", function() {3119 beforeEach(function() {3120 browser().navigateTo("index-jq-nocache.html#!/guide/dev_guide.templates.css-styling");3121 });3122 3123});3124 describe("guide/dev_guide.unit-testing", function() {3125 beforeEach(function() {3126 browser().navigateTo("index-jq-nocache.html#!/guide/dev_guide.unit-testing");3127 });3128 3129});3130 describe("guide/di", function() {3131 beforeEach(function() {3132 browser().navigateTo("index-jq-nocache.html#!/guide/di");3133 });3134 3135});3136 describe("guide/directive", function() {3137 beforeEach(function() {3138 browser().navigateTo("index-jq-nocache.html#!/guide/directive");3139 });3140 3141});3142 describe("guide/expression", function() {3143 beforeEach(function() {3144 browser().navigateTo("index-jq-nocache.html#!/guide/expression");3145 });3146 3147});3148 describe("guide/filter", function() {3149 beforeEach(function() {3150 browser().navigateTo("index-jq-nocache.html#!/guide/filter");3151 });3152 3153});3154 describe("guide/forms", function() {3155 beforeEach(function() {3156 browser().navigateTo("index-jq-nocache.html#!/guide/forms");3157 });3158 3159});3160 describe("guide/i18n", function() {3161 beforeEach(function() {3162 browser().navigateTo("index-jq-nocache.html#!/guide/i18n");3163 });3164 3165});3166 describe("guide/ie", function() {3167 beforeEach(function() {3168 browser().navigateTo("index-jq-nocache.html#!/guide/ie");3169 });3170 3171});3172 describe("guide/index", function() {3173 beforeEach(function() {3174 browser().navigateTo("index-jq-nocache.html#!/guide/index");3175 });3176 3177});3178 describe("guide/introduction", function() {3179 beforeEach(function() {3180 browser().navigateTo("index-jq-nocache.html#!/guide/introduction");3181 });3182 3183});3184 describe("guide/migration", function() {3185 beforeEach(function() {3186 browser().navigateTo("index-jq-nocache.html#!/guide/migration");3187 });3188 3189});3190 describe("guide/module", function() {3191 beforeEach(function() {3192 browser().navigateTo("index-jq-nocache.html#!/guide/module");3193 });3194 3195});3196 describe("guide/providers", function() {3197 beforeEach(function() {3198 browser().navigateTo("index-jq-nocache.html#!/guide/providers");3199 });3200 3201});3202 describe("guide/scope", function() {3203 beforeEach(function() {3204 browser().navigateTo("index-jq-nocache.html#!/guide/scope");3205 });3206 3207});3208 describe("guide/templates", function() {3209 beforeEach(function() {3210 browser().navigateTo("index-jq-nocache.html#!/guide/templates");3211 });3212 3213});3214 describe("misc/contribute", function() {3215 beforeEach(function() {3216 browser().navigateTo("index-jq-nocache.html#!/misc/contribute");3217 });3218 3219});3220 describe("misc/downloading", function() {3221 beforeEach(function() {3222 browser().navigateTo("index-jq-nocache.html#!/misc/downloading");3223 });3224 3225});3226 describe("misc/faq", function() {3227 beforeEach(function() {3228 browser().navigateTo("index-jq-nocache.html#!/misc/faq");3229 });3230 3231});3232 describe("misc/started", function() {3233 beforeEach(function() {3234 browser().navigateTo("index-jq-nocache.html#!/misc/started");3235 });3236 3237});3238 describe("tutorial/index", function() {3239 beforeEach(function() {3240 browser().navigateTo("index-jq-nocache.html#!/tutorial/index");3241 });3242 3243});3244 describe("tutorial/step_00", function() {3245 beforeEach(function() {3246 browser().navigateTo("index-jq-nocache.html#!/tutorial/step_00");3247 });3248 3249});3250 describe("tutorial/step_01", function() {3251 beforeEach(function() {3252 browser().navigateTo("index-jq-nocache.html#!/tutorial/step_01");3253 });3254 3255});3256 describe("tutorial/step_02", function() {3257 beforeEach(function() {3258 browser().navigateTo("index-jq-nocache.html#!/tutorial/step_02");3259 });3260 3261});3262 describe("tutorial/step_03", function() {3263 beforeEach(function() {3264 browser().navigateTo("index-jq-nocache.html#!/tutorial/step_03");3265 });3266 3267});3268 describe("tutorial/step_04", function() {3269 beforeEach(function() {3270 browser().navigateTo("index-jq-nocache.html#!/tutorial/step_04");3271 });3272 3273});3274 describe("tutorial/step_05", function() {3275 beforeEach(function() {3276 browser().navigateTo("index-jq-nocache.html#!/tutorial/step_05");3277 });3278 3279});3280 describe("tutorial/step_06", function() {3281 beforeEach(function() {3282 browser().navigateTo("index-jq-nocache.html#!/tutorial/step_06");3283 });3284 3285});3286 describe("tutorial/step_07", function() {3287 beforeEach(function() {3288 browser().navigateTo("index-jq-nocache.html#!/tutorial/step_07");3289 });3290 3291});3292 describe("tutorial/step_08", function() {3293 beforeEach(function() {3294 browser().navigateTo("index-jq-nocache.html#!/tutorial/step_08");3295 });3296 3297});3298 describe("tutorial/step_09", function() {3299 beforeEach(function() {3300 browser().navigateTo("index-jq-nocache.html#!/tutorial/step_09");3301 });3302 3303});3304 describe("tutorial/step_10", function() {3305 beforeEach(function() {3306 browser().navigateTo("index-jq-nocache.html#!/tutorial/step_10");3307 });3308 3309});3310 describe("tutorial/step_11", function() {3311 beforeEach(function() {3312 browser().navigateTo("index-jq-nocache.html#!/tutorial/step_11");3313 });3314 3315});3316 describe("tutorial/step_12", function() {3317 beforeEach(function() {3318 browser().navigateTo("index-jq-nocache.html#!/tutorial/step_12");3319 });3320 3321});3322 describe("tutorial/the_end", function() {3323 beforeEach(function() {3324 browser().navigateTo("index-jq-nocache.html#!/tutorial/the_end");3325 });3326 3327});3328 describe("api/ng.$compile", function() {3329 beforeEach(function() {3330 browser().navigateTo("index-jq-nocache.html#!/api/ng.$compile");3331 });3332 3333});3334 describe("api/ng.$compileProvider", function() {3335 beforeEach(function() {3336 browser().navigateTo("index-jq-nocache.html#!/api/ng.$compileProvider");3337 });3338 3339});3340 describe("api/ng.$compile.directive.Attributes", function() {3341 beforeEach(function() {3342 browser().navigateTo("index-jq-nocache.html#!/api/ng.$compile.directive.Attributes");3343 });3344 3345});3346 describe("api/ngAnimate", function() {3347 beforeEach(function() {3348 browser().navigateTo("index-jq-nocache.html#!/api/ngAnimate");3349 });3350 3351});3352 describe("api/ngAnimate.$animateProvider", function() {3353 beforeEach(function() {3354 browser().navigateTo("index-jq-nocache.html#!/api/ngAnimate.$animateProvider");3355 });3356 3357});3358 describe("api/ngAnimate.$animate", function() {3359 beforeEach(function() {3360 browser().navigateTo("index-jq-nocache.html#!/api/ngAnimate.$animate");3361 });3362 3363});3364 describe("api/angular.mock", function() {3365 beforeEach(function() {3366 browser().navigateTo("index-jq-nocache.html#!/api/angular.mock");3367 });3368 3369});3370 describe("api/ngMock.$exceptionHandlerProvider", function() {3371 beforeEach(function() {3372 browser().navigateTo("index-jq-nocache.html#!/api/ngMock.$exceptionHandlerProvider");3373 });3374 3375});3376 describe("api/ngMock.$exceptionHandler", function() {3377 beforeEach(function() {3378 browser().navigateTo("index-jq-nocache.html#!/api/ngMock.$exceptionHandler");3379 });3380 3381});3382 describe("api/ngMock.$log", function() {3383 beforeEach(function() {3384 browser().navigateTo("index-jq-nocache.html#!/api/ngMock.$log");3385 });3386 3387});3388 describe("api/ngMock.$interval", function() {3389 beforeEach(function() {3390 browser().navigateTo("index-jq-nocache.html#!/api/ngMock.$interval");3391 });3392 3393});3394 describe("api/angular.mock.TzDate", function() {3395 beforeEach(function() {3396 browser().navigateTo("index-jq-nocache.html#!/api/angular.mock.TzDate");3397 });3398 3399});3400 describe("api/angular.mock.dump", function() {3401 beforeEach(function() {3402 browser().navigateTo("index-jq-nocache.html#!/api/angular.mock.dump");3403 });3404 3405});3406 describe("api/ngMock.$httpBackend", function() {3407 beforeEach(function() {3408 browser().navigateTo("index-jq-nocache.html#!/api/ngMock.$httpBackend");3409 });3410 3411});3412 describe("api/ngMock.$timeout", function() {3413 beforeEach(function() {3414 browser().navigateTo("index-jq-nocache.html#!/api/ngMock.$timeout");3415 });3416 3417});3418 describe("api/ngMock", function() {3419 beforeEach(function() {3420 browser().navigateTo("index-jq-nocache.html#!/api/ngMock");3421 });3422 3423});3424 describe("api/ngMockE2E", function() {3425 beforeEach(function() {3426 browser().navigateTo("index-jq-nocache.html#!/api/ngMockE2E");3427 });3428 3429});3430 describe("api/ngMockE2E.$httpBackend", function() {3431 beforeEach(function() {3432 browser().navigateTo("index-jq-nocache.html#!/api/ngMockE2E.$httpBackend");3433 });3434 3435});3436 describe("api/angular.mock.module", function() {3437 beforeEach(function() {3438 browser().navigateTo("index-jq-nocache.html#!/api/angular.mock.module");3439 });3440 3441});3442 describe("api/angular.mock.inject", function() {3443 beforeEach(function() {3444 browser().navigateTo("index-jq-nocache.html#!/api/angular.mock.inject");3445 });3446 3447});...

Full Screen

Full Screen

index.js

Source:index.js Github

copy

Full Screen

1import {Component} from 'react'2import Cookies from 'js-cookie'3import Slider from 'react-slick'4import Loader from 'react-loader-spinner'5import Header from '../Header'6import UserStories from '../UserStories'7import InstaPosts from '../InstaPosts'8import './index.css'9const apiStatusConstants = {10 initial: 'initial',11 success: 'success',12 failure: 'failure',13 loading: 'loading',14}15class Home extends Component {16 state = {17 homePosts: [],18 userStories: [],19 searchInput: '',20 userStoriesLoadingStatus: apiStatusConstants.initial,21 homePagePostsLoadingStatus: apiStatusConstants.initial,22 searchApiStatus: apiStatusConstants.initial,23 searchRequest: false,24 }25 componentDidMount() {26 this.gettingUserHomeDetails()27 this.gettingUserStories()28 }29 onClickingSearchIcon = async () => {30 const token = Cookies.get('jwt_token')31 const {searchInput} = this.state32 if (searchInput !== '') {33 this.setState({34 searchApiStatus: apiStatusConstants.loading,35 searchRequest: true,36 })37 const apiUrl = `https://apis.ccbp.in/insta-share/posts?search=${searchInput}`38 const options = {39 headers: {40 Authorization: `Bearer ${token}`,41 },42 method: 'GET',43 }44 const response = await fetch(apiUrl, options)45 const data = await response.json()46 // console.log(data)47 if (response.ok === true) {48 const formattedData = data.posts.map(eachPost => ({49 comments: eachPost.comments.map(eachComment => ({50 username: eachComment.user_name,51 comment: eachComment.comment,52 userId: eachComment.user_id,53 })),54 createdAt: eachPost.created_at,55 likesCount: eachPost.likes_count,56 postDetails: {57 caption: eachPost.post_details.caption,58 imageUrl: eachPost.post_details.image_url,59 },60 postId: eachPost.post_id,61 profilePic: eachPost.profile_pic,62 userId: eachPost.user_id,63 userName: eachPost.user_name,64 likeStatus: false,65 }))66 // console.log(formattedData)67 this.setState({68 homePosts: formattedData,69 searchApiStatus: apiStatusConstants.success,70 })71 } else {72 this.setState({searchApiStatus: apiStatusConstants.failure})73 }74 }75 }76 searchingInput = input => {77 this.setState({searchInput: input})78 }79 gettingUserHomeDetails = async () => {80 this.setState({81 homePagePostsLoadingStatus: apiStatusConstants.loading,82 searchRequest: false,83 })84 const token = Cookies.get('jwt_token')85 const apiUrl = 'https://apis.ccbp.in/insta-share/posts'86 const options = {87 headers: {88 Authorization: `Bearer ${token}`,89 },90 method: 'GET',91 }92 const response = await fetch(apiUrl, options)93 const data = await response.json()94 // console.log(data)95 if (response.ok === true) {96 const formattedData = data.posts.map(eachPost => ({97 comments: eachPost.comments.map(eachComment => ({98 username: eachComment.user_name,99 comment: eachComment.comment,100 userId: eachComment.user_id,101 })),102 createdAt: eachPost.created_at,103 likesCount: eachPost.likes_count,104 postDetails: {105 caption: eachPost.post_details.caption,106 imageUrl: eachPost.post_details.image_url,107 },108 postId: eachPost.post_id,109 profilePic: eachPost.profile_pic,110 userId: eachPost.user_id,111 userName: eachPost.user_name,112 likeStatus: false,113 }))114 // console.log(formattedData)115 this.setState({116 homePosts: formattedData,117 homePagePostsLoadingStatus: apiStatusConstants.success,118 })119 } else {120 this.setState({homePagePostsLoadingStatus: apiStatusConstants.failure})121 }122 }123 gettingUserStories = async () => {124 this.setState({userStoriesLoadingStatus: apiStatusConstants.loading})125 const token = Cookies.get('jwt_token')126 const apiUrl = 'https://apis.ccbp.in/insta-share/stories'127 const options = {128 headers: {129 Authorization: `Bearer ${token}`,130 },131 method: 'GET',132 }133 const response = await fetch(apiUrl, options)134 const data = await response.json()135 console.log(data)136 if (response.ok === true) {137 const formattedData = data.users_stories.map(eachStory => ({138 storyUrl: eachStory.story_url,139 userId: eachStory.user_id,140 userName: eachStory.user_name,141 }))142 // console.log(formattedData)143 this.setState({144 userStories: formattedData,145 userStoriesLoadingStatus: apiStatusConstants.success,146 })147 } else {148 this.setState({userStoriesLoadingStatus: apiStatusConstants.failure})149 }150 }151 updatingLikeButton = async id => {152 const {homePosts} = this.state153 const token = Cookies.get('jwt_token')154 const apiUrl = `https://apis.ccbp.in/insta-share/posts/${id}/like`155 const requestDetails = {like_status: true}156 const options = {157 headers: {158 Authorization: `Bearer ${token}`,159 },160 method: 'POST',161 body: JSON.stringify(requestDetails),162 }163 const response = await fetch(apiUrl, options)164 const data = await response.json()165 console.log(data)166 const updatedhomePosts = homePosts.map(eachPost => {167 if (eachPost.postId === id) {168 return {169 ...eachPost,170 likeStatus: true,171 likesCount: eachPost.likesCount + 1,172 }173 }174 return eachPost175 })176 this.setState({homePosts: updatedhomePosts})177 }178 updatingUnLikeButton = async id => {179 const {homePosts} = this.state180 const token = Cookies.get('jwt_token')181 const apiUrl = `https://apis.ccbp.in/insta-share/posts/${id}/like`182 const requestDetails = {like_status: false}183 const options = {184 headers: {185 Authorization: `Bearer ${token}`,186 },187 method: 'POST',188 body: JSON.stringify(requestDetails),189 }190 const response = await fetch(apiUrl, options)191 const data = await response.json()192 console.log(data)193 const updatedhomePosts = homePosts.map(eachPost => {194 if (eachPost.postId === id) {195 return {196 ...eachPost,197 likeStatus: false,198 likesCount: eachPost.likesCount - 1,199 }200 }201 return eachPost202 })203 this.setState({homePosts: updatedhomePosts})204 }205 renderingLoader = () => (206 <div className="loader-container" testid="loader">207 <Loader type="TailSpin" color="#4094EF" height={50} width={50} />208 </div>209 )210 renderingHomePosts = () => {211 const {homePagePostsLoadingStatus, homePosts} = this.state212 switch (homePagePostsLoadingStatus) {213 case apiStatusConstants.loading:214 return (215 <div className="loader-container-home-posts" testid="loader">216 <Loader type="TailSpin" color="#4094EF" height={50} width={50} />217 </div>218 )219 case apiStatusConstants.failure:220 return this.renderingHomeFailureView()221 case apiStatusConstants.success:222 return homePosts.map(eachPost => (223 <InstaPosts224 updatingLikeButton={this.updatingLikeButton}225 updatingUnLikeButton={this.updatingUnLikeButton}226 key={eachPost.postId}227 eachPost={eachPost}228 />229 ))230 default:231 return null232 }233 }234 renderingHomePageStoreis = () => {235 const {userStoriesLoadingStatus, userStories} = this.state236 const settings = {237 dots: false,238 infinite: false,239 speed: 500,240 slidesToShow: 4,241 slidesToScroll: 1,242 responsive: [243 {244 breakpoint: 1024,245 settings: {246 slidesToShow: 4,247 slidesToScroll: 1,248 },249 },250 {251 breakpoint: 600,252 settings: {253 slidesToShow: 3,254 slidesToScroll: 1,255 },256 },257 {258 breakpoint: 480,259 settings: {260 slidesToShow: 2,261 slidesToScroll: 1,262 },263 },264 ],265 }266 switch (userStoriesLoadingStatus) {267 case apiStatusConstants.loading:268 return this.renderingLoader()269 case apiStatusConstants.failure:270 return this.renderingUserStoriesFailureView()271 case apiStatusConstants.success:272 return (273 <ul className="user-stories-container">274 <Slider {...settings}>275 {userStories.map(eachStory => (276 <UserStories key={eachStory.userId} story={eachStory} />277 ))}278 </Slider>279 </ul>280 )281 default:282 return null283 }284 }285 renderingSearchResults = () => {286 const {searchApiStatus, homePosts} = this.state287 switch (searchApiStatus) {288 case apiStatusConstants.loading:289 return (290 <div className="loader-container-search-home-posts" testid="loader">291 <Loader type="TailSpin" color="#4094EF" height={50} width={50} />292 </div>293 )294 case apiStatusConstants.failure:295 return this.renderingsearchFailureView()296 case apiStatusConstants.success:297 if (homePosts.length === 0) {298 return this.renderingSearchNotFound()299 }300 return (301 <>302 <h1 className="search-results-heading">Search Results</h1>303 {homePosts.map(eachPost => (304 <InstaPosts305 updatingLikeButton={this.updatingLikeButton}306 updatingUnLikeButton={this.updatingUnLikeButton}307 key={eachPost.postId}308 eachPost={eachPost}309 />310 ))}311 </>312 )313 default:314 return null315 }316 }317 renderingHomeFailureView = () => (318 <div className="loader-container-home-posts">319 <img320 className="failure-view-image"321 src="https://res.cloudinary.com/tejeshreddy17/image/upload/v1643991735/alert-triangle_wwsh5r.jpg"322 alt="failure view"323 />324 <p className="failure-view-description">325 Something went wrong. Please try again326 </p>327 <button328 className="failure-view-button"329 onClick={this.gettingUserHomeDetails}330 type="button"331 >332 Try again333 </button>334 </div>335 )336 renderingUserStoriesFailureView = () => (337 <div className="loader-container-home-posts">338 <img339 className="failure-view-image"340 src="https://res.cloudinary.com/tejeshreddy17/image/upload/v1643991735/alert-triangle_wwsh5r.jpg"341 alt="failure view"342 />343 <p className="failure-view-description">344 Something went wrong. Please try again345 </p>346 <button347 className="failure-view-button"348 onClick={this.gettingUserStories}349 type="button"350 >351 Try again352 </button>353 </div>354 )355 renderingSearchNotFound = () => (356 <div className="search-not-found-container">357 <img358 className="search-not-found-image"359 alt="search not found"360 src="https://res.cloudinary.com/tejeshreddy17/image/upload/v1644080071/Group_zk7ytr.jpg"361 />362 <h1 className="search-not-found-heading">Search Not Found</h1>363 <p className="search-not-found-description">364 Try different keyword or search again365 </p>366 </div>367 )368 renderingsearchFailureView = () => (369 <div className="my-profile-failure-view">370 <img371 className="failure-view-image-my-profile"372 src="https://res.cloudinary.com/tejeshreddy17/image/upload/v1643995483/Group_7522_rbojul.jpg"373 alt="failure view"374 />375 <p className="failure-view-description">376 Something went wrong. Please try again377 </p>378 <button379 className="failure-view-button"380 onClick={this.onClickingSearchIcon}381 type="button"382 >383 Try again384 </button>385 </div>386 )387 onrefreshingHome = () => {388 this.gettingUserHomeDetails()389 this.gettingUserStories()390 }391 render() {392 const {searchRequest, searchInput} = this.state393 // console.log(homePosts)394 // console.log(searchRequest)395 return (396 <div>397 <Header398 onrefreshingHome={this.onrefreshingHome}399 searchingInput={this.searchingInput}400 onClickingSearchIcon={this.onClickingSearchIcon}401 searchInput={searchInput}402 />403 <div className="HomeBackground">404 {!searchRequest && (405 <>406 {this.renderingHomePageStoreis()}407 <ul className="home-page-post-container">408 {this.renderingHomePosts()}409 </ul>410 </>411 )}412 {searchRequest && <>{this.renderingSearchResults()}</>}413 </div>414 </div>415 )416 }417}...

Full Screen

Full Screen

foreach_test.js

Source:foreach_test.js Github

copy

Full Screen

1/*global require:true, setTimeout:true */2var forEach = require('../lib/foreach').forEach;3exports['foreach'] = {4 setUp: function(done) {5 this.order = [];6 this.track = function() {7 [].push.apply(this.order, arguments);8 };9 done();10 },11 'Synchronous': function(test) {12 test.expect(1);13 var that = this;14 var arr = ["a", "b", "c"];15 forEach(arr, function(item, index, arr) {16 that.track("each", item, index, arr);17 });18 test.deepEqual(that.order, [19 "each", "a", 0, arr,20 "each", "b", 1, arr,21 "each", "c", 2, arr22 ], "should call eachFn for each array item, in order.");23 test.done();24 },25 'Synchronous, done': function(test) {26 test.expect(1);27 var that = this;28 var arr = ["a", "b", "c"];29 forEach(arr, function(item, index, arr) {30 that.track("each", item, index, arr);31 }, function(notAborted, arr) {32 that.track("done", notAborted, arr);33 });34 test.deepEqual(that.order, [35 "each", "a", 0, arr,36 "each", "b", 1, arr,37 "each", "c", 2, arr,38 "done", true, arr39 ], "should call eachFn for each array item, in order, followed by doneFn.");40 test.done();41 },42 'Synchronous, early abort': function(test) {43 test.expect(1);44 var that = this;45 var arr = ["a", "b", "c"];46 forEach(arr, function(item, index, arr) {47 that.track("each", item, index, arr);48 if (item === "b") { return false; }49 }, function(notAborted, arr) {50 that.track("done", notAborted, arr);51 });52 test.deepEqual(that.order, [53 "each", "a", 0, arr,54 "each", "b", 1, arr,55 "done", false, arr56 ], "should call eachFn for each array item, in order, followed by doneFn.");57 test.done();58 },59 'Asynchronous': function(test) {60 test.expect(1);61 var that = this;62 var arr = ["a", "b", "c"];63 forEach(arr, function(item, index, arr) {64 that.track("each", item, index, arr);65 var done = this.async();66 setTimeout(done, 10);67 });68 69 setTimeout(function() {70 test.deepEqual(that.order, [71 "each", "a", 0, arr,72 "each", "b", 1, arr,73 "each", "c", 2, arr74 ], "should call eachFn for each array item, in order.");75 test.done();76 }, 100);77 },78 'Asynchronous, done': function(test) {79 test.expect(1);80 var that = this;81 var arr = ["a", "b", "c"];82 forEach(arr, function(item, index, arr) {83 that.track("each", item, index, arr);84 var done = this.async();85 setTimeout(done, 10);86 }, function(notAborted, arr) {87 that.track("done", notAborted, arr);88 test.deepEqual(that.order, [89 "each", "a", 0, arr,90 "each", "b", 1, arr,91 "each", "c", 2, arr,92 "done", true, arr93 ], "should call eachFn for each array item, in order, followed by doneFn.");94 test.done();95 });96 },97 'Asynchronous, early abort': function(test) {98 test.expect(1);99 var that = this;100 var arr = ["a", "b", "c"];101 forEach(arr, function(item, index, arr) {102 that.track("each", item, index, arr);103 var done = this.async();104 setTimeout(function() {105 done(item !== "b");106 }, 10);107 }, function(notAborted, arr) {108 that.track("done", notAborted, arr);109 test.deepEqual(that.order, [110 "each", "a", 0, arr,111 "each", "b", 1, arr,112 "done", false, arr113 ], "should call eachFn for each array item, in order, followed by doneFn.");114 test.done();115 });116 },117 'Not actually asynchronous': function(test) {118 test.expect(1);119 var that = this;120 var arr = ["a", "b", "c"];121 forEach(arr, function(item, index, arr) {122 that.track("each", item, index, arr);123 var done = this.async();124 done();125 }, function(notAborted, arr) {126 that.track("done", notAborted, arr);127 test.deepEqual(that.order, [128 "each", "a", 0, arr,129 "each", "b", 1, arr,130 "each", "c", 2, arr,131 "done", true, arr132 ], "should call eachFn for each array item, in order, followed by doneFn.");133 test.done();134 });135 },136 'Not actually asynchronous, early abort': function(test) {137 test.expect(1);138 var that = this;139 var arr = ["a", "b", "c"];140 forEach(arr, function(item, index, arr) {141 that.track("each", item, index, arr);142 var done = this.async();143 done(item !== "b");144 }, function(notAborted, arr) {145 that.track("done", notAborted, arr);146 test.deepEqual(that.order, [147 "each", "a", 0, arr,148 "each", "b", 1, arr,149 "done", false, arr150 ], "should call eachFn for each array item, in order, followed by doneFn.");151 test.done();152 });153 },154 'Sparse array support': function(test) {155 test.expect(1);156 var that = this;157 var arr = [];158 arr[0] = "a";159 arr[9] = "z";160 forEach(arr, function(item, index, arr) {161 that.track("each", item, index, arr);162 });163 test.deepEqual(that.order, [164 "each", "a", 0, arr,165 "each", "z", 9, arr166 ], "should skip nonexistent array items.");167 test.done();168 },169 'Invalid length sanitization': function(test) {170 test.expect(1);171 var that = this;172 var obj = {length: 4294967299, 0: "a", 2: "b", 3: "c" };173 forEach(obj, function(item, index, arr) {174 that.track("each", item, index, arr);175 });176 test.deepEqual(that.order, [177 "each", "a", 0, obj,178 "each", "b", 2, obj179 ], "should sanitize length property (ToUint32).");180 test.done();181 }...

Full Screen

Full Screen

SinonQunitBridge.qunit.js

Source:SinonQunitBridge.qunit.js Github

copy

Full Screen

1/*!2 * ${copyright}3 */4(function () {5 "use strict";6 /*global foo, QUnit, sinon */7 // global test object which is mocked in each test to ensure that verifyAndRestore must run8 window.foo = {9 bar : function () {},10 baz : function () {}11 };12 // QUnit.todo does not exist in QUnit 1. Use QUnit.test instead -> the errors will be visible.13 QUnit.todo = QUnit.todo || QUnit.test;14 function afterEach() {15 sinon.assert.pass("pass");16 }17 function beforeEach() {18 this.mock(foo).expects("bar").withExactArgs("baz").returns(42);19 }20 var oHooks = {21 beforeEach : beforeEach,22 afterEach : afterEach23 };24 function useMock(assert) {25 assert.strictEqual(foo.bar("baz"), 42, "use mock");26 }27 // QUnit.module("nested 1", function () {});28 // QUnit.module("nested 2", {}, function () {});29 QUnit.module("no module object");30 QUnit.test("test", function (assert) {31 this.mock(foo).expects("bar").withExactArgs("baz").returns(42);32 useMock(assert);33 this.spy(foo, "baz");34 foo.baz("qux");35 sinon.assert.calledWithExactly(foo.baz, "qux");36 });37 QUnit.module("empty module object", {});38 QUnit.test("test", function (assert) {39 this.mock(foo).expects("bar").withExactArgs("baz").returns(42);40 useMock(assert);41 this.stub(foo, "baz");42 foo.baz("qux");43 sinon.assert.calledWithExactly(foo.baz, "qux");44 });45 QUnit.module("beforeEach/afterEach", oHooks);46 QUnit.test("test", useMock);47 QUnit.module("afterEach throws error", {48 beforeEach : function () {49 this.mock(foo).expects("bar").withExactArgs("baz").returns(42);50 },51 afterEach : function () {52 throw new Error("afterEach failed intentionally");53 }54 });55 // This test MUST report the failure 'afterEach failed on test: afterEach failed intentionally'56 QUnit.todo("test", useMock);57 QUnit.module("afterEach returns Promise", {58 beforeEach : function () {59 this.mock(foo).expects("bar").withExactArgs("baz").returns(42);60 },61 afterEach : function () {62 return new Promise(function (resolve) {63 setTimeout(function () {64 sinon.assert.pass("pass in Promise");65 resolve();66 }, 0);67 });68 }69 });70 QUnit.test("test", useMock);71 QUnit.module("afterEach Promise fails", {72 beforeEach : function () {73 this.mock(foo).expects("bar").withExactArgs("baz").returns(42);74 },75 afterEach : function () {76 return new Promise(function (resolve, reject) {77 setTimeout(function () {78 reject(new Error("afterEach Promise rejected intentionally"));79 }, 0);80 });81 }82 });83 // This test MUST report the failure 'Promise rejected after "test": afterEach Promise rejected84 // intentionally'85 QUnit.todo("test", useMock);86 QUnit.module("beforeEach/afterEach again", oHooks);87 QUnit.test("test1", useMock);88 QUnit.test("test2", useMock);...

Full Screen

Full Screen

utils.js

Source:utils.js Github

copy

Full Screen

...11 * @returns {void}12 **/13 eachPair(collection, method) {14 let index = 0;15 _.each(collection, (item, i) => {16 if (i % 2 === 1) {17 return;18 }19 method(collection[i], collection[i + 1], index++);20 });21 },22 /**23 * Map methodName on each pair of elements in the collection.24 * Example:25 * eachPair([1, 2, 3], fn()) will map fn(1, 2), fn(3, undefined);26 *27 * @param {Array} collection The list of elements28 * @param {Function} method The method to map on each pair29 * @returns {Array} An array of each pair of element passed through method30 **/31 mapPair(collection, method) {32 let index = 0;33 const results = [];34 _.each(collection, (item, i) => {35 if (i % 2 === 1) {36 return;37 }38 results.push(method(collection[i], collection[i + 1], index++));39 });40 return results;41 },42 /**43 * Call methodName on each pair of elements in the collection. This will slide44 * through all elements45 * Example:46 * eachPairSlide([1, 2, 3], fn()) will call fn(1, 2), fn(2, 3) and fn(3, undefined);47 *48 * @param {Array} collection The list of elements49 * @param {Function} method The method to call on each pair50 * @returns {void}51 **/52 eachPairSlide(collection, method) {53 _.each(collection, (item, i) => {54 method(collection[i], collection[i + 1], i);55 });56 },57 /**58 * Map methodName on each pair of elements in the collection. This will slide59 * through all elements60 * Example:61 * mapPairSlide([1, 2, 3], fn()) will return fn(1, 2), fn(2, 3) and fn(3, undefined);62 *63 * @param {Array} collection The list of elements64 * @param {Function} method The method to call on each pair65 * @returns {Array} An array of each pair of element passed through method66 **/67 mapPairSlide(collection, method) {...

Full Screen

Full Screen

Array.js

Source:Array.js Github

copy

Full Screen

1Ext.data.array= {2 3 select: function(a,fn,scope) {4 var r= [];5 if (a) {6 a.forEach(function(i) {7 if (i!==undefined && fn.call(scope||i,i)) { r.push(i) } 8 })9 }10 return r;11 },12 index: function(a,fn,scope) {13 if (a) {14 var j, l= a.length;15 for(var i= 0;i<l;i++) {16 j= a[i];17 if(fn.call(scope||j,j)) { return i }18 }19 }20 },21 collect: function(a,fn,scope) {22 var r= [];23 if (a) {24 a.forEach(function(i){ if (i!==undefined) { r.push(fn.call(scope||i,i)) }})25 }26 return r;27 },28 29 includes: function(a,v) {30 if (a) {31 var l= a.length;32 for(var i= 0;i<l;i++) {33 if(a[i]===v) { return true }34 }35 }36 return false;37 },38 remove: function(a,v) {39 var r= [];40 if (a) {41 var j, l= a.length;42 for(var i= 0;i<l;i++) {43 j= a[i];44 if(j!==v) { r.push(j) }45 }46 }47 return r;48 },49 any: function(a,fn,scope) {50 var j, l= a.length;51 for(var i= 0;i<l;i++) {52 j= a[i];53 if(fn.call(scope||j,j)) { return true }54 }55 return false56 },57 all: function(a,fn,scope) {58 var j, l= a.length;59 for(var i= 0;i<l;i++) {60 var j= a[i];61 if(!fn.call(scope||j,j)) { return false }62 }63 return true64 },65 66 forEachAsync: function(a,each_fn,each_scope,done_fn,done_scope) {67 if (!each_fn) { throw "ERROR - Ext.data.Array - forEachAsync - no 'each' function provided" }68 if (!done_fn) { throw "ERROR - Ext.data.Array - forEachAsync - no 'done' function provided" }69 var i= 0;70 var l= a.length;71 var f= function f() {72 if (i<l) {73 var j= a[i];74 var scope= each_scope||j;75 i= i+1;76 each_fn.call(scope,j,f,scope);77 } else {78 done_fn.call(done_scope);79 }80 };81 f();82 },83 forEachYielding: function(a,each_fn,each_scope,done_fn,done_scope) {84 var i= 0;85 var l= a.length;86 function f() {87 if (i<l) {88 each_fn.call(each_scope,a[i],function(){89 i= i+1;90 setTimeout(f,20); // ms91 },this);92 } else {93 done_fn.call(done_scope);94 }95 };96 f();97 } ...

Full Screen

Full Screen

exercicio-5.test.js

Source:exercicio-5.test.js Github

copy

Full Screen

1beforeEach(() => console.log('1 - beforeEach'));2afterEach(() => console.log('1 - afterEach'));3test('', () => console.log('1 - test'));4describe('Scoped / Nested block', () => {5 beforeEach(() => console.log('2 - beforeEach'));6 afterEach(() => console.log('2 - afterEach'));7 test('', () => console.log('2 - test'));8});9// 1 - beforeEach10// 1 - test11// 1 - afterEach12// 1 - beforeEach13// 2 - beforeEach14// 2 - test15// 2 - afterEach...

Full Screen

Full Screen

ex5.test.js

Source:ex5.test.js Github

copy

Full Screen

1beforeEach(() => console.log('1 - beforeEach'));2afterEach(() => console.log('1 - afterEach'));3test('', () => console.log('1 - test'));4describe('Scoped / Nested block', () => {5 beforeEach(() => console.log('2 - beforeEach'));6 afterEach(() => console.log('2 - afterEach'));7 test('', () => console.log('2 - test'));8});9// 1 - beforeEach10// 1 - test11// 1 - afterEach12// 1 - beforeEach13// 2 - beforeEach14// 2 - test15// 2 - afterEach...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1var sinon = require('sinon');2var assert = require('assert');3var myObj = {4 add: function(a, b) {5 return a + b;6 },7 sub: function(a, b) {8 return a - b;9 }10};11describe('myObj', function() {12 it('should return 10 for add', function() {13 var spy = sinon.spy(myObj, 'add');

Full Screen

Using AI Code Generation

copy

Full Screen

1var sinon = require('sinon');2var spy = sinon.spy();3var stub = sinon.stub();4var mock = sinon.mock();5var server = sinon.fakeServer.create();6var clock = sinon.useFakeTimers();7var xhr = sinon.useFakeXMLHttpRequest();8var server = sinon.fakeServer.create();9var xhr = sinon.useFakeXMLHttpRequest();10var server = sinon.fakeServer.create();11var xhr = sinon.useFakeXMLHttpRequest();12var clock = sinon.useFakeTimers();13var server = sinon.fakeServer.create();14var xhr = sinon.useFakeXMLHttpRequest();15var clock = sinon.useFakeTimers();16var stub = sinon.stub();17var server = sinon.fakeServer.create();18var xhr = sinon.useFakeXMLHttpRequest();19var clock = sinon.useFakeTimers();20var stub = sinon.stub();21var spy = sinon.spy();22var server = sinon.fakeServer.create();23var xhr = sinon.useFakeXMLHttpRequest();24var clock = sinon.useFakeTimers();25var stub = sinon.stub();26var spy = sinon.spy();27var mock = sinon.mock();28var server = sinon.fakeServer.create();29var xhr = sinon.useFakeXMLHttpRequest();30var clock = sinon.useFakeTimers();31var stub = sinon.stub();32var spy = sinon.spy();33var mock = sinon.mock();34var sandbox = sinon.sandbox.create();35var server = sinon.fakeServer.create();36var xhr = sinon.useFakeXMLHttpRequest();37var clock = sinon.useFakeTimers();38var stub = sinon.stub();39var spy = sinon.spy();40var mock = sinon.mock();41var sandbox = sinon.sandbox.create();42var spy = sinon.spy();43var stub = sinon.stub();44var mock = sinon.mock();45var clock = sinon.useFakeTimers();46var xhr = sinon.useFakeXMLHttpRequest();47var server = sinon.fakeServer.create();

Full Screen

Using AI Code Generation

copy

Full Screen

1var spy = sinon.spy();2spy("test");3spy.withArgs("test").calledOnce;4spy.withArgs("test").calledTwice;5spy.withArgs("test").calledThrice;6spy.withArgs("test").callCount;7spy.withArgs("test").calledBefore(spy);8spy.withArgs("test").calledAfter(spy);9spy.withArgs("test").calledOn(spy);10spy.withArgs("test").alwaysCalledOn(spy);11spy.withArgs("test").calledWith("test");12spy.withArgs("test").calledWithExactly("test");13spy.withArgs("test").alwaysCalledWith("test");14spy.withArgs("test").alwaysCalledWithExactly("test");15spy.withArgs("test").neverCalledWith("test");16spy.withArgs("test").threw();17spy.withArgs("test").returned();18spy.withArgs("test").calledWithNew();19spy.withArgs("test").alwaysCalledWithNew();20spy.withArgs("test").calledWithMatch("test");21spy.withArgs("test").alwaysCalledWithMatch("test");22spy.withArgs("test").neverCalledWithMatch("test");23spy.withArgs("test").calledWithExactly("test");24spy.withArgs("test").alwaysCalledWithExactly("test");25spy.withArgs("test").neverCalledWithExactly("test");26spy.withArgs("test").firstCall;27spy.withArgs("test").secondCall;28spy.withArgs("test").thirdCall;29spy.withArgs("test").lastCall;30spy.withArgs("test").calledImmediatelyBefore(spy);31spy.withArgs("test").calledImmediatelyAfter(spy);32spy.withArgs("test").calledInOrder(spy);33spy.withArgs("test").calledWithNew();34spy.withArgs("test").alwaysCalledWithNew();35spy.withArgs("test").calledWithMatch("test");36spy.withArgs("test").alwaysCalledWithMatch("test");37spy.withArgs("test").neverCalledWithMatch("test");38spy.withArgs("test").calledWithExactly("test");39spy.withArgs("test").alwaysCalledWithExactly("test");40spy.withArgs("test").neverCalledWithExactly("test");41spy.withArgs("test").firstCall;42spy.withArgs("test").secondCall;43spy.withArgs("test").thirdCall;44spy.withArgs("test").lastCall;45spy.withArgs("test").calledImmediatelyBefore(spy);46spy.withArgs("test").calledImmediatelyAfter(spy);

Full Screen

Using AI Code Generation

copy

Full Screen

1var sinon = require('sinon');2var myObj = {3 myMethod: function() {4 return true;5 }6};7var spy = sinon.spy(myObj, 'myMethod');8spy.calledWith('foo', 'bar', 'baz', 'quux', '

Full Screen

Using AI Code Generation

copy

Full Screen

1var sinon = require('sinon');2var chai = require('chai');3var expect = chai.expect;4var sinonChai = require('sinon-chai');5chai.use(sinonChai);6var stub = sinon.stub().returns('stub');7expect(stub()).to.equal('stub');8var spy = sinon.spy();9spy('spy');10expect(spy).to.have.been.called;11var mock = sinon.mock();12mock.expects('mock').once();13mock.verify();14expect(mock).to.have.been.called;15var fake = sinon.fake();16fake('fake');17expect(fake).to.have.been.called;18var server = sinon.fakeServer.create();19server.respondWith('GET', '/test', [200, { 'Content-Type': 'text/plain' }, 'OK']);20server.respond();21expect(server).to.have.been.called;22stub.restore();23spy.restore();24mock.restore();25fake.restore();26server.restore();27var server = sinon.fakeServer.create();28server.respondWith('GET', '/test', [200, { 'Content-Type': 'text/plain' }, 'OK']);29server.respond();30expect(server).to.have.been.called;31server.restore();32var server = sinon.fakeServer.create();33server.respondWith('GET', '/test', [200, { 'Content-Type': 'text/plain' }, 'OK']);34server.respond();35expect(server).to.have.been.called;36server.restore();37var server = sinon.fakeServer.create();38server.respondWith('GET', '/test', [200, { 'Content-Type': 'text/plain' }, 'OK']);39server.respond();40expect(server).to.have.been.called;41server.restore();42var server = sinon.fakeServer.create();43server.respondWith('GET', '/test', [200, { 'Content-Type': 'text/plain' }, 'OK']);44server.respond();45expect(server).to.have.been.called;46server.restore();

Full Screen

Using AI Code Generation

copy

Full Screen

1const sinon = require('sinon');2const obj = {3 method: function() {4 return 'Hello World';5 }6};7const obj2 = {8 method: function() {9 return 'Hello World';10 }11};12const obj3 = {13 method: function() {14 return 'Hello World';15 }16};17const obj4 = {18 method: function() {19 return 'Hello World';20 }21};22const obj5 = {23 method: function() {24 return 'Hello World';25 }26};27const obj6 = {28 method: function() {29 return 'Hello World';30 }31};32const obj7 = {33 method: function() {34 return 'Hello World';35 }36};37const obj8 = {38 method: function() {39 return 'Hello World';40 }41};42const obj9 = {43 method: function() {44 return 'Hello World';45 }46};47const obj10 = {48 method: function() {49 return 'Hello World';50 }51};52const obj11 = {53 method: function() {54 return 'Hello World';55 }56};57const obj12 = {58 method: function() {59 return 'Hello World';60 }61};62const obj13 = {63 method: function() {64 return 'Hello World';65 }66};67const obj14 = {68 method: function() {69 return 'Hello World';70 }71};72const obj15 = {73 method: function() {74 return 'Hello World';75 }76};77const obj16 = {78 method: function() {79 return 'Hello World';80 }81};82const obj17 = {83 method: function() {84 return 'Hello World';85 }86};87const obj18 = {88 method: function() {89 return 'Hello World';90 }91};92const obj19 = {93 method: function() {94 return 'Hello World';95 }96};97const obj20 = {98 method: function() {

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run sinon automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful