Skip to content

Commit

Permalink
test: update some unit tests result
Browse files Browse the repository at this point in the history
  • Loading branch information
Zxilly committed Jan 29, 2024
1 parent b228205 commit 760db4a
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions package_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,18 @@ func TestClassifyPackage(t *testing.T) {
{"github.com/shirou/gopsutil/net", "C:/Users/h/CloudStation/Projects/0/ly/lady/vendor/src/github.com/shirou/gopsutil/net", ClassVendor},
{"github.com/shirou/gopsutil/process", "C:/Users/h/CloudStation/Projects/0/ly/lady/vendor/src/github.com/shirou/gopsutil/process", ClassVendor},
{"github.com/takama/daemon", "C:/Users/h/CloudStation/Projects/0/ly/lady/vendor/src/github.com/takama/daemon", ClassVendor},
{"go", "<autogenerated>", ClassSTD},
{"go", ".", ClassSTD},
{"golang.org/x/crypto/curve25519", "C:/Users/h/CloudStation/Projects/0/ly/lady/vendor/src/golang.org/x/crypto/curve25519", ClassVendor},
{"golang.org/x/crypto/ed25519", "C:/Users/h/CloudStation/Projects/0/ly/lady/vendor/src/golang.org/x/crypto/ed25519", ClassVendor},
{"golang.org/x/crypto/ed25519/internal/edwards25519", "C:/Users/h/CloudStation/Projects/0/ly/lady/vendor/src/golang.org/x/crypto/ed25519/internal/edwards25519", ClassVendor},
{"golang.org/x/crypto/ssh", "C:/Users/h/CloudStation/Projects/0/ly/lady/vendor/src/golang.org/x/crypto/ssh", ClassVendor},
{"golang.org/x/net/publicsuffix", "C:/Users/h/CloudStation/Projects/0/ly/lady/vendor/src/golang.org/x/net/publicsuffix", ClassVendor},
{"gopkg.in/vmihailenco/msgpack%2ev2", "C:/Users/h/CloudStation/Projects/0/ly/lady/vendor/src/gopkg.in/vmihailenco/msgpack.v2", ClassVendor},
{"go.(*struct { net/http", "<autogenerated>", ClassGenerated},
{"go.struct { net/http", "<autogenerated>", ClassGenerated},
{"go.(*struct { sync.Mutex; table [64]math/big", "<autogenerated>", ClassGenerated},
{"go.(*struct { sync.RWMutex; m map[reflect.Type][]encoding/json", "<autogenerated>", ClassGenerated},
{"go.(*struct { sync.RWMutex; m map[reflect.Type]encoding/json", "<autogenerated>", ClassGenerated},
{"go.(*struct { net/http", ".", ClassSTD},
{"go.struct { net/http", ".", ClassSTD},
{"go.(*struct { sync.Mutex; table [64]math/big", ".", ClassSTD},
{"go.(*struct { sync.RWMutex; m map[reflect.Type][]encoding/json", ".", ClassSTD},
{"go.(*struct { sync.RWMutex; m map[reflect.Type]encoding/json", ".", ClassSTD},
{"hash", "C:/Go/src/hash", ClassSTD},
{"hash/crc32", "C:/Go/src/hash/crc32", ClassSTD},
{"internal/golang.org/x/net/http2/hpack", "C:/Go/src/internal/golang.org/x/net/http2/hpack", ClassSTD},
Expand All @@ -122,31 +122,31 @@ func TestClassifyPackage(t *testing.T) {
{"net", "C:/Go/src/runtime", ClassSTD},
{"net/http", "C:/Go/src/net/http", ClassSTD},
{"net/http/cookiejar", "C:/Go/src/net/http/cookiejar", ClassSTD},
{"net/http.(*envOnce).(net/http", "C:/Go/src/net/http", ClassGenerated},
{"net/http.(*http2clientConnReadLoop).(net/http", "C:/Go/src/net/http", ClassGenerated},
{"net/http.(*http2clientStream).(net/http", "C:/Go/src/net/http", ClassGenerated},
{"net/http.(*http2responseWriterState).(net/http", "C:/Go/src/net/http", ClassGenerated},
{"net/http.(*http2serverConn).(net/http", "C:/Go/src/net/http", ClassGenerated},
{"net/http.(*http2stream).(net/http", "C:/Go/src/net/http", ClassGenerated},
{"net/http.(*http2Transport).(net/http", "C:/Go/src/net/http", ClassGenerated},
{"net/http.(*envOnce).(net/http", "C:/Go/src/net/http", ClassSTD},
{"net/http.(*http2clientConnReadLoop).(net/http", "C:/Go/src/net/http", ClassSTD},
{"net/http.(*http2clientStream).(net/http", "C:/Go/src/net/http", ClassSTD},
{"net/http.(*http2responseWriterState).(net/http", "C:/Go/src/net/http", ClassSTD},
{"net/http.(*http2serverConn).(net/http", "C:/Go/src/net/http", ClassSTD},
{"net/http.(*http2stream).(net/http", "C:/Go/src/net/http", ClassSTD},
{"net/http.(*http2Transport).(net/http", "C:/Go/src/net/http", ClassSTD},
{"net/http/httputil", "C:/Go/src/net/http/httputil", ClassSTD},
{"net/http/internal", "C:/Go/src/net/http/internal", ClassSTD},
{"net/http.(*persistConn).(net/http", "C:/Go/src/net/http", ClassGenerated},
{"net/http.(*response).(net/http", "C:/Go/src/net/http", ClassGenerated},
{"net/http.(*Server).(net/http", "C:/Go/src/net/http", ClassGenerated},
{"net/http.(*Transport).(net/http", "C:/Go/src/net/http", ClassGenerated},
{"net/http.(*persistConn).(net/http", "C:/Go/src/net/http", ClassSTD},
{"net/http.(*response).(net/http", "C:/Go/src/net/http", ClassSTD},
{"net/http.(*Server).(net/http", "C:/Go/src/net/http", ClassSTD},
{"net/http.(*Transport).(net/http", "C:/Go/src/net/http", ClassSTD},
{"net/textproto", "C:/Go/src/net/textproto", ClassSTD},
{"net/url", "C:/Go/src/net/url", ClassSTD},
{"os", "C:/Go/src/runtime", ClassSTD},
{"os/exec", "C:/Go/src/os/exec", ClassSTD},
{"os/exec.(*closeOnce).(os/exec", "C:/Go/src/os/exec", ClassGenerated},
{"os/exec.(*closeOnce).(os/exec", "C:/Go/src/os/exec", ClassSTD},
{"os/user", "C:/Go/src/os/user", ClassSTD},
{"path", "C:/Go/src/path", ClassSTD},
{"path/filepath", "C:/Go/src/path/filepath", ClassSTD},
{"redis", "C:/Users/h/CloudStation/Projects/0/ly/lady/src/redis", ClassMain},
{"reflect", "C:/Go/src/runtime", ClassSTD},
{"regexp", "C:/Go/src/regexp", ClassSTD},
{"regexp.(*onePassInst).regexp/syntax", ".", ClassGenerated},
{"regexp.(*onePassInst).regexp/syntax", ".", ClassSTD},
{"regexp/syntax", "C:/Go/src/regexp/syntax", ClassSTD},
{"runtime", "C:/Go/src/runtime", ClassSTD},
{"runtime/debug", "C:/Go/src/runtime", ClassSTD},
Expand All @@ -160,8 +160,8 @@ func TestClassifyPackage(t *testing.T) {
{"syscall", "C:/Go/src/runtime", ClassSTD},
{"text/template", "C:/Go/src/text/template", ClassSTD},
{"text/template/parse", "C:/Go/src/text/template/parse", ClassSTD},
{"text/template.(*Template).text/template/parse", ".", ClassGenerated},
{"text/template.Template.text/template/parse", ".", ClassGenerated},
{"text/template.(*Template).text/template/parse", ".", ClassSTD},
{"text/template.Template.text/template/parse", ".", ClassSTD},
{"time", "C:/Go/src/runtime", ClassSTD},
{"type", "C:/Users/h/CloudStation/Projects/0/ly/lady/src/lady", ClassGenerated},
{"type..eq.[0]github.com/shirou/gopsutil/net", "C:/Users/h/CloudStation/Projects/0/ly/lady/vendor/src/github.com/shirou/gopsutil/net", ClassGenerated},
Expand Down Expand Up @@ -310,7 +310,7 @@ func TestClassifyPackage(t *testing.T) {
{"unicode/utf8", "C:/Go/src/unicode/utf8", ClassSTD},
{"vendor/golang_org/x/net/http2/hpack", "c:/go/src/vendor/golang_org/x/net/http2/hpack", ClassVendor},
{"vendor/golang_org/x/text/unicode/norm", "c:/go/src/vendor/golang_org/x/text/unicode/norm", ClassVendor},
{"vendor/golang_org/x/net/dns/dnsmessage", "<autogenerated>", ClassVendor},
{"vendor/golang_org/x/net/dns/dnsmessage", ".", ClassVendor},
{"vendor/golang_org/x/text/unicode/bidi", "c:/go/src/vendor/golang_org/x/text/unicode/bidi", ClassVendor},
{"github.com/go-ole/go-ole", "c:/go/src/github.com/go-ole/go-ole", ClassVendor},
{"vendor/golang_org/x/text/secure/bidirule", "c:/go/src/vendor/golang_org/x/text/secure/bidirule", ClassVendor},
Expand Down

0 comments on commit 760db4a

Please sign in to comment.