28 lines
597 B
Go
28 lines
597 B
Go
|
// Copyright Earl Warren <contact@earl-warren.org>
|
||
|
// Copyright Loïc Dachary <loic@dachary.org>
|
||
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
package tests
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
filesystem_options "code.forgejo.org/f3/gof3/v3/forges/filesystem/options"
|
||
|
"code.forgejo.org/f3/gof3/v3/options"
|
||
|
tests_forge "code.forgejo.org/f3/gof3/v3/tree/tests/f3/forge"
|
||
|
)
|
||
|
|
||
|
type forgeTest struct {
|
||
|
tests_forge.Base
|
||
|
}
|
||
|
|
||
|
func (o *forgeTest) NewOptions(t *testing.T) options.Interface {
|
||
|
return newTestOptions(t)
|
||
|
}
|
||
|
|
||
|
func newForgeTest() tests_forge.Interface {
|
||
|
t := &forgeTest{}
|
||
|
t.SetName(filesystem_options.Name)
|
||
|
return t
|
||
|
}
|