use of php.runtime.Memory in project jphp by jphp-compiler.
the class ConditionsTest method testNested.
@Test
public void testNested() {
Memory memory = includeResource("conditions/nested.php");
Assert.assertEquals("success", memory.toString());
}
use of php.runtime.Memory in project jphp by jphp-compiler.
the class ConditionsTest method testSwitchCase.
@Test
public void testSwitchCase() {
Memory memory = includeResource("conditions/switch_case.php");
Assert.assertEquals("success", memory.toString());
}
use of php.runtime.Memory in project jphp by jphp-compiler.
the class EvalTest method testSimple.
@Test
public void testSimple() {
Memory memory = includeResource("eval/simple.php");
Assert.assertEquals("success", memory.toString());
}
use of php.runtime.Memory in project jphp by jphp-compiler.
the class ExpressionsTest method testPlusMinusMulDiv.
@Test
public void testPlusMinusMulDiv() {
Memory memory = includeResource("expressions/plus_minus_mul_div.php");
Assert.assertEquals("success", memory.toString());
}
use of php.runtime.Memory in project jphp by jphp-compiler.
the class UnsetTest method testObjectValue.
@Test
public void testObjectValue() {
Memory memory = includeResource("unset/object_value.php");
Assert.assertEquals("success", memory.toString());
}
Aggregations