81e7223560
Text Extraction * bases * go * splitting * structure * movetoasync * movetoasync * settinguptrigger * reorder * storevent * standardisepollingvalidation * unittests * fixlint * fixlint * awscfg * generatesample * followthrough * tests * clena * store * externalidcleanup * clientid * local * baseunittests * putobjecttests * tests
29 lines
682 B
Go
29 lines
682 B
Go
package documenttext_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
documenttext "queryorchestration/internal/document/text"
|
|
"queryorchestration/internal/serviceconfig"
|
|
"queryorchestration/internal/serviceconfig/aws"
|
|
"queryorchestration/internal/serviceconfig/objectstore"
|
|
"queryorchestration/internal/serviceconfig/queue/querysync"
|
|
"queryorchestration/internal/serviceconfig/textract"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
type DocTextConfig struct {
|
|
aws.AWSConfig
|
|
serviceconfig.BaseConfig
|
|
querysync.QuerySyncConfig
|
|
textract.TextractConfig
|
|
objectstore.ObjectStoreConfig
|
|
}
|
|
|
|
func TestService(t *testing.T) {
|
|
cfg := &DocTextConfig{}
|
|
svc := documenttext.New(cfg)
|
|
assert.NotNil(t, svc)
|
|
}
|