Versions in this module Expand all Collapse all v0 v0.28.1 Sep 3, 2024 Changes in this version + func TestApi(p Provider) func(t *testing.T) + type Provider interface + MakeAPISwarm func(t *testing.T, ctx context.Context, fullIdentity bool, online bool, n int) ([]coreiface.CoreAPI, error) + type TestSuite struct + func (tp *TestSuite) MakeAPISwarm(t *testing.T, ctx context.Context, 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) TestBlockPutCidCodecDagCbor(t *testing.T) + func (tp *TestSuite) TestBlockPutCidCodecDagPb(t *testing.T) + func (tp *TestSuite) TestBlockPutFormatDagCbor(t *testing.T) + func (tp *TestSuite) TestBlockPutFormatDagPb(t *testing.T) + func (tp *TestSuite) TestBlockPutFormatV0(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) 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) TestObject(t *testing.T) + func (tp *TestSuite) TestObjectAddLink(t *testing.T) + func (tp *TestSuite) TestObjectAddLinkCreate(t *testing.T) + func (tp *TestSuite) TestObjectRmLink(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) TestRouting(t *testing.T) + func (tp *TestSuite) TestRoutingFindPeer(t *testing.T) + func (tp *TestSuite) TestRoutingFindProviders(t *testing.T) + func (tp *TestSuite) TestRoutingGet(t *testing.T) + func (tp *TestSuite) TestRoutingProvide(t *testing.T) + func (tp *TestSuite) TestRoutingPut(t *testing.T) + func (tp *TestSuite) TestRoutingPutOffline(t *testing.T) + func (tp *TestSuite) TestSign(t *testing.T) + func (tp *TestSuite) TestTree(t *testing.T) + func (tp *TestSuite) TestUnixfs(t *testing.T) + func (tp *TestSuite) TestVerify(t *testing.T)