comparison src/de/mpiwg/itgroup/annotationManager/tests/DrupalTest.java @ 17:b0ef5c860464

updating and deleting annotations works now! more cleanup.
author casties
date Thu, 22 Mar 2012 21:37:16 +0100
parents 0be9d53a6967
children
comparison
equal deleted inserted replaced
16:667d98fd28bd 17:b0ef5c860464
1 package de.mpiwg.itgroup.annotationManager.tests; 1 package de.mpiwg.itgroup.annotationManager.tests;
2 2
3 import de.mpiwg.itgroup.annotationManager.drupal.AnnotationHandler; 3 import de.mpiwg.itgroup.annotationManager.drupal.AnnotationHandler;
4 import de.mpiwg.itgroup.annotationManager.drupal.UnknowUserException;
4 5
5 public class DrupalTest { 6 public class DrupalTest {
6 7
7 /** 8 /**
8 * @param args 9 * @param args
10 * @throws UnknowUserException
9 */ 11 */
10 public static void main(String[] args) { 12 public static void main(String[] args) throws UnknowUserException {
11 // TODO Auto-generated method stub 13 // TODO Auto-generated method stub
12 AnnotationHandler ah = new AnnotationHandler(); 14 AnnotationHandler ah = new AnnotationHandler(null);
13 System.out.println(ah.createAnnotation("title","<strong>content</strong>","dwinter", "weikiki7")); 15 System.out.println(ah.createAnnotation("title","<strong>content</strong>","dwinter", "weikiki7"));
14 } 16 }
15 17
16 } 18 }