blob: c61a96336cd7f595d1ef43cb3c0d89a5a68551ca [file] [log] [blame]
package fake_test
import (
"testing"
"v.io/core/veyron2"
_ "v.io/core/veyron/profiles/fake"
)
// Ensure that the fake profile can be used to initialize a fake runtime.
func TestInit(t *testing.T) {
ctx, shutdown := veyron2.Init()
defer shutdown()
if !ctx.Initialized() {
t.Errorf("Got uninitialized context from Init.")
}
}