mirror of
https://github.com/mochi-mqtt/server.git
synced 2025-10-30 03:01:58 +08:00
All working
This commit is contained in:
@@ -77,6 +77,7 @@ func TestNew(t *testing.T) {
|
||||
require.NotNil(t, s)
|
||||
require.NotNil(t, s.listeners)
|
||||
require.NotNil(t, s.clients)
|
||||
require.NotNil(t, s.inbound)
|
||||
// log.Println(s)
|
||||
}
|
||||
|
||||
@@ -86,6 +87,11 @@ func BenchmarkNew(b *testing.B) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestProcessor(t *testing.T) {
|
||||
s := New()
|
||||
|
||||
}
|
||||
|
||||
func TestServerAddListener(t *testing.T) {
|
||||
s := New()
|
||||
require.NotNil(t, s)
|
||||
|
||||
Reference in New Issue
Block a user