MCPcopy Create free account
hub / github.com/InferCore/InferCore / TestAdapterConformance_Mock

Function TestAdapterConformance_Mock

internal/adapters/conformance_test.go:20–29  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

18)
19
20func TestAdapterConformance_Mock(t *testing.T) {
21 adapter := mock.New(config.BackendConfig{
22 Name: "mock-b",
23 Type: "mock",
24 TimeoutMS: 100,
25 Capabilities: []string{"chat"},
26 Cost: config.CostConfig{Unit: 1},
27 })
28 assertAdapterConformance(t, adapter)
29}
30
31func TestAdapterConformance_VLLM(t *testing.T) {
32 srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {

Callers

nothing calls this directly

Calls 2

NewFunction · 0.92
assertAdapterConformanceFunction · 0.85

Tested by

no test coverage detected