예제 #1
0
 @Test
 public void getValue() throws Exception {
   module.open(null);
   final IErlElement element = module.getElementAtLine(0);
   final IErlAttribute attribute = (IErlAttribute) element;
   final IErlElement element2 = module.getElementAtLine(1);
   final IErlAttribute attribute2 = (IErlAttribute) element2;
   final OtpErlangAtom xx = new OtpErlangAtom("xx");
   final OtpErlangString yyHrl = new OtpErlangString("yy.hrl");
   assertEquals(xx, attribute.getValue());
   assertEquals(yyHrl, attribute2.getValue());
 }