diff --git a/Neo-JSONRPC-Tests.package/.filetree b/Neo-JSONRPC-Tests.package/.filetree deleted file mode 100644 index 57a6797..0000000 --- a/Neo-JSONRPC-Tests.package/.filetree +++ /dev/null @@ -1,5 +0,0 @@ -{ - "separateMethodMetaAndSource" : false, - "noMethodMetaData" : true, - "useCypressPropertiesFile" : true -} \ No newline at end of file diff --git a/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/README.md b/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/README.md deleted file mode 100644 index 20ae904..0000000 --- a/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/README.md +++ /dev/null @@ -1 +0,0 @@ -I test different uses of NeoJSONRPCResponseReader. \ No newline at end of file diff --git a/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithErrorAndSchema.st b/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithErrorAndSchema.st deleted file mode 100644 index 306167e..0000000 --- a/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithErrorAndSchema.st +++ /dev/null @@ -1,14 +0,0 @@ -tests -testResponseWithErrorAndSchema - - | contents response | - contents := '{"jsonrpc": "2.0", "error": {"code": -32601, "message": "Method not found"}, "id": "1"}'. - reader := NeoJSONRPCResponseReader on: contents readStream. - response := reader nextAs: NeoJSONTestObject1. - self assert: response class equals: NeoJSONRPCResponse. - self deny: response isOkay. - self assert: response isError. - self assert: response result isNil. - self assert: response error class = NeoJSONRPCResponseError. - - diff --git a/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithSchema.st b/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithSchema.st deleted file mode 100644 index 85dbf4e..0000000 --- a/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithSchema.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testResponseWithSchema - - | contents response | - contents := '{"jsonrpc": "2.0", "result": {"name":"Example1","created-at":"2012-06-08T14:30:15+01:00", "bytes":[2,4,6,8]}, "id": "1"}'. - reader := NeoJSONRPCResponseReader on: contents readStream. - response := reader nextAs: NeoJSONTestObject1 . - self assert: response class equals: NeoJSONRPCResponse. - self assert: response isOkay. - self deny: response isError. - self assert: response result class equals: NeoJSONTestObject1. - diff --git a/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithSchemaAndEmptyError.st b/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithSchemaAndEmptyError.st deleted file mode 100644 index 5a1c5f4..0000000 --- a/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithSchemaAndEmptyError.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testResponseWithSchemaAndEmptyError - - | contents response | - contents := '{"jsonrpc": "2.0", "result": {"name":"Example1","created-at":"2012-06-08T14:30:15+01:00", "bytes":[2,4,6,8]}, "error": null, "id": "1"}'. - reader := NeoJSONRPCResponseReader on: contents readStream. - response := reader nextAs: NeoJSONTestObject1 . - self assert: response class equals: NeoJSONRPCResponse. - self assert: response isOkay. - self deny: response isError. - self assert: response result class equals: NeoJSONTestObject1. - diff --git a/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithoutResultAndError.st b/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithoutResultAndError.st deleted file mode 100644 index 047ed5f..0000000 --- a/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithoutResultAndError.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testResponseWithoutResultAndError - - | contents response | - contents := '{"jsonrpc": "2.0", "id": "1"}'. - reader := NeoJSONRPCResponseReader on: contents readStream. - response := reader nextAs: NeoJSONTestObject1 . - self assert: response class equals: NeoJSONRPCResponse. - self deny: response isOkay. - self deny: response isError. - self assert: response result isNil - diff --git a/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithoutSchema.st b/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithoutSchema.st deleted file mode 100644 index 100bbb0..0000000 --- a/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithoutSchema.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testResponseWithoutSchema - - | contents response | - contents := '{"jsonrpc": "2.0", "result": ["hello", 5], "id": "1"}'. - reader := NeoJSONRPCResponseReader on: contents readStream. - response := reader next. - self assert: response class equals: NeoJSONRPCResponse. - self assert: response isOkay. - self deny: response isError. - self assert: response result class equals: Array. - diff --git a/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithoutSchemaAndSubkeyNamedResult.st b/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithoutSchemaAndSubkeyNamedResult.st deleted file mode 100644 index d8d1dda..0000000 --- a/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/instance/testResponseWithoutSchemaAndSubkeyNamedResult.st +++ /dev/null @@ -1,12 +0,0 @@ -tests -testResponseWithoutSchemaAndSubkeyNamedResult - - | contents response | - contents := '{"jsonrpc": "2.0", "result": {"name": "Foo", "result": "Another key named result"}, "id": "1"}'. - reader := NeoJSONRPCResponseReader on: contents readStream. - response := reader next. - self assert: response class equals: NeoJSONRPCResponse. - self assert: response isOkay. - self deny: response isError. - self assert: response result class equals: NeoJSONObject. - diff --git a/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/properties.json b/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/properties.json deleted file mode 100644 index 92a5188..0000000 --- a/Neo-JSONRPC-Tests.package/NeoJSONRPCResponseReaderTest.class/properties.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "commentStamp" : "EstebanMaringolo 7/27/2017 22:35", - "super" : "TestCase", - "category" : "Neo-JSONRPC-Tests", - "classinstvars" : [ ], - "pools" : [ ], - "classvars" : [ ], - "instvars" : [ - "reader" - ], - "name" : "NeoJSONRPCResponseReaderTest", - "type" : "normal" -} \ No newline at end of file diff --git a/Neo-JSONRPC-Tests.package/monticello.meta/categories.st b/Neo-JSONRPC-Tests.package/monticello.meta/categories.st deleted file mode 100644 index b724bfb..0000000 --- a/Neo-JSONRPC-Tests.package/monticello.meta/categories.st +++ /dev/null @@ -1 +0,0 @@ -SystemOrganization addCategory: #'Neo-JSONRPC-Tests'! diff --git a/Neo-JSONRPC-Tests.package/monticello.meta/initializers.st b/Neo-JSONRPC-Tests.package/monticello.meta/initializers.st deleted file mode 100644 index e69de29..0000000 diff --git a/Neo-JSONRPC-Tests.package/monticello.meta/package b/Neo-JSONRPC-Tests.package/monticello.meta/package deleted file mode 100644 index ad25933..0000000 --- a/Neo-JSONRPC-Tests.package/monticello.meta/package +++ /dev/null @@ -1 +0,0 @@ -(name 'Neo-JSONRPC-Tests') \ No newline at end of file diff --git a/Neo-JSONRPC-Tests.package/properties.json b/Neo-JSONRPC-Tests.package/properties.json deleted file mode 100644 index 6f31cf5..0000000 --- a/Neo-JSONRPC-Tests.package/properties.json +++ /dev/null @@ -1 +0,0 @@ -{ } \ No newline at end of file