Very nice looking tests!

Signed-off-by: Kris Nóva <kris@nivenly.com>
This commit is contained in:
Kris Nóva 2021-02-09 16:00:02 -08:00
parent 3b41c9dd5f
commit c1a45bf8e3
149 changed files with 1241 additions and 443 deletions

View file

@ -4,7 +4,7 @@ import (
"errors"
"fmt"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
var (

View file

@ -7,7 +7,7 @@ import (
"net/http"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
const (

View file

@ -4,7 +4,7 @@ import (
"fmt"
"io"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// BouncebackStats describes operation counts.

View file

@ -3,7 +3,7 @@ package rifs
import (
"io"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// BoundedReadWriteSeekCloser wraps a RWS that is also a closer with boundaries.

View file

@ -5,7 +5,7 @@ import (
"io"
"os"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
var (

View file

@ -4,7 +4,7 @@ import (
"io"
"os"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// SeekType is a convenience type to associate the different seek-types with

View file

@ -4,7 +4,7 @@ import (
"io"
"os"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// CopyBytesBetweenPositions will copy bytes from one position in the given RWS

View file

@ -5,7 +5,7 @@ import (
"os"
"path"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// FileListFilterPredicate is the callback predicate used for filtering.

View file

@ -4,7 +4,7 @@ import (
"io"
"time"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// ProgressFunc receives progress updates.

View file

@ -3,7 +3,7 @@ package rifs
import (
"io"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// ReadSeekerToReaderAt is a wrapper that allows a ReadSeeker to masquerade as a

View file

@ -4,7 +4,7 @@ import (
"io"
"os"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// SeekableBuffer is a simple memory structure that satisfies

View file

@ -4,7 +4,7 @@ import (
"io"
"os"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// GetOffset returns the current offset of the Seeker and just panics if unable

View file

@ -4,7 +4,7 @@ import (
"fmt"
"io"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// BouncebackStats describes operation counts.

View file

@ -3,7 +3,7 @@ package rifs
import (
"io"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// BoundedReadWriteSeekCloser wraps a RWS that is also a closer with boundaries.

View file

@ -5,7 +5,7 @@ import (
"io"
"os"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
var (

View file

@ -4,7 +4,7 @@ import (
"io"
"os"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// SeekType is a convenience type to associate the different seek-types with

View file

@ -4,7 +4,7 @@ import (
"io"
"os"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// CopyBytesBetweenPositions will copy bytes from one position in the given RWS

View file

@ -5,7 +5,7 @@ import (
"os"
"path"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// FileListFilterPredicate is the callback predicate used for filtering.

View file

@ -4,7 +4,7 @@ import (
"io"
"time"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// ProgressFunc receives progress updates.

View file

@ -3,7 +3,7 @@ package rifs
import (
"io"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// ReadSeekerToReaderAt is a wrapper that allows a ReadSeeker to masquerade as a

View file

@ -4,7 +4,7 @@ import (
"io"
"os"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// SeekableBuffer is a simple memory structure that satisfies

View file

@ -4,7 +4,7 @@ import (
"io"
"os"
log "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-logging"
)
// GetOffset returns the current offset of the Seeker and just panics if unable