use of com.oracle.truffle.api.interop.ForeignAccess in project graal by oracle.
the class ForeignAccessToStringTest method checkRegularFactory.
@Test
public void checkRegularFactory() {
ForeignAccess fa = ForeignAccess.create(new SimpleTestingFactory());
assertEquals("ForeignAccess[" + ForeignAccessToStringTest.class.getName() + "$SimpleTestingFactory]", fa.toString());
}
use of com.oracle.truffle.api.interop.ForeignAccess in project graal by oracle.
the class ForeignAccessToStringTest method check10Factory.
@Test
public void check10Factory() {
ForeignAccess fa = ForeignAccess.create(new Simple10TestingFactory(), null);
assertEquals("ForeignAccess[" + ForeignAccessToStringTest.class.getName() + "$Simple10TestingFactory]", fa.toString());
}
Aggregations