use of php.runtime.Memory in project jphp by jphp-compiler.
the class VariablesTest method testCompact.
@Test
public void testCompact() {
Memory memory = includeResource("variables/compact.php");
Assert.assertEquals("success", memory.toString());
}
use of php.runtime.Memory in project jphp by jphp-compiler.
the class VariablesTest method testReference.
@Test
public void testReference() {
Memory memory = includeResource("variables/reference.php");
Assert.assertEquals("foobar|foobar|foobar", memory.toString());
}
use of php.runtime.Memory in project jphp by jphp-compiler.
the class VariablesTest method testVarVar.
@Test
public void testVarVar() {
Memory memory = includeResource("variables/var_var.php");
Assert.assertEquals("success", memory.toString());
}
use of php.runtime.Memory in project jphp by jphp-compiler.
the class ClosuresTest method testSimple.
@Test
public void testSimple() {
Memory memory = includeResource("closures/simple.php");
Assert.assertEquals("success", memory.toString());
}
use of php.runtime.Memory in project jphp by jphp-compiler.
the class ConditionsTest method testElvis.
@Test
public void testElvis() {
Memory memory = includeResource("conditions/elvis.php");
Assert.assertEquals("success", memory.toString());
}
Aggregations