1 8 package test.xmldb.levelzero; 9 10 import test.xmldb.*; 11 import junit.framework.*; 12 13 import org.xmldb.api.modules.BinaryResource; 14 17 public class BinaryTest extends XMLDBTestCase implements LevelZeroTestConstants { 18 19 20 public BinaryTest(String name) { 21 super(name); 22 } 23 24 27 public void testBinary() { 28 try { 29 String id = "LevelZeroTest-img"; 30 byte[] content = new byte[1]; 31 insertBinaryContent(id, content); 32 retrieveBinaryResource(id); 33 34 } catch (Exception e) { 35 fail( e.getMessage( ) ); 36 } 37 } 38 39 private void insertBinaryContent(String id, byte[] content) throws Exception { 40 } 41 private byte[] retrieveBinaryResource(String id) throws Exception { 43 throw new Exception ("LevelZeroTest.updateSAXDocument() - Not implemented yet"); 44 } 49 } 50 | Popular Tags |