package edu.uw.apl.tupelo.store.filesys;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.Collection;
import java.util.List;

import edu.uw.apl.tupelo.model.DiskImage;
import edu.uw.apl.tupelo.model.FlatDisk;
import edu.uw.apl.tupelo.model.ManagedDiskDescriptor;
import edu.uw.apl.tupelo.model.Session;

public class DigestComputeTest extends junit.framework.TestCase {

	FilesystemStore store;
	
	protected void setUp() {
		store = new FilesystemStore( new File( "test-store" ) );
	}
	
	public void testNull() {
	}

	public void testDigests() throws IOException {
		Collection<ManagedDiskDescriptor> mdds = store.enumerate();
		for( ManagedDiskDescriptor mdd : mdds ) {
			System.out.println( "Digesting: " + mdd );
			List<byte[]> d = store.digest( mdd );
			System.out.println( d );
		}
	}
}

// eof

@@ -302,16 +302,66 @@
 riptor;%0A
+import edu.uw.apl.tupelo.model.ManagedDiskDigest;%0A
 import e
@@ -813,20 +813,25 @@
 %0A%09%09%09
-List%3Cbyte%5B%5D%3E
+ManagedDiskDigest
  d =

update store test case to reflect new store.digest retrieval api