Navigation Menu

Skip to content

Commit

Permalink
Follow droonga-client gen change
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 10, 2014
1 parent 1d7d722 commit 06c89fd
Show file tree
Hide file tree
Showing 52 changed files with 1,077 additions and 1,316 deletions.
92 changes: 38 additions & 54 deletions test/command/suite/add/dimension/column.expected
@@ -1,57 +1,41 @@
[
"droonga.message",
0,
{
"inReplyTo": "request-id",
"statusCode": 200,
"type": "add.result",
"body": true
}
]
[
"droonga.message",
0,
{
"inReplyTo": "request-id",
"statusCode": 200,
"type": "add.result",
"body": true
}
]
[
"droonga.message",
0,
{
"inReplyTo": "request-id",
"statusCode": 200,
"type": "add.result",
"body": true
}
]
[
"droonga.message",
0,
{
"inReplyTo": "request-id",
"statusCode": 200,
"type": "search.result",
"body": {
"products": {
"records": [
[
"Groonga",
"groonga"
],
[
"Rroonga",
"groonga"
],
[
"Ruby",
"ruby"
]
{
"inReplyTo": "request-id",
"statusCode": 200,
"type": "add.result",
"body": true
}
{
"inReplyTo": "request-id",
"statusCode": 200,
"type": "add.result",
"body": true
}
{
"inReplyTo": "request-id",
"statusCode": 200,
"type": "add.result",
"body": true
}
{
"inReplyTo": "request-id",
"statusCode": 200,
"type": "search.result",
"body": {
"products": {
"records": [
[
"Groonga",
"groonga"
],
[
"Rroonga",
"groonga"
],
[
"Ruby",
"ruby"
]
}
]
}
}
]
}
92 changes: 38 additions & 54 deletions test/command/suite/add/dimension/integer.expected
@@ -1,57 +1,41 @@
[
"droonga.message",
0,
{
"inReplyTo": "request-id",
"statusCode": 200,
"type": "add.result",
"body": true
}
]
[
"droonga.message",
0,
{
"inReplyTo": "request-id",
"statusCode": 200,
"type": "add.result",
"body": true
}
]
[
"droonga.message",
0,
{
"inReplyTo": "request-id",
"statusCode": 200,
"type": "add.result",
"body": true
}
]
[
"droonga.message",
0,
{
"inReplyTo": "request-id",
"statusCode": 200,
"type": "search.result",
"body": {
"products": {
"records": [
[
1,
"Groonga"
],
[
2,
"Droonga"
],
[
3,
"Ruby"
]
{
"inReplyTo": "request-id",
"statusCode": 200,
"type": "add.result",
"body": true
}
{
"inReplyTo": "request-id",
"statusCode": 200,
"type": "add.result",
"body": true
}
{
"inReplyTo": "request-id",
"statusCode": 200,
"type": "add.result",
"body": true
}
{
"inReplyTo": "request-id",
"statusCode": 200,
"type": "search.result",
"body": {
"products": {
"records": [
[
1,
"Groonga"
],
[
2,
"Droonga"
],
[
3,
"Ruby"
]
}
]
}
}
]
}
80 changes: 38 additions & 42 deletions test/command/suite/add/error/invalid-integer.expected
@@ -1,50 +1,46 @@
[
"droonga.message",
0,
{
"inReplyTo": "request-id",
"statusCode": 400,
"type": "add.result",
"body": {
"name": "InvalidValue",
"message": "The column \"age\" cannot store the value \"secret\".",
"detail": {
"table": "User",
"key": "key",
"values": {
"age": "secret"
}
{
"inReplyTo": "request-id",
"statusCode": 400,
"type": "add.result",
"body": {
"name": "InvalidValue",
"message": "The column \"age\" cannot store the value \"secret\".",
"detail": {
"table": "User",
"key": "key",
"values": {
"age": "secret"
}
},
"errors": {
"sources0": {
"statusCode": 400,
"body": {
"name": "InvalidValue",
"message": "The column \"age\" cannot store the value \"secret\".",
"detail": {
"table": "User",
"key": "key",
"values": {
"age": "secret"
}
}
},
"errors": {
"sources0": {
"statusCode": 400,
"body": {
"name": "InvalidValue",
"message": "The column \"age\" cannot store the value \"secret\".",
"detail": {
"table": "User",
"key": "key",
"values": {
"age": "secret"
}
}
},
"sources1": {
"statusCode": 400,
"body": {
"name": "InvalidValue",
"message": "The column \"age\" cannot store the value \"secret\".",
"detail": {
"table": "User",
"key": "key",
"values": {
"age": "secret"
}
}
},
"sources1": {
"statusCode": 400,
"body": {
"name": "InvalidValue",
"message": "The column \"age\" cannot store the value \"secret\".",
"detail": {
"table": "User",
"key": "key",
"values": {
"age": "secret"
}
}
}
}
}
]
}
80 changes: 38 additions & 42 deletions test/command/suite/add/error/invalid-time.expected
@@ -1,50 +1,46 @@
[
"droonga.message",
0,
{
"inReplyTo": "request-id",
"statusCode": 400,
"type": "add.result",
"body": {
"name": "InvalidValue",
"message": "The column \"birthday\" cannot store the value \"today\".",
"detail": {
"table": "User",
"key": "key",
"values": {
"birthday": "today"
}
{
"inReplyTo": "request-id",
"statusCode": 400,
"type": "add.result",
"body": {
"name": "InvalidValue",
"message": "The column \"birthday\" cannot store the value \"today\".",
"detail": {
"table": "User",
"key": "key",
"values": {
"birthday": "today"
}
},
"errors": {
"sources0": {
"statusCode": 400,
"body": {
"name": "InvalidValue",
"message": "The column \"birthday\" cannot store the value \"today\".",
"detail": {
"table": "User",
"key": "key",
"values": {
"birthday": "today"
}
}
},
"errors": {
"sources0": {
"statusCode": 400,
"body": {
"name": "InvalidValue",
"message": "The column \"birthday\" cannot store the value \"today\".",
"detail": {
"table": "User",
"key": "key",
"values": {
"birthday": "today"
}
}
},
"sources1": {
"statusCode": 400,
"body": {
"name": "InvalidValue",
"message": "The column \"birthday\" cannot store the value \"today\".",
"detail": {
"table": "User",
"key": "key",
"values": {
"birthday": "today"
}
}
},
"sources1": {
"statusCode": 400,
"body": {
"name": "InvalidValue",
"message": "The column \"birthday\" cannot store the value \"today\".",
"detail": {
"table": "User",
"key": "key",
"values": {
"birthday": "today"
}
}
}
}
}
]
}

0 comments on commit 06c89fd

Please sign in to comment.