github.com/attic-labs/noms@v0.0.0-20210827224422-e5fa29d95e8b/go/chunks/memory_store_test.go (about)

     1  // Copyright 2016 Attic Labs, Inc. All rights reserved.
     2  // Licensed under the Apache License, version 2.0:
     3  // http://www.apache.org/licenses/LICENSE-2.0
     4  
     5  package chunks
     6  
     7  import (
     8  	"testing"
     9  
    10  	"github.com/stretchr/testify/suite"
    11  )
    12  
    13  func TestMemoryStoreTestSuite(t *testing.T) {
    14  	suite.Run(t, &MemoryStoreTestSuite{})
    15  }
    16  
    17  type MemoryStoreTestSuite struct {
    18  	ChunkStoreTestSuite
    19  }
    20  
    21  func (suite *MemoryStoreTestSuite) SetupTest() {
    22  	suite.Factory = NewMemoryStoreFactory()
    23  }
    24  
    25  func (suite *MemoryStoreTestSuite) TearDownTest() {
    26  	suite.Factory.Shutter()
    27  }