1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.asn1.ber ;
18
19
20 import junit.framework.TestCase ;
21 import org.apache.asn1.ber.BERDecoderCallbackAdapter;
22
23
24 /***
25 * Tests for the adapter to pass clover coverage.
26 *
27 * @author <a href="mailto:dev@directory.apache.org">
28 * Apache Directory Project</a>
29 * @version $Rev: 157644 $
30 */
31 public class BERDecoderCallbackAdapterTest extends TestCase
32 {
33 BERDecoderCallbackAdapter adapter = null ;
34
35
36 public static void main(String[] args)
37 {
38 junit.textui.TestRunner.run(BERDecoderCallbackAdapterTest.class);
39 }
40
41
42
43
44 protected void setUp() throws Exception
45 {
46 super.setUp();
47 adapter = new BERDecoderCallbackAdapter() ;
48 }
49
50
51
52
53 protected void tearDown() throws Exception
54 {
55 super.tearDown();
56 adapter = null ;
57 }
58
59 /***
60 * Constructor for BERDecoderCallbackAdapter.
61 * @param arg0
62 */
63 public BERDecoderCallbackAdapterTest(String arg0)
64 {
65 super(arg0);
66 }
67
68 public void testTagDecoded()
69 {
70 adapter.tagDecoded( null ) ;
71 }
72
73 public void testLengthDecoded()
74 {
75 adapter.lengthDecoded( null ) ;
76 }
77
78 public void testPartialValueDecoded()
79 {
80 adapter.partialValueDecoded( null ) ;
81 }
82
83 public void testDecodeOccurred()
84 {
85 adapter.decodeOccurred( null, null ) ;
86 }
87
88 }