KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > bridge > DataTypesTestTransaction


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10
11 package org.mmbase.bridge;
12
13 import org.mmbase.datatypes.*;
14 import java.util.*;
15 import org.mmbase.util.*;
16 import org.mmbase.tests.*;
17
18 /**
19  *
20  * @author Michiel Meeuwissen
21  * @since MMBase-1.8
22  */

23 public class DataTypesTestTransaction extends DataTypesTest {
24
25
26     public DataTypesTestTransaction(String JavaDoc name) {
27         super(name);
28     }
29     protected Cloud getCloud() {
30         Cloud cloud = super.getCloud();
31         return cloud.createTransaction(getClass().getName());
32     }
33
34     protected byte[] getBinary() {
35         return new byte[] {1, 2, 3, 4, 5};
36     }
37 }
38
39
Popular Tags