~hjd/ubuntu/wily/xmlgraphics-commons/debian-merged

« back to all changes in this revision

Viewing changes to test/java/org/apache/xmlgraphics/util/uri/CommonURIResolverTestCase.java

  • Committer: Hans Joachim Desserud
  • Date: 2015-11-11 18:22:53 UTC
  • mfrom: (9.1.5 sid)
  • Revision ID: hans_joachim_desserud-20151111182253-zwi0frfm97j0wddn
  * Merge from Debian unstable.  Remaining changes:
    - d/control: Drop dependencies required for unit testing as they
      include libmockito-java which would pull maven into main, disable unit
      test execution.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 * limitations under the License.
16
16
 */
17
17
 
18
 
/* $Id: CommonURIResolverTestCase.java 750418 2009-03-05 11:03:54Z vhennebert $ */
 
18
/* $Id: CommonURIResolverTestCase.java 1365650 2012-07-25 15:59:30Z mehdi $ */
19
19
 
20
20
package org.apache.xmlgraphics.util.uri;
21
21
 
22
22
import javax.xml.transform.URIResolver;
23
23
 
24
 
import junit.framework.TestCase;
 
24
import org.junit.Test;
25
25
 
26
26
/**
27
27
 * Test case for the {@link CommonURIResolver}.
28
28
 */
29
 
public class CommonURIResolverTestCase extends TestCase {
 
29
public class CommonURIResolverTestCase {
30
30
 
31
31
    /**
32
32
     * Test the DataURIResolver with correct values.
34
34
     * @throws Exception
35
35
     *             if an error occurs
36
36
     */
 
37
 
 
38
    @Test
37
39
    public void testDataURLHandling() throws Exception {
38
40
        URIResolver resolver = CommonURIResolver.getDefaultURIResolver();
39
41
        DataURIResolverTestCase.actualURLHAndlingTest(resolver);