Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Genki Sugawara committed Mar 29, 2017
1 parent 8506775 commit 0e29dd7
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/sisito/driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"
)

func TestRecentlyListed(t *testing.T) {
func TestDriverRecentlyListed(t *testing.T) {
assert := assert.New(t)
driver := &Driver{Config: &Config{}, DbMap: &gorp.DbMap{}}

Expand Down Expand Up @@ -42,7 +42,7 @@ func TestRecentlyListed(t *testing.T) {
assert.Equal([]BounceMail{BounceMail{Id: 1}}, rows)
}

func TestRecentlyListedWithFilter(t *testing.T) {
func TestDriverRecentlyListedWithFilter(t *testing.T) {
assert := assert.New(t)
driver := &Driver{Config: &Config{
Filter: []FilterConfig{
Expand Down Expand Up @@ -80,7 +80,7 @@ func TestRecentlyListedWithFilter(t *testing.T) {
assert.Equal([]BounceMail{BounceMail{Id: 1}}, rows)
}

func TestRecentlyListedWithoutFilter(t *testing.T) {
func TestDriverRecentlyListedWithoutFilter(t *testing.T) {
assert := assert.New(t)
driver := &Driver{Config: &Config{
Filter: []FilterConfig{
Expand Down Expand Up @@ -117,7 +117,7 @@ func TestRecentlyListedWithoutFilter(t *testing.T) {
assert.Equal([]BounceMail{BounceMail{Id: 1}}, rows)
}

func TestRecentlyListedWithSql(t *testing.T) {
func TestDriverRecentlyListedWithSql(t *testing.T) {
assert := assert.New(t)
driver := &Driver{Config: &Config{
Filter: []FilterConfig{
Expand Down Expand Up @@ -155,7 +155,7 @@ func TestRecentlyListedWithSql(t *testing.T) {
assert.Equal([]BounceMail{BounceMail{Id: 1}}, rows)
}

func TestRecentlyListedWithoutSenderdomain(t *testing.T) {
func TestDriverRecentlyListedWithoutSenderdomain(t *testing.T) {
assert := assert.New(t)
driver := &Driver{Config: &Config{}, DbMap: &gorp.DbMap{}}

Expand Down Expand Up @@ -187,7 +187,7 @@ func TestRecentlyListedWithoutSenderdomain(t *testing.T) {
assert.Equal([]BounceMail{BounceMail{Id: 1}}, rows)
}

func TestListed(t *testing.T) {
func TestDriverListed(t *testing.T) {
assert := assert.New(t)
driver := &Driver{Config: &Config{}, DbMap: &gorp.DbMap{}}

Expand Down Expand Up @@ -217,7 +217,7 @@ func TestListed(t *testing.T) {
assert.Equal(count, true)
}

func TestListedWithFilter(t *testing.T) {
func TestDriverListedWithFilter(t *testing.T) {
assert := assert.New(t)
driver := &Driver{Config: &Config{
Filter: []FilterConfig{
Expand Down Expand Up @@ -252,7 +252,7 @@ func TestListedWithFilter(t *testing.T) {
assert.Equal(count, true)
}

func TestListedWithoutFilter(t *testing.T) {
func TestDriverListedWithoutFilter(t *testing.T) {
assert := assert.New(t)
driver := &Driver{Config: &Config{
Filter: []FilterConfig{
Expand Down Expand Up @@ -286,7 +286,7 @@ func TestListedWithoutFilter(t *testing.T) {
assert.Equal(count, true)
}

func TestListedWithSql(t *testing.T) {
func TestDriverListedWithSql(t *testing.T) {
assert := assert.New(t)
driver := &Driver{Config: &Config{
Filter: []FilterConfig{
Expand Down Expand Up @@ -321,7 +321,7 @@ func TestListedWithSql(t *testing.T) {
assert.Equal(count, true)
}

func TestListedWithoutSenderdomain(t *testing.T) {
func TestDriverListedWithoutSenderdomain(t *testing.T) {
assert := assert.New(t)
driver := &Driver{Config: &Config{}, DbMap: &gorp.DbMap{}}

Expand Down Expand Up @@ -350,7 +350,7 @@ func TestListedWithoutSenderdomain(t *testing.T) {
assert.Equal(count, true)
}

func TestBlacklistRecipients(t *testing.T) {
func TestDriverBlacklistRecipients(t *testing.T) {
assert := assert.New(t)
driver := &Driver{Config: &Config{}, DbMap: &gorp.DbMap{}}

Expand Down Expand Up @@ -389,7 +389,7 @@ func TestBlacklistRecipients(t *testing.T) {
assert.Equal(recipients, []string{"[email protected]"})
}

func TestBlacklistRecipientsWithFilter(t *testing.T) {
func TestDriverBlacklistRecipientsWithFilter(t *testing.T) {
assert := assert.New(t)
driver := &Driver{Config: &Config{
Filter: []FilterConfig{
Expand Down Expand Up @@ -433,7 +433,7 @@ func TestBlacklistRecipientsWithFilter(t *testing.T) {
assert.Equal(recipients, []string{"[email protected]"})
}

func TestBlacklistRecipientsWithoutFilter(t *testing.T) {
func TestDriverBlacklistRecipientsWithoutFilter(t *testing.T) {
assert := assert.New(t)
driver := &Driver{Config: &Config{
Filter: []FilterConfig{
Expand Down Expand Up @@ -476,7 +476,7 @@ func TestBlacklistRecipientsWithoutFilter(t *testing.T) {
assert.Equal(recipients, []string{"[email protected]"})
}

func TestBlacklistRecipientsWithSql(t *testing.T) {
func TestDriverBlacklistRecipientsWithSql(t *testing.T) {
assert := assert.New(t)
driver := &Driver{Config: &Config{
Filter: []FilterConfig{
Expand Down Expand Up @@ -520,7 +520,7 @@ func TestBlacklistRecipientsWithSql(t *testing.T) {
assert.Equal(recipients, []string{"[email protected]"})
}

func TestBlacklistRecipientsWithoutOptions(t *testing.T) {
func TestDriverBlacklistRecipientsWithoutOptions(t *testing.T) {
assert := assert.New(t)
driver := &Driver{Config: &Config{}, DbMap: &gorp.DbMap{}}

Expand Down

0 comments on commit 0e29dd7

Please sign in to comment.