/dports/net-mgmt/librenms/librenms-vendor-21.5.1/wpb/string-blade-compiler/tests/View/Blade/ |
H A D | BladeEchoTest.php | 11 $this->assertEquals('<?php echo $name; ?>', $this->compiler->compileString('{!! 18 $this->assertEquals('<?php echo e($name); ?>', $this->compiler->compileString('{{ 27 $this->compiler->compileString('{{ "Hello world or foo" }}')); 29 $this->compiler->compileString('{{"Hello world or foo"}}')); 36 $this->compiler->compileString('{{ \'Hello world or foo\' }}')); 38 $this->compiler->compileString('{{\'Hello world or foo\'}}')); 44 $this->compiler->compileString('{{ myfunc(\'foo or bar\') }}')); 46 $this->compiler->compileString('{{ myfunc("foo or bar") }}')); 48 $this->compiler->compileString('{{ myfunc("$name or \'foo\'") }}')); 58 $this->compiler->compileString('@{{ [all …]
|
H A D | BladeCustomTest.php | 22 $this->assertEquals('bar', $this->compiler->compileString('foo')); 39 $this->assertEquals($expected, $this->compiler->compileString($string)); 50 $this->assertEquals($expected, $this->compiler->compileString($string)); 89 $this->assertEquals($expected, $this->compiler->compileString($string)); 102 $this->assertEquals($expected, $this->compiler->compileString($string)); 119 $this->assertEquals($expected, $this->compiler->compileString($string)); 134 $this->assertEquals($expected, $this->compiler->compileString($string)); 145 $this->assertEquals($expected, $this->compiler->compileString($string)); 156 $this->assertEquals($expected, $this->compiler->compileString($string)); 167 $this->assertEquals($expected, $this->compiler->compileString($string)); [all …]
|
H A D | BladeForeachStatementsTest.php | 15 $this->assertEquals($expected, $this->compiler->compileString($string)); 26 $this->assertEquals($expected, $this->compiler->compileString($string)); 43 $this->assertEquals($expected, $this->compiler->compileString($string)); 60 $this->assertEquals($expected, $this->compiler->compileString($string)); 67 $this->assertEquals($expected, $this->compiler->compileString($string)); 71 $this->assertEquals($expected, $this->compiler->compileString($string)); 75 $this->assertEquals($expected, $this->compiler->compileString($string)); 79 $this->assertEquals($expected, $this->compiler->compileString($string)); 83 $this->assertEquals($expected, $this->compiler->compileString($string));
|
H A D | BladeVerbatimTest.php | 11 $this->assertEquals($expected, $this->compiler->compileString($string)); 30 $this->assertEquals($expected, $this->compiler->compileString($string)); 37 $this->assertEquals($expected, $this->compiler->compileString($string)); 46 $this->assertSame($expected, $this->compiler->compileString($string)); 79 $this->assertSame($expected, $this->compiler->compileString($string)); 87 $this->assertSame($expected, $this->compiler->compileString($string));
|
H A D | BladeEscapedTest.php | 9 $this->assertEquals('@foreach', $this->compiler->compileString('@@foreach')); 10 …$this->assertEquals('@verbatim @continue @endverbatim', $this->compiler->compileString('@@verbatim… 11 … $this->assertEquals('@foreach($i as $x)', $this->compiler->compileString('@@foreach($i as $x)')); 12 … $this->assertEquals('@continue @break', $this->compiler->compileString('@@continue @@break')); 15 )', $this->compiler->compileString('@@foreach(
|
H A D | BladeHelpersTest.php | 9 $this->assertEquals('<?php echo csrf_field(); ?>', $this->compiler->compileString('@csrf')); 10 …sertEquals('<?php echo method_field(\'patch\'); ?>', $this->compiler->compileString("@method('patc… 11 $this->assertEquals('<?php dd($var1); ?>', $this->compiler->compileString('@dd($var1)')); 12 …$this->assertEquals('<?php dd($var1, $var2); ?>', $this->compiler->compileString('@dd($var1, $var2… 13 …$this->assertEquals('<?php dump($var1, $var2); ?>', $this->compiler->compileString('@dump($var1, $…
|
H A D | BladePhpStatementsTest.php | 11 $this->assertEquals($expected, $this->compiler->compileString($string)); 18 $this->assertEquals($expected, $this->compiler->compileString($string)); 22 $this->assertEquals($expected, $this->compiler->compileString($string)); 29 $this->assertEquals($expected, $this->compiler->compileString($string)); 44 $this->assertEquals($expected, $this->compiler->compileString($string));
|
H A D | BladeBreakStatementsTest.php | 17 $this->assertEquals($expected, $this->compiler->compileString($string)); 30 $this->assertEquals($expected, $this->compiler->compileString($string)); 43 $this->assertEquals($expected, $this->compiler->compileString($string)); 56 $this->assertEquals($expected, $this->compiler->compileString($string)); 69 $this->assertEquals($expected, $this->compiler->compileString($string));
|
H A D | BladeContinueStatementsTest.php | 17 $this->assertEquals($expected, $this->compiler->compileString($string)); 30 $this->assertEquals($expected, $this->compiler->compileString($string)); 43 $this->assertEquals($expected, $this->compiler->compileString($string)); 56 $this->assertEquals($expected, $this->compiler->compileString($string)); 69 $this->assertEquals($expected, $this->compiler->compileString($string));
|
H A D | BladeExpressionTest.php | 9 …cho app(\'translator\')->getFromJson(foo(bar)); ?>', $this->compiler->compileString('@lang(foo(bar… 14 …$this->assertEquals('<html <?php echo e($foo); ?>>', $this->compiler->compileString('<html {{ $foo… 15 …$this->assertEquals('<html<?php echo e($foo); ?>>', $this->compiler->compileString('<html{{ $foo }… 16 …cho app(\'translator\')->getFromJson(\'foo\'); ?>>', $this->compiler->compileString('<html {{ $foo…
|
H A D | BladeCommentsTest.php | 10 $this->assertEmpty($this->compiler->compileString($string)); 15 $this->assertEmpty($this->compiler->compileString($string)); 18 $this->assertEmpty($this->compiler->compileString($string)); 25 $this->assertEmpty($this->compiler->compileString($string));
|
H A D | BladeForelseStatementsTest.php | 19 $this->assertEquals($expected, $this->compiler->compileString($string)); 34 $this->assertEquals($expected, $this->compiler->compileString($string)); 55 $this->assertEquals($expected, $this->compiler->compileString($string)); 78 $this->assertEquals($expected, $this->compiler->compileString($string));
|
H A D | BladeExtendsTest.php | 12 $this->assertEquals($expected, $this->compiler->compileString($string)); 16 $this->assertEquals($expected, $this->compiler->compileString($string)); 24 $this->assertEquals($expected, $this->compiler->compileString($string)); 29 $this->assertEquals($expected, $this->compiler->compileString($string));
|
H A D | BladeYieldTest.php | 9 …uals('<?php echo $__env->yieldContent(\'foo\'); ?>', $this->compiler->compileString('@yield(\'foo\… 10 …hp echo $__env->yieldContent(\'foo\', \'bar\'); ?>', $this->compiler->compileString('@yield(\'foo\… 11 …ls('<?php echo $__env->yieldContent(name(foo)); ?>', $this->compiler->compileString('@yield(name(f…
|
H A D | BladeLangTest.php | 11 $this->assertEquals($expected, $this->compiler->compileString($string)); 16 …echo app(\'translator\')->getFromJson(\'foo\'); ?>', $this->compiler->compileString("@lang('foo')"… 17 …p echo app(\'translator\')->choice(\'foo\', 1); ?>', $this->compiler->compileString("@choice('foo'…
|
H A D | BladeSectionTest.php | 9 …ertEquals('<?php $__env->startSection(\'foo\'); ?>', $this->compiler->compileString('@section(\'fo… 10 …tEquals('<?php $__env->startSection(name(foo)); ?>', $this->compiler->compileString('@section(name…
|
H A D | BladeIncludeFirstTest.php | 9 …d_vars(), [\'__data\', \'__path\']))->render(); ?>', $this->compiler->compileString('@includeFirst… 10 …d_vars(), [\'__data\', \'__path\']))->render(); ?>', $this->compiler->compileString('@includeFirst…
|
H A D | BladeEachTest.php | 9 …?php echo $__env->renderEach(\'foo\', \'bar\'); ?>', $this->compiler->compileString('@each(\'foo\'… 10 …uals('<?php echo $__env->renderEach(name(foo)); ?>', $this->compiler->compileString('@each(name(fo…
|
H A D | BladeIncludeIfTest.php | 9 …d_vars(), [\'__data\', \'__path\']))->render(); ?>', $this->compiler->compileString('@includeIf(\'… 10 …d_vars(), [\'__data\', \'__path\']))->render(); ?>', $this->compiler->compileString('@includeIf(na…
|
H A D | BladeIncludeTest.php | 9 …d_vars(), [\'__data\', \'__path\']))->render(); ?>', $this->compiler->compileString('@include(\'fo… 10 …d_vars(), [\'__data\', \'__path\']))->render(); ?>', $this->compiler->compileString('@include(name…
|
H A D | BladeIncludeWhenTest.php | 9 …get_defined_vars(), [\'__data\', \'__path\'])); ?>', $this->compiler->compileString('@includeWhen(… 10 …get_defined_vars(), [\'__data\', \'__path\'])); ?>', $this->compiler->compileString('@includeWhen(…
|
/dports/www/phalcon/cphalcon-3.4.5/tests/unit/Mvc/View/Engine/Volt/ |
H A D | CompilerTest.php | 92 $compilation = $this->volt->compileString($param); 117 $compilation = $this->volt->compileString($param); 141 $compilation = $this->volt->compileString($voltName); 167 $compilation = $this->volt->compileString($voltName); 191 $compilation = $this->volt->compileString($voltName); 217 $compilation = $this->volt->compileString($voltName);
|
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/scssphp/scssphp/tests/ |
H A D | FrameworkTest.php | 28 $result = $compiler->compileString(file_get_contents($entrypoint), $entrypoint); 40 $result = $compiler->compileString(file_get_contents($entrypoint), $entrypoint); 58 $result = $compiler->compileString($scss); 70 $result = $compiler->compileString(file_get_contents($entrypoint), $entrypoint); 85 $result = $compiler->compileString(file_get_contents($entrypoint), $entrypoint);
|
/dports/lang/rhino/rhino1_7R4/testsrc/org/mozilla/javascript/tests/ |
H A D | Bug714204Test.java | 48 Script script = cx.compileString(sb.toString(), "<eval>", 1, null); in test_assign_this() 59 cx.compileString(sb.toString(), "<eval>", 1, null); in test_var_this() 68 cx.compileString(sb.toString(), "<eval>", 1, null); in test_let_this() 77 cx.compileString(sb.toString(), "<eval>", 1, null); in test_const_this() 85 cx.compileString(sb.toString(), "<eval>", 1, null); in test_args_this()
|
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/wpb/string-blade-compiler/tests/View/ |
H A D | ViewStringBladeCompilerTest.php | 93 $this->assertEquals('<?php echo e($name); ?>', $compiler->compileString('{{{ $name }}}')); 94 $this->assertEquals('<?php echo $name; ?>', $compiler->compileString('{{ $name }}')); 95 $this->assertEquals('<?php echo $name; ?>', $compiler->compileString('{{ 188 …$this->assertTrue(substr($compiler->compileString("<?php\ndeclare(strict_types = 1);\nHello World"…
|