fr.paris5.shaman.insight.content
Class BLOBStoreTest

fr.paris5.shaman.insight.content.BLOBStoreTest

public class BLOBStoreTest

Tests the FileSystemStore. This test is intended to work completly standalone.

Version:
$Id: BLOBStoreTest.java,v 1.3 2002/07/25 13:18:09 caillette Exp $
Author:
Laurent Caillette

Inner Class Summary
private  class BLOBStoreTest.MyImportParameters
           
private  class BLOBStoreTest.MyLegendResources
           
private  class BLOBStoreTest.MyPublication
           
 
Field Summary
private  BLOBStore blobStore
           
private  java.lang.String contentDir
           
private static java.lang.String IMPORT_PATH
           
private  InsightManager insightManager
           
private  InsightModel insightModel
           
private static java.lang.String[] RESOURCE_PATHS
           
 
Constructor Summary
BLOBStoreTest(java.lang.String name)
           
 
Method Summary
private  void compare(byte[] array1, byte[] array2)
           
static void main(java.lang.String[] args)
           
 void setUp()
           
static junit.framework.Test suite()
           
private  void testContent(Publication publication, java.lang.String resourcePath)
           
 void testImport()
           
 

Field Detail

insightManager

private InsightManager insightManager

insightModel

private InsightModel insightModel

blobStore

private BLOBStore blobStore

contentDir

private final java.lang.String contentDir

RESOURCE_PATHS

private static final java.lang.String[] RESOURCE_PATHS

IMPORT_PATH

private static final java.lang.String IMPORT_PATH
Constructor Detail

BLOBStoreTest

public BLOBStoreTest(java.lang.String name)
Method Detail

setUp

public void setUp()

testImport

public void testImport()

testContent

private void testContent(Publication publication,
                         java.lang.String resourcePath)

compare

private void compare(byte[] array1,
                     byte[] array2)

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)


Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.