mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-08 01:20:27 +00:00
20 lines
512 B
Go
20 lines
512 B
Go
//go:build cgo && webview && !darwin
|
|
|
|
package goprovider
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/GopeedLab/gopeed/internal/webview/integrationtest"
|
|
)
|
|
|
|
func TestProviderContract(t *testing.T) {
|
|
integrationtest.RunProviderContract(t, New(), integrationtest.ContractOptions{
|
|
CookieDomainMode: integrationtest.CookieDomainModeRequired,
|
|
})
|
|
}
|
|
|
|
func TestProviderProfiles(t *testing.T) { integrationtest.RunProfileContract(t, New()) }
|
|
|
|
func TestProviderEvents(t *testing.T) { integrationtest.RunEventContract(t, New()) }
|