diff --git a/test/xid/test/Test.java b/test/xid/test/Test.java index 49a7183..504d2a3 100644 --- a/test/xid/test/Test.java +++ b/test/xid/test/Test.java @@ -30,67 +30,6 @@ class TTagsMatrix extends TTagsDataById */ class Test { - - public static void test () - { - System.out.println ("doing a test"); - - - TTagsDataById tags = new TTagsDataById (); - - TTagData tag = new TTagData (); - tag.a = "label a1"; - tags.put ("id1", tag); - - tag = new TTagData (); - tag.a = "label a2"; - tags.put ("id2", tag); - - TTagsData tag2 = new TTagsData (); - tags.put ("id3", tag2); - - TTagsDataById tag3 = new TTagsDataById (); - tags.put ("id4", tag3); - - TTagsMatrix tag4 = new TTagsMatrix (); - tags.put ("id5", tag4); - - System.out.println ("tags=" + tags); - - Set keys = tags.keySet (); - Iterator it = keys.iterator (); - while (it.hasNext ()) - { - String key = (String) it.next (); - Object obj = tags.get (key); - - StringBuffer comment = new StringBuffer (); - comment.append ("(" + key + "=> " + obj + "-> "); - - if (obj instanceof TTagData) - { - comment.append ("class TTagData"); - } - else if (obj instanceof TTagsData) - { - comment.append ("class TTagsData"); - } - else if (obj instanceof TTagsDataById) - { - comment.append ("class TTagsDataById"); - } - - if (obj instanceof TTagDataCore) - { - comment.append (" TTagDataCore"); - } - - comment.append (")"); - System.out.println (comment); - } - } - - static private org.apache.log4j.Logger log; static