|
|
@ -47,12 +47,20 @@ import static org.junit.Assert.assertEquals; |
|
|
|
import static org.junit.Assert.assertFalse; |
|
|
|
import static org.junit.Assert.assertFalse; |
|
|
|
import static org.junit.Assert.assertTrue; |
|
|
|
import static org.junit.Assert.assertTrue; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.io.IOException; |
|
|
|
|
|
|
|
import java.nio.ByteBuffer; |
|
|
|
|
|
|
|
import java.util.Arrays; |
|
|
|
|
|
|
|
import java.util.Collection; |
|
|
|
|
|
|
|
import java.util.HashSet; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import java.util.Set; |
|
|
|
|
|
|
|
import java.util.zip.Deflater; |
|
|
|
|
|
|
|
|
|
|
|
import org.eclipse.jgit.internal.storage.dfs.DfsObjDatabase.PackSource; |
|
|
|
import org.eclipse.jgit.internal.storage.dfs.DfsObjDatabase.PackSource; |
|
|
|
import org.eclipse.jgit.internal.storage.pack.PackExt; |
|
|
|
import org.eclipse.jgit.internal.storage.pack.PackExt; |
|
|
|
import org.eclipse.jgit.junit.JGitTestUtil; |
|
|
|
import org.eclipse.jgit.junit.JGitTestUtil; |
|
|
|
import org.eclipse.jgit.junit.TestRng; |
|
|
|
import org.eclipse.jgit.junit.TestRng; |
|
|
|
import org.eclipse.jgit.lib.AbbreviatedObjectId; |
|
|
|
import org.eclipse.jgit.lib.AbbreviatedObjectId; |
|
|
|
import org.eclipse.jgit.lib.AnyObjectId; |
|
|
|
|
|
|
|
import org.eclipse.jgit.lib.Constants; |
|
|
|
import org.eclipse.jgit.lib.Constants; |
|
|
|
import org.eclipse.jgit.lib.ObjectId; |
|
|
|
import org.eclipse.jgit.lib.ObjectId; |
|
|
|
import org.eclipse.jgit.lib.ObjectInserter; |
|
|
|
import org.eclipse.jgit.lib.ObjectInserter; |
|
|
@ -63,15 +71,6 @@ import org.eclipse.jgit.util.RawParseUtils; |
|
|
|
import org.junit.Before; |
|
|
|
import org.junit.Before; |
|
|
|
import org.junit.Test; |
|
|
|
import org.junit.Test; |
|
|
|
|
|
|
|
|
|
|
|
import java.io.IOException; |
|
|
|
|
|
|
|
import java.nio.ByteBuffer; |
|
|
|
|
|
|
|
import java.util.Arrays; |
|
|
|
|
|
|
|
import java.util.Collection; |
|
|
|
|
|
|
|
import java.util.HashSet; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import java.util.Set; |
|
|
|
|
|
|
|
import java.util.zip.Deflater; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class DfsInserterTest { |
|
|
|
public class DfsInserterTest { |
|
|
|
InMemoryRepository db; |
|
|
|
InMemoryRepository db; |
|
|
|
|
|
|
|
|
|
|
|