• Home
  • Raw
  • Download

Lines Matching full:to

9  * Unless required by applicable law or agreed to in writing, software
265 expect(hspObfuscationContent).not.to.include('-disable-obfuscation');
266 expect(hspObfuscationContent).to.include('-enable-toplevel-obfuscation');
267 expect(hspObfuscationContent).not.to.include('-enable-property-obfuscation');
268 expect(hspObfuscationContent).not.to.include('-enable-string-property-obfuscation');
269 expect(hspObfuscationContent).not.to.include('-enable-filename-obfuscation');
270 expect(hspObfuscationContent).not.to.include('-enable-export-obfuscation');
271 expect(hspObfuscationContent).not.to.include('-remove-comments');
272 expect(hspObfuscationContent).not.to.include('-compact');
273 expect(hspObfuscationContent).not.to.include('-remove-log');
275 expect(hspObfuscationContent).not.to.include('-keep-dts');
276 expect(hspObfuscationContent).to.include('-keep-global-name');
277 expect(hspObfuscationContent).to.include('-keep-property-name');
278 expect(hspObfuscationContent).not.to.include('-keep-file-name');
279 expect(hspObfuscationContent).not.to.include('-keep-comments');
281 expect(hspObfuscationContent).to.include('localHspMethod');
282 expect(hspObfuscationContent).to.include('LocalHspClass');
283 expect(hspObfuscationContent).not.to.include('LocalHarClass');
284 expect(hspObfuscationContent).not.to.include('localHarMethod');
285 expect(hspObfuscationContent).not.to.include('RemoteHarClass');
286 expect(hspObfuscationContent).not.to.include('remoteHarMethod');
293 expect(finalConfig.options.enableToplevelObfuscation).to.be.false;
294 expect(finalConfig.options.enableExportObfuscation).to.be.true;
295 expect(finalConfig.options.enablePropertyObfuscation).to.be.false;
296 expect(finalConfig.options.disableObfuscation).to.be.false;
297 expect(finalConfig.options.enableStringPropertyObfuscation).to.be.false;
298 expect(finalConfig.options.enableFileNameObfuscation).to.be.false;
299 expect(finalConfig.options.printKeptNames).to.be.false;
300 expect(finalConfig.options.removeComments).to.be.false;
301 expect(finalConfig.options.compact).to.be.false;
302 expect(finalConfig.options.removeLog).to.be.false;
304 expect(finalConfig.reservedGlobalNames).to.include('LocalHspClass');
305 expect(finalConfig.reservedPropertyNames).to.include('localHspMethod');
306 expect(finalConfig.reservedGlobalNames).not.to.include('LocalHarClass');
307 expect(finalConfig.reservedPropertyNames).not.to.include('localHarMethod');
308 expect(finalConfig.reservedNames.length).to.equal(0);
309 expect(finalConfig.reservedFileNames.length).to.equal(0);
310 expect(finalConfig.keepComments.length).to.equal(0);
311 expect(finalConfig.keepSourceOfPaths.length).to.equal(0);
312 expect(finalConfig.universalReservedPropertyNames.length).to.equal(0);
313 expect(finalConfig.universalReservedGlobalNames.length).to.equal(0);
314 expect(finalConfig.keepUniversalPaths.length).to.equal(0);
315 expect(finalConfig.excludeUniversalPaths.length).to.equal(0);
316 expect(finalConfig.excludePathSet.size).to.equal(0);
342 expect(localHarObfuscationContent).to.include('-enable-toplevel-obfuscation');
343 expect(localHarObfuscationContent).to.include('-enable-property-obfuscation');
344 expect(localHarObfuscationContent).not.to.include('-enable-string-property-obfuscation');
345 expect(localHarObfuscationContent).not.to.include('-enable-filename-obfuscation');
346 expect(localHarObfuscationContent).not.to.include('-enable-export-obfuscation');
347 expect(localHarObfuscationContent).not.to.include('-remove-comments');
348 expect(localHarObfuscationContent).not.to.include('-compact');
349 expect(localHarObfuscationContent).not.to.include('-remove-log');
351 expect(localHarObfuscationContent).to.include('-keep-global-name');
352 expect(localHarObfuscationContent).to.include('-keep-property-name');
353 expect(localHarObfuscationContent).not.to.include('-keep-file-name');
354 expect(localHarObfuscationContent).not.to.include('-keep-comments');
355 expect(localHarObfuscationContent).not.to.include('-keep-dts');
357 expect(localHarObfuscationContent).to.include('LocalHspClass');
358 expect(localHarObfuscationContent).to.include('localHspMethod');
359 expect(localHarObfuscationContent).to.include('LocalHarClass');
360 expect(localHarObfuscationContent).to.include('localHarMethod');
369 expect(finalConfig.options.enableToplevelObfuscation).to.be.false;
370 expect(finalConfig.options.enableExportObfuscation).to.be.true;
371 expect(finalConfig.options.enablePropertyObfuscation).to.be.false;
372 expect(finalConfig.options.disableObfuscation).to.be.false;
373 expect(finalConfig.options.enableStringPropertyObfuscation).to.be.false;
374 expect(finalConfig.options.enableFileNameObfuscation).to.be.false;
375 expect(finalConfig.options.printKeptNames).to.be.false;
376 expect(finalConfig.options.removeComments).to.be.false;
377 expect(finalConfig.options.compact).to.be.false;
378 expect(finalConfig.options.removeLog).to.be.false;
380 expect(finalConfig.reservedGlobalNames).to.include('LocalHarClass');
381 expect(finalConfig.reservedPropertyNames).to.include('localHarMethod');
382 expect(finalConfig.reservedGlobalNames).to.include('LocalHarClass');
383 expect(finalConfig.reservedPropertyNames).to.include('localHarMethod');
384 expect(finalConfig.reservedNames.length).to.equal(0);
385 expect(finalConfig.reservedFileNames.length).to.equal(0);
386 expect(finalConfig.keepComments.length).to.equal(0);
387 expect(finalConfig.keepSourceOfPaths.length).to.equal(0);
388 expect(finalConfig.universalReservedPropertyNames.length).to.equal(0);
389 expect(finalConfig.universalReservedGlobalNames.length).to.equal(0);
390 expect(finalConfig.keepUniversalPaths.length).to.equal(0);
391 expect(finalConfig.excludeUniversalPaths.length).to.equal(0);
392 expect(finalConfig.excludePathSet.size).to.equal(0);
421 expect(localHarObfuscationContent).to.include('-remove-log');
422 expect(localHarObfuscationContent).to.include('-enable-property-obfuscation');
423 expect(localHarObfuscationContent).not.to.include('-enable-toplevel-obfuscation');
424 expect(localHarObfuscationContent).not.to.include('-enable-string-property-obfuscation');
425 expect(localHarObfuscationContent).not.to.include('-enable-filename-obfuscation');
426 expect(localHarObfuscationContent).not.to.include('-enable-export-obfuscation');
427 expect(localHarObfuscationContent).not.to.include('-remove-comments');
428 expect(localHarObfuscationContent).not.to.include('-compact');
430 expect(localHarObfuscationContent).to.include('-keep-global-name');
431 expect(localHarObfuscationContent).to.include('-keep-property-name');
432 expect(localHarObfuscationContent).not.to.include('-keep-file-name');
433 expect(localHarObfuscationContent).not.to.include('-keep-comments');
434 expect(localHarObfuscationContent).not.to.include('-keep-dts');
436 expect(localHarObfuscationContent).to.include('RemoteHspClass');
437 expect(localHarObfuscationContent).to.include('remoteHspMethod');
438 expect(localHarObfuscationContent).to.include('LocalHarClass');
439 expect(localHarObfuscationContent).to.include('localHarMethod');
448 expect(finalConfig.options.removeLog).to.be.false;
449 expect(finalConfig.options.enablePropertyObfuscation).to.be.false;
450 expect(finalConfig.options.enableExportObfuscation).to.be.true;
451 expect(finalConfig.options.enableToplevelObfuscation).to.be.false;
452 expect(finalConfig.options.disableObfuscation).to.be.false;
453 expect(finalConfig.options.enableStringPropertyObfuscation).to.be.false;
454 expect(finalConfig.options.enableFileNameObfuscation).to.be.false;
455 expect(finalConfig.options.printKeptNames).to.be.false;
456 expect(finalConfig.options.removeComments).to.be.false;
457 expect(finalConfig.options.compact).to.be.false;
459 expect(finalConfig.reservedGlobalNames).to.include('LocalHarClass');
460 expect(finalConfig.reservedPropertyNames).to.include('localHarMethod');
461 expect(finalConfig.reservedGlobalNames).to.include('RemoteHspClass');
462 expect(finalConfig.reservedPropertyNames).to.include('remoteHspMethod');
463 expect(finalConfig.reservedNames.length).to.equal(0);
464 expect(finalConfig.reservedFileNames.length).to.equal(0);
465 expect(finalConfig.keepComments.length).to.equal(0);
466 expect(finalConfig.keepSourceOfPaths.length).to.equal(0);
467 expect(finalConfig.universalReservedPropertyNames.length).to.equal(0);
468 expect(finalConfig.universalReservedGlobalNames.length).to.equal(0);
469 expect(finalConfig.keepUniversalPaths.length).to.equal(0);
470 expect(finalConfig.excludeUniversalPaths.length).to.equal(0);
471 expect(finalConfig.excludePathSet.size).to.equal(0);
497 expect(finalConfig.options.compact).to.be.false;
498 expect(finalConfig.options.enableToplevelObfuscation).to.be.false;
499 expect(finalConfig.options.enableExportObfuscation).to.be.true;
500 expect(finalConfig.options.removeLog).to.be.false;
501 expect(finalConfig.options.enablePropertyObfuscation).to.be.false;
502 expect(finalConfig.options.disableObfuscation).to.be.false;
503 expect(finalConfig.options.enableStringPropertyObfuscation).to.be.false;
504 expect(finalConfig.options.enableFileNameObfuscation).to.be.false;
505 expect(finalConfig.options.printKeptNames).to.be.false;
506 expect(finalConfig.options.removeComments).to.be.false;
508 expect(finalConfig.reservedGlobalNames).to.include('RemoteHarClass');
509 expect(finalConfig.reservedPropertyNames).to.include('remoteHarMethod');
510 expect(finalConfig.reservedGlobalNames).to.include('LocalHspClass');
511 expect(finalConfig.reservedPropertyNames).to.include('localHspMethod');
512 expect(finalConfig.reservedNames.length).to.equal(0);
513 expect(finalConfig.reservedFileNames.length).to.equal(0);
514 expect(finalConfig.keepComments.length).to.equal(0);
515 expect(finalConfig.keepSourceOfPaths.length).to.equal(0);
516 expect(finalConfig.universalReservedPropertyNames.length).to.equal(0);
517 expect(finalConfig.universalReservedGlobalNames.length).to.equal(0);
518 expect(finalConfig.keepUniversalPaths.length).to.equal(0);
519 expect(finalConfig.excludeUniversalPaths.length).to.equal(0);
520 expect(finalConfig.excludePathSet.size).to.equal(0);
546 expect(finalConfig.options.compact).to.be.false;
547 expect(finalConfig.options.removeLog).to.be.false;
548 expect(finalConfig.options.enableExportObfuscation).to.be.true;
549 expect(finalConfig.options.enableToplevelObfuscation).to.be.false;
550 expect(finalConfig.options.enablePropertyObfuscation).to.be.false;
551 expect(finalConfig.options.disableObfuscation).to.be.false;
552 expect(finalConfig.options.enableStringPropertyObfuscation).to.be.false;
553 expect(finalConfig.options.enableFileNameObfuscation).to.be.false;
554 expect(finalConfig.options.printKeptNames).to.be.false;
555 expect(finalConfig.options.removeComments).to.be.false;
557 expect(finalConfig.reservedGlobalNames).to.include('RemoteHarClass');
558 expect(finalConfig.reservedPropertyNames).to.include('remoteHarMethod');
559 expect(finalConfig.reservedGlobalNames).to.include('RemoteHspClass');
560 expect(finalConfig.reservedPropertyNames).to.include('remoteHspMethod');
561 expect(finalConfig.reservedNames.length).to.equal(0);
562 expect(finalConfig.reservedFileNames.length).to.equal(0);
563 expect(finalConfig.keepComments.length).to.equal(0);
564 expect(finalConfig.keepSourceOfPaths.length).to.equal(0);
565 expect(finalConfig.universalReservedPropertyNames.length).to.equal(0);
566 expect(finalConfig.universalReservedGlobalNames.length).to.equal(0);
567 expect(finalConfig.keepUniversalPaths.length).to.equal(0);
568 expect(finalConfig.excludeUniversalPaths.length).to.equal(0);
569 expect(finalConfig.excludePathSet.size).to.equal(0);
599 expect(localMainHspObfuscationContent).not.to.include('-enable-filename-obfuscation');
600 expect(localMainHspObfuscationContent).not.to.include('-remove-log');
601 expect(localMainHspObfuscationContent).not.to.include('-enable-property-obfuscation');
602 expect(localMainHspObfuscationContent).not.to.include('-enable-toplevel-obfuscation');
603 … expect(localMainHspObfuscationContent).not.to.include('-enable-string-property-obfuscation');
604 expect(localMainHspObfuscationContent).not.to.include('-enable-export-obfuscation');
605 expect(localMainHspObfuscationContent).not.to.include('-remove-comments');
606 expect(localMainHspObfuscationContent).not.to.include('-compact');
608 expect(localMainHspObfuscationContent).to.include('-keep-global-name');
609 expect(localMainHspObfuscationContent).to.include('-keep-property-name');
610 expect(localMainHspObfuscationContent).not.to.include('-keep-file-name');
611 expect(localMainHspObfuscationContent).not.to.include('-keep-comments');
612 expect(localMainHspObfuscationContent).not.to.include('-keep-dts');
614 expect(localMainHspObfuscationContent).to.include('LocalMainHspClass');
615 expect(localMainHspObfuscationContent).to.include('localMainHspGreeting');
616 expect(localMainHspObfuscationContent).not.to.include('LocalHspClass');
617 expect(localMainHspObfuscationContent).not.to.include('localHspMethod');
618 expect(localMainHspObfuscationContent).not.to.include('RemoteHspClass');
619 expect(localMainHspObfuscationContent).not.to.include('remoteHspMethod');
627 expect(finalConfig.options.enableFileNameObfuscation).to.be.false;
628 expect(finalConfig.options.enableExportObfuscation).to.be.true;
629 expect(finalConfig.options.compact).to.be.false;
630 expect(finalConfig.options.removeLog).to.be.false;
631 expect(finalConfig.options.enableToplevelObfuscation).to.be.false;
632 expect(finalConfig.options.enablePropertyObfuscation).to.be.false;
633 expect(finalConfig.options.disableObfuscation).to.be.false;
634 expect(finalConfig.options.enableStringPropertyObfuscation).to.be.false;
635 expect(finalConfig.options.printKeptNames).to.be.false;
636 expect(finalConfig.options.removeComments).to.be.false;
638 expect(finalConfig.reservedGlobalNames).to.include('LocalMainHspClass');
639 expect(finalConfig.reservedPropertyNames).to.include('localMainHspGreeting');
640 expect(finalConfig.reservedGlobalNames).not.to.include('LocalHspClass');
641 expect(finalConfig.reservedPropertyNames).not.to.include('localHspMethod');
642 expect(finalConfig.reservedGlobalNames).not.to.include('RemoteHspClass');
643 expect(finalConfig.reservedPropertyNames).not.to.include('remoteHspMethod');
644 expect(finalConfig.reservedNames.length).to.equal(0);
645 expect(finalConfig.reservedFileNames.length).to.equal(0);
646 expect(finalConfig.keepComments.length).to.equal(0);
647 expect(finalConfig.keepSourceOfPaths.length).to.equal(0);
648 expect(finalConfig.universalReservedPropertyNames.length).to.equal(0);
649 expect(finalConfig.universalReservedGlobalNames.length).to.equal(0);
650 expect(finalConfig.keepUniversalPaths.length).to.equal(0);
651 expect(finalConfig.excludeUniversalPaths.length).to.equal(0);
652 expect(finalConfig.excludePathSet.size).to.equal(0);
681 expect(finalConfig.options.enableStringPropertyObfuscation).to.be.false;
682 expect(finalConfig.options.enableExportObfuscation).to.be.true;
683 expect(finalConfig.options.enableFileNameObfuscation).to.be.false;
684 expect(finalConfig.options.compact).to.be.false;
685 expect(finalConfig.options.removeLog).to.be.false;
686 expect(finalConfig.options.enableToplevelObfuscation).to.be.false;
687 expect(finalConfig.options.enablePropertyObfuscation).to.be.false;
688 expect(finalConfig.options.disableObfuscation).to.be.false;
689 expect(finalConfig.options.printKeptNames).to.be.false;
690 expect(finalConfig.options.removeComments).to.be.false;
692 expect(finalConfig.reservedGlobalNames).to.include('RemoteMainHspClass');
693 expect(finalConfig.reservedPropertyNames).to.include('remoteMainHspGreeting');
694 expect(finalConfig.reservedGlobalNames).not.to.include('LocalHspClass');
695 expect(finalConfig.reservedPropertyNames).not.to.include('localHspMethod');
696 expect(finalConfig.reservedGlobalNames).not.to.include('RemoteHspClass');
697 expect(finalConfig.reservedPropertyNames).not.to.include('remoteHspMethod');
698 expect(finalConfig.reservedNames.length).to.equal(0);
699 expect(finalConfig.reservedFileNames.length).to.equal(0);
700 expect(finalConfig.keepComments.length).to.equal(0);
701 expect(finalConfig.keepSourceOfPaths.length).to.equal(0);
702 expect(finalConfig.universalReservedPropertyNames.length).to.equal(0);
703 expect(finalConfig.universalReservedGlobalNames.length).to.equal(0);
704 expect(finalConfig.keepUniversalPaths.length).to.equal(0);
705 expect(finalConfig.excludeUniversalPaths.length).to.equal(0);
706 expect(finalConfig.excludePathSet.size).to.equal(0);
738 expect(finalConfig.options.enableExportObfuscation).to.be.true;
739 expect(finalConfig.options.compact).to.be.false;
740 expect(finalConfig.options.removeLog).to.be.false;
741 expect(finalConfig.options.enableToplevelObfuscation).to.be.false;
742 expect(finalConfig.options.enablePropertyObfuscation).to.be.false;
743 expect(finalConfig.options.disableObfuscation).to.be.false;
744 expect(finalConfig.options.enableFileNameObfuscation).to.be.false;
745 expect(finalConfig.options.enableStringPropertyObfuscation).to.be.false;
746 expect(finalConfig.options.printKeptNames).to.be.false;
747 expect(finalConfig.options.removeComments).to.be.false;
749 expect(finalConfig.reservedGlobalNames).to.include('LocalHarClass');
750 expect(finalConfig.reservedPropertyNames).to.include('localHarMethod');
751 expect(finalConfig.reservedGlobalNames).to.include('LocalHspClass');
752 expect(finalConfig.reservedPropertyNames).to.include('localHspMethod');
753 expect(finalConfig.reservedGlobalNames).to.include('RemoteHarClass');
754 expect(finalConfig.reservedPropertyNames).to.include('remoteHarMethod');
755 expect(finalConfig.reservedGlobalNames).to.include('RemoteHspClass');
756 expect(finalConfig.reservedPropertyNames).to.include('remoteHspMethod');
757 expect(finalConfig.reservedNames.length).to.equal(0);
758 expect(finalConfig.reservedFileNames.length).to.equal(0);
759 expect(finalConfig.keepComments.length).to.equal(0);
760 expect(finalConfig.keepSourceOfPaths.length).to.equal(0);
761 expect(finalConfig.universalReservedPropertyNames.length).to.equal(0);
762 expect(finalConfig.universalReservedGlobalNames.length).to.equal(0);
763 expect(finalConfig.keepUniversalPaths.length).to.equal(0);
764 expect(finalConfig.excludeUniversalPaths.length).to.equal(0);
765 expect(finalConfig.excludePathSet.size).to.equal(0);
791 expect(finalConfig.options.enableExportObfuscation).to.be.true;
792 expect(finalConfig.options.compact).to.be.true;
793 expect(finalConfig.options.removeLog).to.be.true;
794 expect(finalConfig.options.enableToplevelObfuscation).to.be.true;
795 expect(finalConfig.options.enablePropertyObfuscation).to.be.true;
796 expect(finalConfig.options.disableObfuscation).to.be.false;
797 expect(finalConfig.options.enableFileNameObfuscation).to.be.false;
798 expect(finalConfig.options.enableStringPropertyObfuscation).to.be.false;
799 expect(finalConfig.options.printKeptNames).to.be.false;
800 expect(finalConfig.options.removeComments).to.be.false;
802 expect(finalConfig.reservedGlobalNames).to.include('LocalHarClass');
803 expect(finalConfig.reservedPropertyNames).to.include('localHarMethod');
804 expect(finalConfig.reservedGlobalNames).to.include('LocalHspClass');
805 expect(finalConfig.reservedPropertyNames).to.include('localHspMethod');
806 expect(finalConfig.reservedGlobalNames).to.include('RemoteHarClass');
807 expect(finalConfig.reservedPropertyNames).to.include('remoteHarMethod');
808 expect(finalConfig.reservedGlobalNames).to.include('RemoteHspClass');
809 expect(finalConfig.reservedPropertyNames).to.include('remoteHspMethod');
810 expect(finalConfig.reservedNames.length).to.equal(0);
811 expect(finalConfig.reservedFileNames.length).to.equal(0);
812 expect(finalConfig.keepComments.length).to.equal(0);
813 expect(finalConfig.keepSourceOfPaths.length).to.equal(0);
814 expect(finalConfig.universalReservedPropertyNames.length).to.equal(0);
815 expect(finalConfig.universalReservedGlobalNames.length).to.equal(0);
816 expect(finalConfig.keepUniversalPaths.length).to.equal(0);
817 expect(finalConfig.excludeUniversalPaths.length).to.equal(0);
818 expect(finalConfig.excludePathSet.size).to.equal(0);