-
Notifications
You must be signed in to change notification settings - Fork 460
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Declare test cases for static API and add a few implementations
- Loading branch information
1 parent
1b4fac7
commit 906d381
Showing
3 changed files
with
451 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package session | ||
|
||
import "testing" | ||
|
||
func TestStaticGetSessionByUID(t *testing.T) { | ||
// GetSessionByUID(uid string) Session | ||
// TODO(static): implement test | ||
} | ||
|
||
func TestStaticGetSessionByID(t *testing.T) { | ||
// GetSessionByID(id int64) Session | ||
// TODO(static): implement test | ||
} | ||
|
||
func TestStaticOnSessionBind(t *testing.T) { | ||
// OnSessionBind(f func(ctx context.Context, s Session) error) | ||
// TODO(static): implement test | ||
} | ||
|
||
func TestStaticOnAfterSessionBind(t *testing.T) { | ||
// OnAfterSessionBind(f func(ctx context.Context, s Session) error) | ||
// TODO(static): implement test | ||
} | ||
|
||
func TestStaticOnSessionClose(t *testing.T) { | ||
// OnSessionClose(f func(s Session)) | ||
// TODO(static): implement test | ||
} | ||
|
||
func TestStaticCloseAll(t *testing.T) { | ||
// CloseAll() | ||
// TODO(static): implement test | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.