avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bru...@apache.org
Subject svn commit: r1057727 [2/4] - in /avro/trunk/lang/c/jansson/test/suites: ./ api/ invalid-strip/ invalid-strip/apostrophe/ invalid-strip/ascii-unicode-identifier/ invalid-strip/brace-comma/ invalid-strip/bracket-comma/ invalid-strip/bracket-one-comma/ in...
Date Tue, 11 Jan 2011 16:50:53 GMT
Added: avro/trunk/lang/c/jansson/test/suites/api/test_object.c
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/api/test_object.c?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/api/test_object.c (added)
+++ avro/trunk/lang/c/jansson/test/suites/api/test_object.c Tue Jan 11 16:50:35 2011
@@ -0,0 +1,451 @@
+/*
+ * Copyright (c) 2009, 2010 Petri Lehtinen <petri@digip.org>
+ *
+ * Jansson is free software; you can redistribute it and/or modify
+ * it under the terms of the MIT license. See LICENSE for details.
+ */
+
+#include <jansson.h>
+#include <string.h>
+#include "util.h"
+
+static void test_clear()
+{
+    json_t *object, *ten;
+
+    object = json_object();
+    ten = json_integer(10);
+
+    if(!object)
+        fail("unable to create object");
+    if(!ten)
+        fail("unable to create integer");
+
+    if(json_object_set(object, "a", ten) ||
+       json_object_set(object, "b", ten) ||
+       json_object_set(object, "c", ten) ||
+       json_object_set(object, "d", ten) ||
+       json_object_set(object, "e", ten))
+        fail("unable to set value");
+
+    if(json_object_size(object) != 5)
+        fail("invalid size");
+
+    json_object_clear(object);
+
+    if(json_object_size(object) != 0)
+        fail("invalid size after clear");
+
+    json_decref(ten);
+    json_decref(object);
+}
+
+static void test_update()
+{
+    json_t *object, *other, *nine, *ten;
+
+    object = json_object();
+    other = json_object();
+
+    nine = json_integer(9);
+    ten = json_integer(10);
+
+    if(!object || !other)
+        fail("unable to create object");
+    if(!nine || !ten)
+        fail("unable to create integer");
+
+
+    /* update an empty object with an empty object */
+
+    if(json_object_update(object, other))
+        fail("unable to update an emtpy object with an empty object");
+
+    if(json_object_size(object) != 0)
+        fail("invalid size after update");
+
+    if(json_object_size(other) != 0)
+        fail("invalid size for updater after update");
+
+
+    /* update an empty object with a nonempty object */
+
+    if(json_object_set(other, "a", ten) ||
+       json_object_set(other, "b", ten) ||
+       json_object_set(other, "c", ten) ||
+       json_object_set(other, "d", ten) ||
+       json_object_set(other, "e", ten))
+        fail("unable to set value");
+
+    if(json_object_update(object, other))
+        fail("unable to update an empty object");
+
+    if(json_object_size(object) != 5)
+        fail("invalid size after update");
+
+    if(json_object_get(object, "a") != ten ||
+       json_object_get(object, "b") != ten ||
+       json_object_get(object, "c") != ten ||
+       json_object_get(object, "d") != ten ||
+       json_object_get(object, "e") != ten)
+        fail("update works incorrectly");
+
+
+    /* perform the same update again */
+
+    if(json_object_update(object, other))
+        fail("unable to update an empty object");
+
+    if(json_object_size(object) != 5)
+        fail("invalid size after update");
+
+    if(json_object_get(object, "a") != ten ||
+       json_object_get(object, "b") != ten ||
+       json_object_get(object, "c") != ten ||
+       json_object_get(object, "d") != ten ||
+       json_object_get(object, "e") != ten)
+        fail("update works incorrectly");
+
+
+    /* update a nonempty object with a nonempty object with both old
+       and new keys */
+
+    if(json_object_clear(other))
+        fail("clear failed");
+
+    if(json_object_set(other, "a", nine) ||
+       json_object_set(other, "b", nine) ||
+       json_object_set(other, "f", nine) ||
+       json_object_set(other, "g", nine) ||
+       json_object_set(other, "h", nine))
+        fail("unable to set value");
+
+    if(json_object_update(object, other))
+        fail("unable to update a nonempty object");
+
+    if(json_object_size(object) != 8)
+        fail("invalid size after update");
+
+    if(json_object_get(object, "a") != nine ||
+       json_object_get(object, "b") != nine ||
+       json_object_get(object, "f") != nine ||
+       json_object_get(object, "g") != nine ||
+       json_object_get(object, "h") != nine)
+        fail("update works incorrectly");
+
+    json_decref(nine);
+    json_decref(ten);
+    json_decref(other);
+    json_decref(object);
+}
+
+static void test_circular()
+{
+    json_t *object1, *object2;
+
+    object1 = json_object();
+    object2 = json_object();
+    if(!object1 || !object2)
+        fail("unable to create object");
+
+    /* the simple case is checked */
+    if(json_object_set(object1, "a", object1) == 0)
+        fail("able to set self");
+
+    /* create circular references */
+    if(json_object_set(object1, "a", object2) ||
+       json_object_set(object2, "a", object1))
+        fail("unable to set value");
+
+    /* circularity is detected when dumping */
+    if(json_dumps(object1, 0) != NULL)
+        fail("able to dump circulars");
+
+    /* decref twice to deal with the circular references */
+    json_decref(object1);
+    json_decref(object2);
+    json_decref(object1);
+}
+
+static void test_set_nocheck()
+{
+    json_t *object, *string;
+
+    object = json_object();
+    string = json_string("bar");
+
+    if(!object)
+        fail("unable to create object");
+    if(!string)
+        fail("unable to create string");
+
+    if(json_object_set_nocheck(object, "foo", string))
+        fail("json_object_set_nocheck failed");
+    if(json_object_get(object, "foo") != string)
+        fail("json_object_get after json_object_set_nocheck failed");
+
+    /* invalid UTF-8 in key */
+    if(json_object_set_nocheck(object, "a\xefz", string))
+        fail("json_object_set_nocheck failed for invalid UTF-8");
+    if(json_object_get(object, "a\xefz") != string)
+        fail("json_object_get after json_object_set_nocheck failed");
+
+    if(json_object_set_new_nocheck(object, "bax", json_integer(123)))
+        fail("json_object_set_new_nocheck failed");
+    if(json_integer_value(json_object_get(object, "bax")) != 123)
+        fail("json_object_get after json_object_set_new_nocheck failed");
+
+    /* invalid UTF-8 in key */
+    if(json_object_set_new_nocheck(object, "asdf\xfe", json_integer(321)))
+        fail("json_object_set_new_nocheck failed for invalid UTF-8");
+    if(json_integer_value(json_object_get(object, "asdf\xfe")) != 321)
+        fail("json_object_get after json_object_set_new_nocheck failed");
+
+    json_decref(string);
+    json_decref(object);
+}
+
+static void test_iterators()
+{
+    json_t *object, *foo, *bar, *baz;
+    void *iter;
+
+    if(json_object_iter(NULL))
+        fail("able to iterate over NULL");
+
+    if(json_object_iter_next(NULL, NULL))
+        fail("able to increment an iterator on a NULL object");
+
+    object = json_object();
+    foo = json_string("foo");
+    bar = json_string("bar");
+    baz = json_string("baz");
+    if(!object || !foo || !bar || !bar)
+        fail("unable to create values");
+
+    if(json_object_iter_next(object, NULL))
+        fail("able to increment a NULL iterator");
+
+    if(json_object_set(object, "a", foo) ||
+       json_object_set(object, "b", bar) ||
+       json_object_set(object, "c", baz))
+        fail("unable to populate object");
+
+    iter = json_object_iter(object);
+    if(!iter)
+        fail("unable to get iterator");
+    if(strcmp(json_object_iter_key(iter), "a"))
+        fail("iterating failed: wrong key");
+    if(json_object_iter_value(iter) != foo)
+        fail("iterating failed: wrong value");
+
+    iter = json_object_iter_next(object, iter);
+    if(!iter)
+        fail("unable to increment iterator");
+    if(strcmp(json_object_iter_key(iter), "b"))
+        fail("iterating failed: wrong key");
+    if(json_object_iter_value(iter) != bar)
+        fail("iterating failed: wrong value");
+
+    iter = json_object_iter_next(object, iter);
+    if(!iter)
+        fail("unable to increment iterator");
+    if(strcmp(json_object_iter_key(iter), "c"))
+        fail("iterating failed: wrong key");
+    if(json_object_iter_value(iter) != baz)
+        fail("iterating failed: wrong value");
+
+    if(json_object_iter_next(object, iter) != NULL)
+        fail("able to iterate over the end");
+
+    if(json_object_iter_at(object, "foo"))
+        fail("json_object_iter_at() succeeds for non-existent key");
+
+    iter = json_object_iter_at(object, "b");
+    if(!iter)
+        fail("json_object_iter_at() fails for an existing key");
+
+    if(strcmp(json_object_iter_key(iter), "b"))
+        fail("iterating failed: wrong key");
+    if(json_object_iter_value(iter) != bar)
+        fail("iterating failed: wrong value");
+
+    iter = json_object_iter_next(object, iter);
+    if(!iter)
+        fail("unable to increment iterator");
+    if(strcmp(json_object_iter_key(iter), "c"))
+        fail("iterating failed: wrong key");
+    if(json_object_iter_value(iter) != baz)
+        fail("iterating failed: wrong value");
+
+    if(json_object_iter_set(object, iter, bar))
+        fail("unable to set value at iterator");
+
+    if(strcmp(json_object_iter_key(iter), "c"))
+        fail("json_object_iter_key() fails after json_object_iter_set()");
+    if(json_object_iter_value(iter) != bar)
+        fail("json_object_iter_value() fails after json_object_iter_set()");
+    if(json_object_get(object, "c") != bar)
+        fail("json_object_get() fails after json_object_iter_set()");
+
+    json_decref(object);
+    json_decref(foo);
+    json_decref(bar);
+    json_decref(baz);
+}
+
+static void test_misc()
+{
+    json_t *object, *string, *other_string, *value;
+
+    object = json_object();
+    string = json_string("test");
+    other_string = json_string("other");
+
+    if(!object)
+        fail("unable to create object");
+    if(!string || !other_string)
+        fail("unable to create string");
+
+    if(json_object_get(object, "a"))
+        fail("value for nonexisting key");
+
+    if(json_object_set(object, "a", string))
+        fail("unable to set value");
+
+    if(!json_object_set(object, NULL, string))
+        fail("able to set NULL key");
+
+    if(!json_object_set(object, "a", NULL))
+        fail("able to set NULL value");
+
+    /* invalid UTF-8 in key */
+    if(!json_object_set(object, "a\xefz", string))
+        fail("able to set invalid unicode key");
+
+    value = json_object_get(object, "a");
+    if(!value)
+        fail("no value for existing key");
+    if(value != string)
+        fail("got different value than what was added");
+
+    /* "a", "lp" and "px" collide in a five-bucket hashtable */
+    if(json_object_set(object, "b", string) ||
+       json_object_set(object, "lp", string) ||
+       json_object_set(object, "px", string))
+        fail("unable to set value");
+
+    value = json_object_get(object, "a");
+    if(!value)
+        fail("no value for existing key");
+    if(value != string)
+        fail("got different value than what was added");
+
+    if(json_object_set(object, "a", other_string))
+        fail("unable to replace an existing key");
+
+    value = json_object_get(object, "a");
+    if(!value)
+        fail("no value for existing key");
+    if(value != other_string)
+        fail("got different value than what was set");
+
+    if(!json_object_del(object, "nonexisting"))
+        fail("able to delete a nonexisting key");
+
+    if(json_object_del(object, "px"))
+        fail("unable to delete an existing key");
+
+    if(json_object_del(object, "a"))
+        fail("unable to delete an existing key");
+
+    if(json_object_del(object, "lp"))
+        fail("unable to delete an existing key");
+
+
+    /* add many keys to initiate rehashing */
+
+    if(json_object_set(object, "a", string))
+        fail("unable to set value");
+
+    if(json_object_set(object, "lp", string))
+        fail("unable to set value");
+
+    if(json_object_set(object, "px", string))
+        fail("unable to set value");
+
+    if(json_object_set(object, "c", string))
+        fail("unable to set value");
+
+    if(json_object_set(object, "d", string))
+        fail("unable to set value");
+
+    if(json_object_set(object, "e", string))
+        fail("unable to set value");
+
+
+    if(json_object_set_new(object, "foo", json_integer(123)))
+        fail("unable to set new value");
+
+    value = json_object_get(object, "foo");
+    if(!json_is_integer(value) || json_integer_value(value) != 123)
+        fail("json_object_set_new works incorrectly");
+
+    if(!json_object_set_new(object, NULL, json_integer(432)))
+        fail("able to set_new NULL key");
+
+    if(!json_object_set_new(object, "foo", NULL))
+        fail("able to set_new NULL value");
+
+    json_decref(string);
+    json_decref(other_string);
+    json_decref(object);
+}
+
+static void test_preserve_order()
+{
+    json_t *object;
+    char *result;
+
+    const char *expected = "{\"foobar\": 1, \"bazquux\": 6, \"lorem ipsum\": 3, \"sit amet\": 5, \"helicopter\": 7}";
+
+    object = json_object();
+
+    json_object_set_new(object, "foobar", json_integer(1));
+    json_object_set_new(object, "bazquux", json_integer(2));
+    json_object_set_new(object, "lorem ipsum", json_integer(3));
+    json_object_set_new(object, "dolor", json_integer(4));
+    json_object_set_new(object, "sit amet", json_integer(5));
+
+    /* changing a value should preserve the order */
+    json_object_set_new(object, "bazquux", json_integer(6));
+
+    /* deletion shouldn't change the order of others */
+    json_object_del(object, "dolor");
+
+    /* add a new item just to make sure */
+    json_object_set_new(object, "helicopter", json_integer(7));
+
+    result = json_dumps(object, JSON_PRESERVE_ORDER);
+
+    if(strcmp(expected, result) != 0) {
+        fprintf(stderr, "%s != %s", expected, result);
+        fail("JSON_PRESERVE_ORDER doesn't work");
+    }
+
+    free(result);
+    json_decref(object);
+}
+
+int main()
+{
+    test_misc();
+    test_clear();
+    test_update();
+    test_circular();
+    test_set_nocheck();
+    test_iterators();
+    test_preserve_order();
+
+    return 0;
+}

Added: avro/trunk/lang/c/jansson/test/suites/api/test_simple.c
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/api/test_simple.c?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/api/test_simple.c (added)
+++ avro/trunk/lang/c/jansson/test/suites/api/test_simple.c Tue Jan 11 16:50:35 2011
@@ -0,0 +1,185 @@
+/*
+ * Copyright (c) 2009, 2010 Petri Lehtinen <petri@digip.org>
+ *
+ * Jansson is free software; you can redistribute it and/or modify
+ * it under the terms of the MIT license. See LICENSE for details.
+ */
+
+#include <string.h>
+#include <jansson.h>
+#include "util.h"
+
+/* Call the simple functions not covered by other tests of the public API */
+int main()
+{
+    json_t *value;
+
+    value = json_integer(1);
+    if(json_typeof(value) != JSON_INTEGER)
+        fail("json_typeof failed");
+
+    if(json_is_object(value))
+        fail("json_is_object failed");
+
+    if(json_is_array(value))
+        fail("json_is_array failed");
+
+    if(json_is_string(value))
+        fail("json_is_string failed");
+
+    if(!json_is_integer(value))
+        fail("json_is_integer failed");
+
+    if(json_is_real(value))
+        fail("json_is_real failed");
+
+    if(!json_is_number(value))
+        fail("json_is_number failed");
+
+    if(json_is_true(value))
+        fail("json_is_true failed");
+
+    if(json_is_false(value))
+        fail("json_is_false failed");
+
+    if(json_is_boolean(value))
+        fail("json_is_boolean failed");
+
+    if(json_is_null(value))
+        fail("json_is_null failed");
+
+    json_decref(value);
+
+
+    value = json_string("foo");
+    if(!value)
+        fail("json_string failed");
+    if(strcmp(json_string_value(value), "foo"))
+        fail("invalid string value");
+
+    if(json_string_set(value, "bar"))
+        fail("json_string_set failed");
+    if(strcmp(json_string_value(value), "bar"))
+        fail("invalid string value");
+
+    json_decref(value);
+
+    value = json_string(NULL);
+    if(value)
+        fail("json_string(NULL) failed");
+
+    /* invalid UTF-8  */
+    value = json_string("a\xefz");
+    if(value)
+        fail("json_string(<invalid utf-8>) failed");
+
+    value = json_string_nocheck("foo");
+    if(!value)
+        fail("json_string_nocheck failed");
+    if(strcmp(json_string_value(value), "foo"))
+        fail("invalid string value");
+
+    if(json_string_set_nocheck(value, "bar"))
+        fail("json_string_set_nocheck failed");
+    if(strcmp(json_string_value(value), "bar"))
+        fail("invalid string value");
+
+    json_decref(value);
+
+    /* invalid UTF-8 */
+    value = json_string_nocheck("qu\xff");
+    if(!value)
+        fail("json_string_nocheck failed");
+    if(strcmp(json_string_value(value), "qu\xff"))
+        fail("invalid string value");
+
+    if(json_string_set_nocheck(value, "\xfd\xfe\xff"))
+        fail("json_string_set_nocheck failed");
+    if(strcmp(json_string_value(value), "\xfd\xfe\xff"))
+        fail("invalid string value");
+
+    json_decref(value);
+
+
+    value = json_integer(123);
+    if(!value)
+        fail("json_integer failed");
+    if(json_integer_value(value) != 123)
+        fail("invalid integer value");
+    if(json_number_value(value) != 123.0)
+        fail("invalid number value");
+
+    if(json_integer_set(value, 321))
+        fail("json_integer_set failed");
+    if(json_integer_value(value) != 321)
+        fail("invalid integer value");
+    if(json_number_value(value) != 321.0)
+        fail("invalid number value");
+
+    json_decref(value);
+
+    value = json_real(123.123);
+    if(!value)
+        fail("json_real failed");
+    if(json_real_value(value) != 123.123)
+        fail("invalid integer value");
+    if(json_number_value(value) != 123.123)
+        fail("invalid number value");
+
+    if(json_real_set(value, 321.321))
+        fail("json_real_set failed");
+    if(json_real_value(value) != 321.321)
+        fail("invalid real value");
+    if(json_number_value(value) != 321.321)
+        fail("invalid number value");
+
+    json_decref(value);
+
+    value = json_true();
+    if(!value)
+        fail("json_true failed");
+    json_decref(value);
+
+    value = json_false();
+    if(!value)
+        fail("json_false failed");
+    json_decref(value);
+
+    value = json_null();
+    if(!value)
+        fail("json_null failed");
+    json_decref(value);
+
+    /* Test reference counting on singletons (true, false, null) */
+    value = json_true();
+    if(value->refcount != (unsigned int)-1)
+      fail("refcounting true works incorrectly");
+    json_decref(value);
+    if(value->refcount != (unsigned int)-1)
+      fail("refcounting true works incorrectly");
+    json_incref(value);
+    if(value->refcount != (unsigned int)-1)
+      fail("refcounting true works incorrectly");
+
+    value = json_false();
+    if(value->refcount != (unsigned int)-1)
+      fail("refcounting false works incorrectly");
+    json_decref(value);
+    if(value->refcount != (unsigned int)-1)
+      fail("refcounting false works incorrectly");
+    json_incref(value);
+    if(value->refcount != (unsigned int)-1)
+      fail("refcounting false works incorrectly");
+
+    value = json_null();
+    if(value->refcount != (unsigned int)-1)
+      fail("refcounting null works incorrectly");
+    json_decref(value);
+    if(value->refcount != (unsigned int)-1)
+      fail("refcounting null works incorrectly");
+    json_incref(value);
+    if(value->refcount != (unsigned int)-1)
+      fail("refcounting null works incorrectly");
+
+    return 0;
+}

Added: avro/trunk/lang/c/jansson/test/suites/api/util.h
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/api/util.h?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/api/util.h (added)
+++ avro/trunk/lang/c/jansson/test/suites/api/util.h Tue Jan 11 16:50:35 2011
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2009, 2010 Petri Lehtinen <petri@digip.org>
+ *
+ * Jansson is free software; you can redistribute it and/or modify
+ * it under the terms of the MIT license. See LICENSE for details.
+ */
+
+#ifndef TESTPROGS_UTIL_H
+#define TESTPROGS_UTIL_H
+
+#include <stdlib.h>
+
+#define fail(msg)                                                \
+    do {                                                         \
+        fprintf(stderr, "%s:%s:%d: %s\n",                        \
+                __FILE__, __FUNCTION__, __LINE__, msg);          \
+        exit(1);                                                 \
+    } while(0)
+
+#endif

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/apostrophe/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/apostrophe/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/apostrophe/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/apostrophe/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+invalid token near '''

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/apostrophe/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/apostrophe/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/apostrophe/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/apostrophe/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+['
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/ascii-unicode-identifier/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/ascii-unicode-identifier/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/ascii-unicode-identifier/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/ascii-unicode-identifier/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+'[' or '{' expected near 'a'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/ascii-unicode-identifier/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/ascii-unicode-identifier/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/ascii-unicode-identifier/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/ascii-unicode-identifier/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+aå
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/brace-comma/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/brace-comma/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/brace-comma/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/brace-comma/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+string or '}' expected near ','

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/brace-comma/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/brace-comma/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/brace-comma/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/brace-comma/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+{,
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/bracket-comma/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/bracket-comma/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/bracket-comma/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/bracket-comma/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+unexpected token near ','

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/bracket-comma/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/bracket-comma/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/bracket-comma/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/bracket-comma/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[,
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/bracket-one-comma/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/bracket-one-comma/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/bracket-one-comma/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/bracket-one-comma/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+']' expected near end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/bracket-one-comma/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/bracket-one-comma/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/bracket-one-comma/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/bracket-one-comma/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[1,
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/empty/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/empty/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/empty/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/empty/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+'[' or '{' expected near end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/escaped-null-byte-in-string/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/escaped-null-byte-in-string/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/escaped-null-byte-in-string/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/escaped-null-byte-in-string/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+\u0000 is not allowed

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/escaped-null-byte-in-string/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/escaped-null-byte-in-string/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/escaped-null-byte-in-string/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/escaped-null-byte-in-string/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+["\u0000 (null byte not allowed)"]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/extra-comma-in-array/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/extra-comma-in-array/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/extra-comma-in-array/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/extra-comma-in-array/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+unexpected token near ']'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/extra-comma-in-array/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/extra-comma-in-array/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/extra-comma-in-array/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/extra-comma-in-array/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[1,]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/extra-command-in-multiline-array/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/extra-command-in-multiline-array/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/extra-command-in-multiline-array/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/extra-command-in-multiline-array/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+6
+unexpected token near ']'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/extra-command-in-multiline-array/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/extra-command-in-multiline-array/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/extra-command-in-multiline-array/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/extra-command-in-multiline-array/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1,6 @@
+[1,
+2,
+3,
+4,
+5,
+]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/garbage-after-newline/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/garbage-after-newline/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/garbage-after-newline/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/garbage-after-newline/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+2
+end of file expected near 'foo'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/garbage-after-newline/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/garbage-after-newline/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/garbage-after-newline/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/garbage-after-newline/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+[1,2,3]
+foo

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/garbage-at-the-end/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/garbage-at-the-end/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/garbage-at-the-end/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/garbage-at-the-end/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+end of file expected near 'foo'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/garbage-at-the-end/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/garbage-at-the-end/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/garbage-at-the-end/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/garbage-at-the-end/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[1,2,3]foo
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/integer-starting-with-zero/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/integer-starting-with-zero/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/integer-starting-with-zero/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/integer-starting-with-zero/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+invalid token near '0'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/integer-starting-with-zero/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/integer-starting-with-zero/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/integer-starting-with-zero/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/integer-starting-with-zero/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[012]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-escape/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-escape/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-escape/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-escape/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+invalid escape near '"\'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-escape/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-escape/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-escape/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-escape/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+["\a <-- invalid escape"]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-identifier/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-identifier/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-identifier/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-identifier/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+invalid token near 'troo'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-identifier/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-identifier/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-identifier/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-identifier/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[troo
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-negative-integerr/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-negative-integerr/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-negative-integerr/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-negative-integerr/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+']' expected near 'foo'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-negative-integerr/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-negative-integerr/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-negative-integerr/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-negative-integerr/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[-123foo]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-negative-real/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-negative-real/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-negative-real/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-negative-real/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+']' expected near 'foo'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-negative-real/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-negative-real/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-negative-real/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-negative-real/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[-123.123foo]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-second-surrogate/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-second-surrogate/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-second-surrogate/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-second-surrogate/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+invalid Unicode '\uD888\u3210'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-second-surrogate/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-second-surrogate/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-second-surrogate/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/invalid-second-surrogate/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+["\uD888\u3210 (first surrogate and invalid second surrogate)"]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-open-brace/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-open-brace/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-open-brace/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-open-brace/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+string or '}' expected near end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-open-brace/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-open-brace/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-open-brace/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-open-brace/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+{
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-open-bracket/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-open-bracket/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-open-bracket/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-open-bracket/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+']' expected near end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-open-bracket/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-open-bracket/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-open-bracket/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-open-bracket/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-second-surrogate/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-second-surrogate/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-second-surrogate/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-second-surrogate/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+invalid Unicode '\uDFAA'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-second-surrogate/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-second-surrogate/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-second-surrogate/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/lone-second-surrogate/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+["\uDFAA (second surrogate on it's own)"]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/minus-sign-without-number/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/minus-sign-without-number/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/minus-sign-without-number/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/minus-sign-without-number/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+invalid token near '-'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/minus-sign-without-number/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/minus-sign-without-number/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/minus-sign-without-number/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/minus-sign-without-number/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[-foo]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/negative-integer-starting-with-zero/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/negative-integer-starting-with-zero/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/negative-integer-starting-with-zero/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/negative-integer-starting-with-zero/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+invalid token near '-0'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/negative-integer-starting-with-zero/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/negative-integer-starting-with-zero/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/negative-integer-starting-with-zero/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/negative-integer-starting-with-zero/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[-012]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/null-byte-in-string/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/null-byte-in-string/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/null-byte-in-string/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/null-byte-in-string/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+control character 0x0 near '"null byte '

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/null-byte-outside-string/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/null-byte-outside-string/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/null-byte-outside-string/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/null-byte-outside-string/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+invalid token near end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/null/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/null/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/null/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/null/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+'[' or '{' expected near 'null'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/null/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/null/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/null/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/null/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+null
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-apostrophes/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-apostrophes/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-apostrophes/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-apostrophes/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+string or '}' expected near '''

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-apostrophes/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-apostrophes/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-apostrophes/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-apostrophes/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+{'a'
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-garbage-at-end/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-garbage-at-end/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-garbage-at-end/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-garbage-at-end/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+'}' expected near '123'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-garbage-at-end/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-garbage-at-end/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-garbage-at-end/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-garbage-at-end/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+{"a":"a" 123}
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-in-unterminated-array/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-in-unterminated-array/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-in-unterminated-array/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-in-unterminated-array/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+']' expected near end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-in-unterminated-array/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-in-unterminated-array/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-in-unterminated-array/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-in-unterminated-array/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[{}
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-no-colon/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-no-colon/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-no-colon/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-no-colon/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+':' expected near end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-no-colon/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-no-colon/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-no-colon/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-no-colon/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+{"a"
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-no-value/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-no-value/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-no-value/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-no-value/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+unexpected token near end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-no-value/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-no-value/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-no-value/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-no-value/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+{"a":
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-unterminated-value/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-unterminated-value/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-unterminated-value/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-unterminated-value/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+premature end of input near '"a'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-unterminated-value/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-unterminated-value/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-unterminated-value/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/object-unterminated-value/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+{"a":"a
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-garbage-after-e/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-garbage-after-e/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-garbage-after-e/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-garbage-after-e/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+invalid token near '1e'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-garbage-after-e/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-garbage-after-e/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-garbage-after-e/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-garbage-after-e/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[1ea]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-negative-overflow/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-negative-overflow/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-negative-overflow/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-negative-overflow/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+real number overflow near '-123123e100000'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-negative-overflow/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-negative-overflow/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-negative-overflow/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-negative-overflow/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[-123123e100000]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-positive-overflow/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-positive-overflow/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-positive-overflow/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-positive-overflow/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+real number overflow near '123123e100000'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-positive-overflow/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-positive-overflow/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-positive-overflow/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-positive-overflow/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[123123e100000]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-truncated-at-e/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-truncated-at-e/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-truncated-at-e/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-truncated-at-e/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+invalid token near '1e'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-truncated-at-e/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-truncated-at-e/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-truncated-at-e/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-truncated-at-e/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[1e]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-truncated-at-point/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-truncated-at-point/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-truncated-at-point/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-truncated-at-point/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+invalid token near '1.'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-truncated-at-point/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-truncated-at-point/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-truncated-at-point/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/real-truncated-at-point/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[1.]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/run
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/run?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/run (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/run Tue Jan 11 16:50:35 2011
@@ -0,0 +1,27 @@
+#!/bin/sh
+#
+# Copyright (c) 2009, 2010 Petri Lehtinen <petri@digip.org>
+#
+# Jansson is free software; you can redistribute it and/or modify
+# it under the terms of the MIT license. See LICENSE for details.
+
+is_test() {
+    test -d $test_path
+}
+
+run_test() {
+    $json_process <$test_path/input >$test_log/stdout 2>$test_log/stderr
+    valgrind_check $test_log/stderr || return 1
+    cmp -s $test_path/error $test_log/stderr
+}
+
+show_error() {
+    valgrind_show_error && return
+
+    echo "EXPECTED ERROR:"
+    nl -bn $test_path/error
+    echo "ACTUAL ERROR:"
+    nl -bn $test_log/stderr
+}
+
+. $top_srcdir/test/scripts/run-tests.sh

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/tab-character-in-string/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/tab-character-in-string/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/tab-character-in-string/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/tab-character-in-string/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+control character 0x9 near '"'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/tab-character-in-string/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/tab-character-in-string/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/tab-character-in-string/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/tab-character-in-string/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+["	 <-- tab character"]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/too-big-negative-integer/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/too-big-negative-integer/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/too-big-negative-integer/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/too-big-negative-integer/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+too big negative integer near '-123123123123123'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/too-big-negative-integer/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/too-big-negative-integer/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/too-big-negative-integer/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/too-big-negative-integer/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[-123123123123123]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/too-big-positive-integer/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/too-big-positive-integer/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/too-big-positive-integer/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/too-big-positive-integer/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+too big integer near '123123123123123'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/too-big-positive-integer/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/too-big-positive-integer/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/too-big-positive-integer/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/too-big-positive-integer/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[123123123123123]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/truncated-unicode-surrogate/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/truncated-unicode-surrogate/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/truncated-unicode-surrogate/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/truncated-unicode-surrogate/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+invalid Unicode '\uDADA'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/truncated-unicode-surrogate/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/truncated-unicode-surrogate/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/truncated-unicode-surrogate/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/truncated-unicode-surrogate/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+["\uDADA (first surrogate without the second)"]
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/unicode-identifier/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/unicode-identifier/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/unicode-identifier/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/unicode-identifier/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+'[' or '{' expected near 'Ã¥'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/unicode-identifier/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/unicode-identifier/input?rev=1057727&view=auto
==============================================================================
Binary file - no diff available.

Propchange: avro/trunk/lang/c/jansson/test/suites/invalid-strip/unicode-identifier/input
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-array-and-object/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-array-and-object/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-array-and-object/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-array-and-object/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+string or '}' expected near end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-array-and-object/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-array-and-object/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-array-and-object/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-array-and-object/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[{
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-array/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-array/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-array/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-array/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+']' expected near end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-array/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-array/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-array/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-array/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+["a"
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-empty-key/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-empty-key/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-empty-key/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-empty-key/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+premature end of input near '"'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-empty-key/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-empty-key/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-empty-key/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-empty-key/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+{"
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-key/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-key/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-key/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-key/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+premature end of input near '"a'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-key/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-key/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-key/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-key/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+{"a
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-object-and-array/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-object-and-array/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-object-and-array/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-object-and-array/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+string or '}' expected near '['

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-object-and-array/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-object-and-array/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-object-and-array/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-object-and-array/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+{[
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-string/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-string/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-string/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-string/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+1
+premature end of input near '"a'

Added: avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-string/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-string/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-string/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-strip/unterminated-string/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+["a
\ No newline at end of file

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/encoded-surrogate-half/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/encoded-surrogate-half/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/encoded-surrogate-half/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/encoded-surrogate-half/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+-1
+unable to decode byte 0xed at position 2

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/encoded-surrogate-half/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/encoded-surrogate-half/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/encoded-surrogate-half/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/encoded-surrogate-half/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+["í¢« <-- encoded surrogate half"]

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-after-backslash/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-after-backslash/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-after-backslash/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-after-backslash/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+-1
+unable to decode byte 0xe5 at position 3

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-after-backslash/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-after-backslash/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-after-backslash/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-after-backslash/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+["\å"]

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-array/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-array/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-array/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-array/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+-1
+unable to decode byte 0xe5 at position 1

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-array/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-array/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-array/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-array/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[å]

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+-1
+unable to decode byte 0xe5 at position 4

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[123å]

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-escape/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-escape/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-escape/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-escape/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+-1
+unable to decode byte 0xe5 at position 4

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-escape/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-escape/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-escape/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-escape/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+["\uå"]

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-exponent/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-exponent/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-exponent/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-exponent/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+-1
+unable to decode byte 0xe5 at position 4

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-exponent/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-exponent/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-exponent/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-exponent/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[1e1å]

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-identifier/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-identifier/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-identifier/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-identifier/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+-1
+unable to decode byte 0xe5 at position 2

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-identifier/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-identifier/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-identifier/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-identifier/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[aå]

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-int/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-int/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-int/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-int/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+-1
+unable to decode byte 0xe5 at position 2

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-int/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-int/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-int/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-int/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[0å]

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+-1
+unable to decode byte 0xe5 at position 3

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[1eå]

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-string/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-string/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-string/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-string/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+-1
+unable to decode byte 0xe5 at position 2

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-string/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-string/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-string/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/invalid-utf-8-in-string/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+["å <-- invalid UTF-8"]

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/lone-invalid-utf-8/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/lone-invalid-utf-8/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/lone-invalid-utf-8/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/lone-invalid-utf-8/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+-1
+unable to decode byte 0xe5 at position 0

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/lone-invalid-utf-8/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/lone-invalid-utf-8/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/lone-invalid-utf-8/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/lone-invalid-utf-8/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+å

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/lone-utf-8-continuation-byte/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/lone-utf-8-continuation-byte/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/lone-utf-8-continuation-byte/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/lone-utf-8-continuation-byte/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+-1
+unable to decode byte 0x81 at position 2

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/lone-utf-8-continuation-byte/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/lone-utf-8-continuation-byte/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/lone-utf-8-continuation-byte/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/lone-utf-8-continuation-byte/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+[""]

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/not-in-unicode-range/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/not-in-unicode-range/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/not-in-unicode-range/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/not-in-unicode-range/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+-1
+unable to decode byte 0xf4 at position 2

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/not-in-unicode-range/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/not-in-unicode-range/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/not-in-unicode-range/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/not-in-unicode-range/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+["ô¿¿¿"]

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/overlong-3-byte-encoding/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/overlong-3-byte-encoding/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/overlong-3-byte-encoding/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/overlong-3-byte-encoding/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+-1
+unable to decode byte 0xe0 at position 2

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/overlong-3-byte-encoding/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/overlong-3-byte-encoding/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/overlong-3-byte-encoding/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/overlong-3-byte-encoding/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+["à€¢ <-- overlong encoding"]

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/overlong-4-byte-encoding/error
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/overlong-4-byte-encoding/error?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/overlong-4-byte-encoding/error (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/overlong-4-byte-encoding/error Tue Jan 11 16:50:35 2011
@@ -0,0 +1,2 @@
+-1
+unable to decode byte 0xf0 at position 2

Added: avro/trunk/lang/c/jansson/test/suites/invalid-unicode/overlong-4-byte-encoding/input
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/jansson/test/suites/invalid-unicode/overlong-4-byte-encoding/input?rev=1057727&view=auto
==============================================================================
--- avro/trunk/lang/c/jansson/test/suites/invalid-unicode/overlong-4-byte-encoding/input (added)
+++ avro/trunk/lang/c/jansson/test/suites/invalid-unicode/overlong-4-byte-encoding/input Tue Jan 11 16:50:35 2011
@@ -0,0 +1 @@
+["ð€€¢ <-- overlong encoding"]



Mime
View raw message