public void testDescription2() throws CoreException, MalformedURLException {

    URL url = null;
    try {
      url = new URL("http://www.oti.com");
    } catch (MalformedURLException e) {
      /*pretty impossible*/
    }
    String desc = "pretty long description as a string with \r\n and \t and \n";
    IURLEntry info = new MyURLEntry(desc, url);
    DefaultFeature feature = getFeature();
    feature.setDescription(info);
    assertEquals(desc, feature.getDescription().getAnnotation());
    assertEquals(url, feature.getDescription().getURL());
  }
 public void testDescription() throws CoreException, MalformedURLException {
   String desc = "pretty long description as a string with \r\n and \t and \n";
   IURLEntry info = new MyURLEntry(desc, null);
   DefaultFeature feature = getFeature();
   feature.setDescription(info);
   assertEquals(desc, feature.getDescription().getAnnotation());
 }
 public void testDescription1() throws CoreException, MalformedURLException {
   URL url = null;
   try {
     url = new URL("http://www.oti.com");
   } catch (MalformedURLException e) {
     /*pretty impossible*/
   }
   IURLEntry info = new MyURLEntry(null, url);
   DefaultFeature feature = getFeature();
   feature.setDescription(info);
   assertEquals(url, feature.getDescription().getURL());
 }