import org.scannotation.ClasspathUrlFinder;
import java.io.IOException;
+import java.io.PrintWriter;
import java.net.URL;
import java.util.Map;
import java.util.Set;
}
+ @Test
+ public void testCrossRefMetaAnnotations() throws Exception
+ {
+ URL url = ClasspathUrlFinder.findClassBase(TestSmoke.class);
+ AnnotationDB db = new AnnotationDB();
+ db.scanArchives(url);
+ db.crossReferenceMetaAnnotations();
+
+ Assert.assertTrue(db.getAnnotationIndex().get(MetaAnnotation.class.getName()).contains(CrossRefMetaAnnotaiton.class.getName()));
+ }
+
+
@Test
public void testByClass() throws Exception
{