diff 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
line wrap: on
line diff
--- a/src/de/mpiwg/itgroup/annotationManager/tests/DrupalTest.java	Thu Mar 22 10:54:56 2012 +0100
+++ b/src/de/mpiwg/itgroup/annotationManager/tests/DrupalTest.java	Thu Mar 22 21:37:16 2012 +0100
@@ -1,15 +1,17 @@
 package de.mpiwg.itgroup.annotationManager.tests;
 
 import de.mpiwg.itgroup.annotationManager.drupal.AnnotationHandler;
+import de.mpiwg.itgroup.annotationManager.drupal.UnknowUserException;
 
 public class DrupalTest {
 
 	/**
 	 * @param args
+	 * @throws UnknowUserException 
 	 */
-	public static void main(String[] args) {
+	public static void main(String[] args) throws UnknowUserException {
 		// TODO Auto-generated method stub
-		AnnotationHandler ah = new AnnotationHandler();
+		AnnotationHandler ah = new AnnotationHandler(null);
 		System.out.println(ah.createAnnotation("title","<strong>content</strong>","dwinter", "weikiki7"));
 	}