Versions in this module Expand all Collapse all v0 v0.3.1 Aug 12, 2020 Changes in this version + func TestApi(p Provider) func(t *testing.T) + type Provider interface + MakeAPISwarm func(ctx context.Context, fullIdentity bool, n int) ([]coreiface.CoreAPI, error) + type TestSuite struct + func (tp *TestSuite) MakeAPISwarm(ctx context.Context, fullIdentity bool, n int) ([]coreiface.CoreAPI, error) + func (tp *TestSuite) TestAdd(t *testing.T) + func (tp *TestSuite) TestAddCloses(t *testing.T) + func (tp *TestSuite) TestAddHashOnly(t *testing.T) + func (tp *TestSuite) TestAddPinned(t *testing.T) + func (tp *TestSuite) TestBasicPubSub(t *testing.T) + func (tp *TestSuite) TestBasicPublishResolveKey(t *testing.T) + func (tp *TestSuite) TestBasicPublishResolveTimeout(t *testing.T) + func (tp *TestSuite) TestBatch(t *testing.T) + func (tp *TestSuite) TestBlock(t *testing.T) + func (tp *TestSuite) TestBlockGet(t *testing.T) + func (tp *TestSuite) TestBlockPin(t *testing.T) + func (tp *TestSuite) TestBlockPut(t *testing.T) + func (tp *TestSuite) TestBlockPutFormat(t *testing.T) + func (tp *TestSuite) TestBlockPutHash(t *testing.T) + func (tp *TestSuite) TestBlockRm(t *testing.T) + func (tp *TestSuite) TestBlockStat(t *testing.T) + func (tp *TestSuite) TestDag(t *testing.T) + func (tp *TestSuite) TestDagPath(t *testing.T) + func (tp *TestSuite) TestDht(t *testing.T) + func (tp *TestSuite) TestDhtFindPeer(t *testing.T) + func (tp *TestSuite) TestDhtFindProviders(t *testing.T) + func (tp *TestSuite) TestDhtProvide(t *testing.T) + func (tp *TestSuite) TestDiffTest(t *testing.T) + func (tp *TestSuite) TestEmptyPathRemainder(t *testing.T) + func (tp *TestSuite) TestEntriesExpired(t *testing.T) + func (tp *TestSuite) TestGenerate(t *testing.T) + func (tp *TestSuite) TestGenerateExisting(t *testing.T) + func (tp *TestSuite) TestGenerateSize(t *testing.T) + func (tp *TestSuite) TestGenerateType(t *testing.T) + func (tp *TestSuite) TestGetDir(t *testing.T) + func (tp *TestSuite) TestGetEmptyFile(t *testing.T) + func (tp *TestSuite) TestGetNonUnixfs(t *testing.T) + func (tp *TestSuite) TestGetReadAt(t *testing.T) + func (tp *TestSuite) TestGetSeek(t *testing.T) + func (tp *TestSuite) TestInvalidPathRemainder(t *testing.T) + func (tp *TestSuite) TestKey(t *testing.T) + func (tp *TestSuite) TestList(t *testing.T) + func (tp *TestSuite) TestListSelf(t *testing.T) + func (tp *TestSuite) TestLs(t *testing.T) + func (tp *TestSuite) TestLsEmptyDir(t *testing.T) + func (tp *TestSuite) TestLsNonUnixfs(t *testing.T) + func (tp *TestSuite) TestMutablePath(t *testing.T) + func (tp *TestSuite) TestName(t *testing.T) + func (tp *TestSuite) TestNew(t *testing.T) + func (tp *TestSuite) TestObject(t *testing.T) + func (tp *TestSuite) TestObjectAddData(t *testing.T) + func (tp *TestSuite) TestObjectAddLink(t *testing.T) + func (tp *TestSuite) TestObjectAddLinkCreate(t *testing.T) + func (tp *TestSuite) TestObjectData(t *testing.T) + func (tp *TestSuite) TestObjectGet(t *testing.T) + func (tp *TestSuite) TestObjectLinks(t *testing.T) + func (tp *TestSuite) TestObjectPut(t *testing.T) + func (tp *TestSuite) TestObjectRmLink(t *testing.T) + func (tp *TestSuite) TestObjectSetData(t *testing.T) + func (tp *TestSuite) TestObjectStat(t *testing.T) + func (tp *TestSuite) TestPath(t *testing.T) + func (tp *TestSuite) TestPathJoin(t *testing.T) + func (tp *TestSuite) TestPathRemainder(t *testing.T) + func (tp *TestSuite) TestPathRoot(t *testing.T) + func (tp *TestSuite) TestPin(t *testing.T) + func (tp *TestSuite) TestPinAdd(t *testing.T) + func (tp *TestSuite) TestPinIsPinned(t *testing.T) + func (tp *TestSuite) TestPinLsIndirect(t *testing.T) + func (tp *TestSuite) TestPinLsPrecedence(t *testing.T) + func (tp *TestSuite) TestPinLsPrecedenceDirectIndirect(t *testing.T) + func (tp *TestSuite) TestPinLsPrecedenceRecursiveDirect(t *testing.T) + func (tp *TestSuite) TestPinLsPredenceRecursiveIndirect(t *testing.T) + func (tp *TestSuite) TestPinRecursive(t *testing.T) + func (tp *TestSuite) TestPinSimple(t *testing.T) + func (tp *TestSuite) TestPubSub(t *testing.T) + func (tp *TestSuite) TestPublishResolve(t *testing.T) + func (tp *TestSuite) TestPut(t *testing.T) + func (tp *TestSuite) TestPutWithHash(t *testing.T) + func (tp *TestSuite) TestRemove(t *testing.T) + func (tp *TestSuite) TestRemoveSelf(t *testing.T) + func (tp *TestSuite) TestRename(t *testing.T) + func (tp *TestSuite) TestRenameOverwrite(t *testing.T) + func (tp *TestSuite) TestRenameOverwriteNoForce(t *testing.T) + func (tp *TestSuite) TestRenameSameName(t *testing.T) + func (tp *TestSuite) TestRenameSameNameNoForce(t *testing.T) + func (tp *TestSuite) TestRenameSelf(t *testing.T) + func (tp *TestSuite) TestRenameToSelf(t *testing.T) + func (tp *TestSuite) TestRenameToSelfForce(t *testing.T) + func (tp *TestSuite) TestTree(t *testing.T) + func (tp *TestSuite) TestUnixfs(t *testing.T)