massive refactoring against unit test lib

This commit is contained in:
Darien Raymond committed 2015-12-02 14:27:18 +00:00
1 parent cee85bdf26
commit 0a2e4343bc
44 files changed
+327 -317

No files matched your search

+3 -2
View File
@@ -7,11 +7,12 @@ import (
"testing"
"time"
"github.com/v2ray/v2ray-core/testing/unit"
v2testing "github.com/v2ray/v2ray-core/testing"
"github.com/v2ray/v2ray-core/testing/assert"
)
func TestAccessLog(t *testing.T) {
assert := unit.Assert(t)
v2testing.Current(t)
filename := "/tmp/test_access_log.log"
InitAccessLogger(filename)