use of org.erlide.util.erlang.Signature in project erlide_eclipse by erlang.
the class TypeConverterTest method parseSignature_4.
@Test
public void parseSignature_4() throws SignatureException {
final String sig = "l3axl2sad";
final Signature[] result = Signature.parse(sig);
final String expect = "[l(t(a,x,l(t(s,a)))), d]";
assertTrue(Arrays.toString(result).equals(expect));
}
use of org.erlide.util.erlang.Signature in project erlide_eclipse by erlang.
the class TypeConverterTest method parseSignature_0.
@Test
public void parseSignature_0() throws SignatureException {
final String sig = null;
final Signature[] result = Signature.parse(sig);
assertTrue(result == null);
}
Aggregations