http://developers.itextpdf.com上的 iText7 示例使用类似的类com.itextpdf.test.annotations.WrapToTest
(参见例如http://developers.itextpdf.com/content/itext-7-jump-start-tutorial/examples/chapter-1)。
/*
* This example is part of the iText 7 tutorial.
*/
package tutorial.chapter01;
***SNIP IMPORTS***
/**
* Simple Hello World example.
*/
@WrapToTest
public class C01E01_HelloWorld {
***SNIP CODE***
}
另请参阅http://developers.itextpdf.com/examples/actions-and-annotations/clone-adding-links-existing-documentscom.itextpdf.test.annotations.type.SampleTest
中的类导入。
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2016 iText Group NV
*/
/**
* This example was written by Bruno Lowagie in answer to the following question:
* http://stackoverflow.com/questions/26983703/itext-how-to-stamp-image-on-existing-pdf-and-create-an-anchor
*/
package com.itextpdf.samples.sandbox.annotations;
***SNIP IMPORTS***
@Category(SampleTest.class)
public class AddImageLink extends GenericTest {
***SNIP CODE***
}
类是做什么com.itextpdf.test.**
用的?