aboutsummaryrefslogtreecommitdiff
path: root/integration
diff options
context:
space:
mode:
authorIan Cottrell <iancottrell@google.com>2015-06-17 21:24:48 +0100
committerIan Cottrell <iancottrell@google.com>2015-06-18 14:27:26 +0100
commit7b18969058f4fa7983ac205b592a0632ffba4dcf (patch)
treea2b0ee230c573422b59a6db9864c28d8ae8cc2c7 /integration
parent5802752f85f84a4ce5e6f33ba5b3d2d6f31b1027 (diff)
downloadgpu-7b18969058f4fa7983ac205b592a0632ffba4dcf.tar.gz
Clean up database creation functions
Change-Id: Id7ff58ea768ebc29e442cbc09d054e06d2ebae19
Diffstat (limited to 'integration')
-rw-r--r--integration/replay/gles/gles_test.go4
-rw-r--r--integration/replay/postback_test.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/integration/replay/gles/gles_test.go b/integration/replay/gles/gles_test.go
index 8e7d80c88..6f198b8aa 100644
--- a/integration/replay/gles/gles_test.go
+++ b/integration/replay/gles/gles_test.go
@@ -84,7 +84,7 @@ func initContext(a device.Architecture, d database.Database, l log.Logger, width
}
func TestClear(t *testing.T) {
- d, l := database.InMemory(), log.Testing(t)
+ d, l := database.NewInMemory(nil), log.Testing(t)
mgr := replay.New(d, l)
device := utils.FindLocalDevice(t, mgr)
w, h := uint32(64), uint32(64)
@@ -118,7 +118,7 @@ func TestClear(t *testing.T) {
}
func TestDrawTriangle(t *testing.T) {
- d, l := database.InMemory(), log.Testing(t)
+ d, l := database.NewInMemory(nil), log.Testing(t)
mgr := replay.New(d, l)
device := utils.FindLocalDevice(t, mgr)
a := device.Info().Architecture()
diff --git a/integration/replay/postback_test.go b/integration/replay/postback_test.go
index 908ee29dc..84889cb1c 100644
--- a/integration/replay/postback_test.go
+++ b/integration/replay/postback_test.go
@@ -29,7 +29,7 @@ import (
)
func doReplay(t *testing.T, f func(*builder.Builder)) {
- d, l := database.InMemory(), log.Testing(t)
+ d, l := database.NewInMemory(nil), log.Testing(t)
mgr := replay.New(d, l)
device := utils.FindLocalDevice(t, mgr)