2014-06-01 22:03:58 -04:00
|
|
|
|
|
|
|
/** DO NOT MODIFY THIS FILE, THIS TEST FILE IS AUTO-GENERATED. **/
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <check.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <assert.h>
|
|
|
|
#include "r3.h"
|
|
|
|
#include "r3_str.h"
|
|
|
|
#include "zmalloc.h"
|
|
|
|
|
|
|
|
START_TEST (test_routes)
|
|
|
|
{
|
|
|
|
node * n = r3_tree_create(10);
|
|
|
|
node * m = NULL;
|
|
|
|
|
2015-10-18 02:57:55 -04:00
|
|
|
char *data0 = "/";
|
|
|
|
r3_tree_insert_path(n, "/", (void*) data0);
|
|
|
|
char *data1 = "/foo/bar/baz";
|
|
|
|
r3_tree_insert_path(n, "/foo/bar/baz", (void*) data1);
|
|
|
|
char *data2 = "/foo/bar/qux";
|
|
|
|
r3_tree_insert_path(n, "/foo/bar/qux", (void*) data2);
|
|
|
|
char *data3 = "/foo/bar/quux";
|
|
|
|
r3_tree_insert_path(n, "/foo/bar/quux", (void*) data3);
|
|
|
|
char *data4 = "/foo/bar/corge";
|
|
|
|
r3_tree_insert_path(n, "/foo/bar/corge", (void*) data4);
|
|
|
|
char *data5 = "/foo/bar/grault";
|
|
|
|
r3_tree_insert_path(n, "/foo/bar/grault", (void*) data5);
|
|
|
|
char *data6 = "/foo/bar/garply";
|
|
|
|
r3_tree_insert_path(n, "/foo/bar/garply", (void*) data6);
|
|
|
|
char *data7 = "/foo/baz/bar";
|
|
|
|
r3_tree_insert_path(n, "/foo/baz/bar", (void*) data7);
|
|
|
|
char *data8 = "/foo/baz/qux";
|
|
|
|
r3_tree_insert_path(n, "/foo/baz/qux", (void*) data8);
|
|
|
|
char *data9 = "/foo/baz/quux";
|
|
|
|
r3_tree_insert_path(n, "/foo/baz/quux", (void*) data9);
|
|
|
|
char *data10 = "/foo/baz/corge";
|
|
|
|
r3_tree_insert_path(n, "/foo/baz/corge", (void*) data10);
|
|
|
|
char *data11 = "/foo/baz/grault";
|
|
|
|
r3_tree_insert_path(n, "/foo/baz/grault", (void*) data11);
|
|
|
|
char *data12 = "/foo/baz/garply";
|
|
|
|
r3_tree_insert_path(n, "/foo/baz/garply", (void*) data12);
|
|
|
|
char *data13 = "/foo/qux/bar";
|
|
|
|
r3_tree_insert_path(n, "/foo/qux/bar", (void*) data13);
|
|
|
|
char *data14 = "/foo/qux/baz";
|
|
|
|
r3_tree_insert_path(n, "/foo/qux/baz", (void*) data14);
|
|
|
|
char *data15 = "/foo/qux/quux";
|
|
|
|
r3_tree_insert_path(n, "/foo/qux/quux", (void*) data15);
|
|
|
|
char *data16 = "/foo/qux/corge";
|
|
|
|
r3_tree_insert_path(n, "/foo/qux/corge", (void*) data16);
|
|
|
|
char *data17 = "/foo/qux/grault";
|
|
|
|
r3_tree_insert_path(n, "/foo/qux/grault", (void*) data17);
|
|
|
|
char *data18 = "/foo/qux/garply";
|
|
|
|
r3_tree_insert_path(n, "/foo/qux/garply", (void*) data18);
|
|
|
|
char *data19 = "/foo/quux/bar";
|
|
|
|
r3_tree_insert_path(n, "/foo/quux/bar", (void*) data19);
|
|
|
|
char *data20 = "/foo/quux/baz";
|
|
|
|
r3_tree_insert_path(n, "/foo/quux/baz", (void*) data20);
|
|
|
|
char *data21 = "/foo/quux/qux";
|
|
|
|
r3_tree_insert_path(n, "/foo/quux/qux", (void*) data21);
|
|
|
|
char *data22 = "/foo/quux/corge";
|
|
|
|
r3_tree_insert_path(n, "/foo/quux/corge", (void*) data22);
|
|
|
|
char *data23 = "/foo/quux/grault";
|
|
|
|
r3_tree_insert_path(n, "/foo/quux/grault", (void*) data23);
|
|
|
|
char *data24 = "/foo/quux/garply";
|
|
|
|
r3_tree_insert_path(n, "/foo/quux/garply", (void*) data24);
|
|
|
|
char *data25 = "/foo/corge/bar";
|
|
|
|
r3_tree_insert_path(n, "/foo/corge/bar", (void*) data25);
|
|
|
|
char *data26 = "/foo/corge/baz";
|
|
|
|
r3_tree_insert_path(n, "/foo/corge/baz", (void*) data26);
|
|
|
|
char *data27 = "/foo/corge/qux";
|
|
|
|
r3_tree_insert_path(n, "/foo/corge/qux", (void*) data27);
|
|
|
|
char *data28 = "/foo/corge/quux";
|
|
|
|
r3_tree_insert_path(n, "/foo/corge/quux", (void*) data28);
|
|
|
|
char *data29 = "/foo/corge/grault";
|
|
|
|
r3_tree_insert_path(n, "/foo/corge/grault", (void*) data29);
|
|
|
|
char *data30 = "/foo/corge/garply";
|
|
|
|
r3_tree_insert_path(n, "/foo/corge/garply", (void*) data30);
|
|
|
|
char *data31 = "/foo/grault/bar";
|
|
|
|
r3_tree_insert_path(n, "/foo/grault/bar", (void*) data31);
|
|
|
|
char *data32 = "/foo/grault/baz";
|
|
|
|
r3_tree_insert_path(n, "/foo/grault/baz", (void*) data32);
|
|
|
|
char *data33 = "/foo/grault/qux";
|
|
|
|
r3_tree_insert_path(n, "/foo/grault/qux", (void*) data33);
|
|
|
|
char *data34 = "/foo/grault/quux";
|
|
|
|
r3_tree_insert_path(n, "/foo/grault/quux", (void*) data34);
|
|
|
|
char *data35 = "/foo/grault/corge";
|
|
|
|
r3_tree_insert_path(n, "/foo/grault/corge", (void*) data35);
|
|
|
|
char *data36 = "/foo/grault/garply";
|
|
|
|
r3_tree_insert_path(n, "/foo/grault/garply", (void*) data36);
|
|
|
|
char *data37 = "/foo/garply/bar";
|
|
|
|
r3_tree_insert_path(n, "/foo/garply/bar", (void*) data37);
|
|
|
|
char *data38 = "/foo/garply/baz";
|
|
|
|
r3_tree_insert_path(n, "/foo/garply/baz", (void*) data38);
|
|
|
|
char *data39 = "/foo/garply/qux";
|
|
|
|
r3_tree_insert_path(n, "/foo/garply/qux", (void*) data39);
|
|
|
|
char *data40 = "/foo/garply/quux";
|
|
|
|
r3_tree_insert_path(n, "/foo/garply/quux", (void*) data40);
|
|
|
|
char *data41 = "/foo/garply/corge";
|
|
|
|
r3_tree_insert_path(n, "/foo/garply/corge", (void*) data41);
|
|
|
|
char *data42 = "/foo/garply/grault";
|
|
|
|
r3_tree_insert_path(n, "/foo/garply/grault", (void*) data42);
|
|
|
|
char *data43 = "/bar/foo/baz";
|
|
|
|
r3_tree_insert_path(n, "/bar/foo/baz", (void*) data43);
|
|
|
|
char *data44 = "/bar/foo/qux";
|
|
|
|
r3_tree_insert_path(n, "/bar/foo/qux", (void*) data44);
|
|
|
|
char *data45 = "/bar/foo/quux";
|
|
|
|
r3_tree_insert_path(n, "/bar/foo/quux", (void*) data45);
|
|
|
|
char *data46 = "/bar/foo/corge";
|
|
|
|
r3_tree_insert_path(n, "/bar/foo/corge", (void*) data46);
|
|
|
|
char *data47 = "/bar/foo/grault";
|
|
|
|
r3_tree_insert_path(n, "/bar/foo/grault", (void*) data47);
|
|
|
|
char *data48 = "/bar/foo/garply";
|
|
|
|
r3_tree_insert_path(n, "/bar/foo/garply", (void*) data48);
|
|
|
|
char *data49 = "/bar/baz/foo";
|
|
|
|
r3_tree_insert_path(n, "/bar/baz/foo", (void*) data49);
|
|
|
|
char *data50 = "/bar/baz/qux";
|
|
|
|
r3_tree_insert_path(n, "/bar/baz/qux", (void*) data50);
|
|
|
|
char *data51 = "/bar/baz/quux";
|
|
|
|
r3_tree_insert_path(n, "/bar/baz/quux", (void*) data51);
|
|
|
|
char *data52 = "/bar/baz/corge";
|
|
|
|
r3_tree_insert_path(n, "/bar/baz/corge", (void*) data52);
|
|
|
|
char *data53 = "/bar/baz/grault";
|
|
|
|
r3_tree_insert_path(n, "/bar/baz/grault", (void*) data53);
|
|
|
|
char *data54 = "/bar/baz/garply";
|
|
|
|
r3_tree_insert_path(n, "/bar/baz/garply", (void*) data54);
|
|
|
|
char *data55 = "/bar/qux/foo";
|
|
|
|
r3_tree_insert_path(n, "/bar/qux/foo", (void*) data55);
|
|
|
|
char *data56 = "/bar/qux/baz";
|
|
|
|
r3_tree_insert_path(n, "/bar/qux/baz", (void*) data56);
|
|
|
|
char *data57 = "/bar/qux/quux";
|
|
|
|
r3_tree_insert_path(n, "/bar/qux/quux", (void*) data57);
|
|
|
|
char *data58 = "/bar/qux/corge";
|
|
|
|
r3_tree_insert_path(n, "/bar/qux/corge", (void*) data58);
|
|
|
|
char *data59 = "/bar/qux/grault";
|
|
|
|
r3_tree_insert_path(n, "/bar/qux/grault", (void*) data59);
|
|
|
|
char *data60 = "/bar/qux/garply";
|
|
|
|
r3_tree_insert_path(n, "/bar/qux/garply", (void*) data60);
|
|
|
|
char *data61 = "/bar/quux/foo";
|
|
|
|
r3_tree_insert_path(n, "/bar/quux/foo", (void*) data61);
|
|
|
|
char *data62 = "/bar/quux/baz";
|
|
|
|
r3_tree_insert_path(n, "/bar/quux/baz", (void*) data62);
|
|
|
|
char *data63 = "/bar/quux/qux";
|
|
|
|
r3_tree_insert_path(n, "/bar/quux/qux", (void*) data63);
|
|
|
|
char *data64 = "/bar/quux/corge";
|
|
|
|
r3_tree_insert_path(n, "/bar/quux/corge", (void*) data64);
|
|
|
|
char *data65 = "/bar/quux/grault";
|
|
|
|
r3_tree_insert_path(n, "/bar/quux/grault", (void*) data65);
|
|
|
|
char *data66 = "/bar/quux/garply";
|
|
|
|
r3_tree_insert_path(n, "/bar/quux/garply", (void*) data66);
|
|
|
|
char *data67 = "/bar/corge/foo";
|
|
|
|
r3_tree_insert_path(n, "/bar/corge/foo", (void*) data67);
|
|
|
|
char *data68 = "/bar/corge/baz";
|
|
|
|
r3_tree_insert_path(n, "/bar/corge/baz", (void*) data68);
|
|
|
|
char *data69 = "/bar/corge/qux";
|
|
|
|
r3_tree_insert_path(n, "/bar/corge/qux", (void*) data69);
|
|
|
|
char *data70 = "/bar/corge/quux";
|
|
|
|
r3_tree_insert_path(n, "/bar/corge/quux", (void*) data70);
|
|
|
|
char *data71 = "/bar/corge/grault";
|
|
|
|
r3_tree_insert_path(n, "/bar/corge/grault", (void*) data71);
|
|
|
|
char *data72 = "/bar/corge/garply";
|
|
|
|
r3_tree_insert_path(n, "/bar/corge/garply", (void*) data72);
|
|
|
|
char *data73 = "/bar/grault/foo";
|
|
|
|
r3_tree_insert_path(n, "/bar/grault/foo", (void*) data73);
|
|
|
|
char *data74 = "/bar/grault/baz";
|
|
|
|
r3_tree_insert_path(n, "/bar/grault/baz", (void*) data74);
|
|
|
|
char *data75 = "/bar/grault/qux";
|
|
|
|
r3_tree_insert_path(n, "/bar/grault/qux", (void*) data75);
|
|
|
|
char *data76 = "/bar/grault/quux";
|
|
|
|
r3_tree_insert_path(n, "/bar/grault/quux", (void*) data76);
|
|
|
|
char *data77 = "/bar/grault/corge";
|
|
|
|
r3_tree_insert_path(n, "/bar/grault/corge", (void*) data77);
|
|
|
|
char *data78 = "/bar/grault/garply";
|
|
|
|
r3_tree_insert_path(n, "/bar/grault/garply", (void*) data78);
|
|
|
|
char *data79 = "/bar/garply/foo";
|
|
|
|
r3_tree_insert_path(n, "/bar/garply/foo", (void*) data79);
|
|
|
|
char *data80 = "/bar/garply/baz";
|
|
|
|
r3_tree_insert_path(n, "/bar/garply/baz", (void*) data80);
|
|
|
|
char *data81 = "/bar/garply/qux";
|
|
|
|
r3_tree_insert_path(n, "/bar/garply/qux", (void*) data81);
|
|
|
|
char *data82 = "/bar/garply/quux";
|
|
|
|
r3_tree_insert_path(n, "/bar/garply/quux", (void*) data82);
|
|
|
|
char *data83 = "/bar/garply/corge";
|
|
|
|
r3_tree_insert_path(n, "/bar/garply/corge", (void*) data83);
|
|
|
|
char *data84 = "/bar/garply/grault";
|
|
|
|
r3_tree_insert_path(n, "/bar/garply/grault", (void*) data84);
|
|
|
|
char *data85 = "/baz/foo/bar";
|
|
|
|
r3_tree_insert_path(n, "/baz/foo/bar", (void*) data85);
|
|
|
|
char *data86 = "/baz/foo/qux";
|
|
|
|
r3_tree_insert_path(n, "/baz/foo/qux", (void*) data86);
|
|
|
|
char *data87 = "/baz/foo/quux";
|
|
|
|
r3_tree_insert_path(n, "/baz/foo/quux", (void*) data87);
|
|
|
|
char *data88 = "/baz/foo/corge";
|
|
|
|
r3_tree_insert_path(n, "/baz/foo/corge", (void*) data88);
|
|
|
|
char *data89 = "/baz/foo/grault";
|
|
|
|
r3_tree_insert_path(n, "/baz/foo/grault", (void*) data89);
|
|
|
|
char *data90 = "/baz/foo/garply";
|
|
|
|
r3_tree_insert_path(n, "/baz/foo/garply", (void*) data90);
|
|
|
|
char *data91 = "/baz/bar/foo";
|
|
|
|
r3_tree_insert_path(n, "/baz/bar/foo", (void*) data91);
|
|
|
|
char *data92 = "/baz/bar/qux";
|
|
|
|
r3_tree_insert_path(n, "/baz/bar/qux", (void*) data92);
|
|
|
|
char *data93 = "/baz/bar/quux";
|
|
|
|
r3_tree_insert_path(n, "/baz/bar/quux", (void*) data93);
|
|
|
|
char *data94 = "/baz/bar/corge";
|
|
|
|
r3_tree_insert_path(n, "/baz/bar/corge", (void*) data94);
|
|
|
|
char *data95 = "/baz/bar/grault";
|
|
|
|
r3_tree_insert_path(n, "/baz/bar/grault", (void*) data95);
|
|
|
|
char *data96 = "/baz/bar/garply";
|
|
|
|
r3_tree_insert_path(n, "/baz/bar/garply", (void*) data96);
|
|
|
|
char *data97 = "/baz/qux/foo";
|
|
|
|
r3_tree_insert_path(n, "/baz/qux/foo", (void*) data97);
|
|
|
|
char *data98 = "/baz/qux/bar";
|
|
|
|
r3_tree_insert_path(n, "/baz/qux/bar", (void*) data98);
|
|
|
|
char *data99 = "/baz/qux/quux";
|
|
|
|
r3_tree_insert_path(n, "/baz/qux/quux", (void*) data99);
|
|
|
|
char *data100 = "/baz/qux/corge";
|
|
|
|
r3_tree_insert_path(n, "/baz/qux/corge", (void*) data100);
|
|
|
|
char *data101 = "/baz/qux/grault";
|
|
|
|
r3_tree_insert_path(n, "/baz/qux/grault", (void*) data101);
|
|
|
|
char *data102 = "/baz/qux/garply";
|
|
|
|
r3_tree_insert_path(n, "/baz/qux/garply", (void*) data102);
|
|
|
|
char *data103 = "/baz/quux/foo";
|
|
|
|
r3_tree_insert_path(n, "/baz/quux/foo", (void*) data103);
|
|
|
|
char *data104 = "/baz/quux/bar";
|
|
|
|
r3_tree_insert_path(n, "/baz/quux/bar", (void*) data104);
|
|
|
|
char *data105 = "/baz/quux/qux";
|
|
|
|
r3_tree_insert_path(n, "/baz/quux/qux", (void*) data105);
|
|
|
|
char *data106 = "/baz/quux/corge";
|
|
|
|
r3_tree_insert_path(n, "/baz/quux/corge", (void*) data106);
|
|
|
|
char *data107 = "/baz/quux/grault";
|
|
|
|
r3_tree_insert_path(n, "/baz/quux/grault", (void*) data107);
|
|
|
|
char *data108 = "/baz/quux/garply";
|
|
|
|
r3_tree_insert_path(n, "/baz/quux/garply", (void*) data108);
|
|
|
|
char *data109 = "/baz/corge/foo";
|
|
|
|
r3_tree_insert_path(n, "/baz/corge/foo", (void*) data109);
|
|
|
|
char *data110 = "/baz/corge/bar";
|
|
|
|
r3_tree_insert_path(n, "/baz/corge/bar", (void*) data110);
|
|
|
|
char *data111 = "/baz/corge/qux";
|
|
|
|
r3_tree_insert_path(n, "/baz/corge/qux", (void*) data111);
|
|
|
|
char *data112 = "/baz/corge/quux";
|
|
|
|
r3_tree_insert_path(n, "/baz/corge/quux", (void*) data112);
|
|
|
|
char *data113 = "/baz/corge/grault";
|
|
|
|
r3_tree_insert_path(n, "/baz/corge/grault", (void*) data113);
|
|
|
|
char *data114 = "/baz/corge/garply";
|
|
|
|
r3_tree_insert_path(n, "/baz/corge/garply", (void*) data114);
|
|
|
|
char *data115 = "/baz/grault/foo";
|
|
|
|
r3_tree_insert_path(n, "/baz/grault/foo", (void*) data115);
|
|
|
|
char *data116 = "/baz/grault/bar";
|
|
|
|
r3_tree_insert_path(n, "/baz/grault/bar", (void*) data116);
|
|
|
|
char *data117 = "/baz/grault/qux";
|
|
|
|
r3_tree_insert_path(n, "/baz/grault/qux", (void*) data117);
|
|
|
|
char *data118 = "/baz/grault/quux";
|
|
|
|
r3_tree_insert_path(n, "/baz/grault/quux", (void*) data118);
|
|
|
|
char *data119 = "/baz/grault/corge";
|
|
|
|
r3_tree_insert_path(n, "/baz/grault/corge", (void*) data119);
|
|
|
|
char *data120 = "/baz/grault/garply";
|
|
|
|
r3_tree_insert_path(n, "/baz/grault/garply", (void*) data120);
|
|
|
|
char *data121 = "/baz/garply/foo";
|
|
|
|
r3_tree_insert_path(n, "/baz/garply/foo", (void*) data121);
|
|
|
|
char *data122 = "/baz/garply/bar";
|
|
|
|
r3_tree_insert_path(n, "/baz/garply/bar", (void*) data122);
|
|
|
|
char *data123 = "/baz/garply/qux";
|
|
|
|
r3_tree_insert_path(n, "/baz/garply/qux", (void*) data123);
|
|
|
|
char *data124 = "/baz/garply/quux";
|
|
|
|
r3_tree_insert_path(n, "/baz/garply/quux", (void*) data124);
|
|
|
|
char *data125 = "/baz/garply/corge";
|
|
|
|
r3_tree_insert_path(n, "/baz/garply/corge", (void*) data125);
|
|
|
|
char *data126 = "/baz/garply/grault";
|
|
|
|
r3_tree_insert_path(n, "/baz/garply/grault", (void*) data126);
|
|
|
|
char *data127 = "/qux/foo/bar";
|
|
|
|
r3_tree_insert_path(n, "/qux/foo/bar", (void*) data127);
|
|
|
|
char *data128 = "/qux/foo/baz";
|
|
|
|
r3_tree_insert_path(n, "/qux/foo/baz", (void*) data128);
|
|
|
|
char *data129 = "/qux/foo/quux";
|
|
|
|
r3_tree_insert_path(n, "/qux/foo/quux", (void*) data129);
|
|
|
|
char *data130 = "/qux/foo/corge";
|
|
|
|
r3_tree_insert_path(n, "/qux/foo/corge", (void*) data130);
|
|
|
|
char *data131 = "/qux/foo/grault";
|
|
|
|
r3_tree_insert_path(n, "/qux/foo/grault", (void*) data131);
|
|
|
|
char *data132 = "/qux/foo/garply";
|
|
|
|
r3_tree_insert_path(n, "/qux/foo/garply", (void*) data132);
|
|
|
|
char *data133 = "/qux/bar/foo";
|
|
|
|
r3_tree_insert_path(n, "/qux/bar/foo", (void*) data133);
|
|
|
|
char *data134 = "/qux/bar/baz";
|
|
|
|
r3_tree_insert_path(n, "/qux/bar/baz", (void*) data134);
|
|
|
|
char *data135 = "/qux/bar/quux";
|
|
|
|
r3_tree_insert_path(n, "/qux/bar/quux", (void*) data135);
|
|
|
|
char *data136 = "/qux/bar/corge";
|
|
|
|
r3_tree_insert_path(n, "/qux/bar/corge", (void*) data136);
|
|
|
|
char *data137 = "/qux/bar/grault";
|
|
|
|
r3_tree_insert_path(n, "/qux/bar/grault", (void*) data137);
|
|
|
|
char *data138 = "/qux/bar/garply";
|
|
|
|
r3_tree_insert_path(n, "/qux/bar/garply", (void*) data138);
|
|
|
|
char *data139 = "/qux/baz/foo";
|
|
|
|
r3_tree_insert_path(n, "/qux/baz/foo", (void*) data139);
|
|
|
|
char *data140 = "/qux/baz/bar";
|
|
|
|
r3_tree_insert_path(n, "/qux/baz/bar", (void*) data140);
|
|
|
|
char *data141 = "/qux/baz/quux";
|
|
|
|
r3_tree_insert_path(n, "/qux/baz/quux", (void*) data141);
|
|
|
|
char *data142 = "/qux/baz/corge";
|
|
|
|
r3_tree_insert_path(n, "/qux/baz/corge", (void*) data142);
|
|
|
|
char *data143 = "/qux/baz/grault";
|
|
|
|
r3_tree_insert_path(n, "/qux/baz/grault", (void*) data143);
|
|
|
|
char *data144 = "/qux/baz/garply";
|
|
|
|
r3_tree_insert_path(n, "/qux/baz/garply", (void*) data144);
|
|
|
|
char *data145 = "/qux/quux/foo";
|
|
|
|
r3_tree_insert_path(n, "/qux/quux/foo", (void*) data145);
|
|
|
|
char *data146 = "/qux/quux/bar";
|
|
|
|
r3_tree_insert_path(n, "/qux/quux/bar", (void*) data146);
|
|
|
|
char *data147 = "/qux/quux/baz";
|
|
|
|
r3_tree_insert_path(n, "/qux/quux/baz", (void*) data147);
|
|
|
|
char *data148 = "/qux/quux/corge";
|
|
|
|
r3_tree_insert_path(n, "/qux/quux/corge", (void*) data148);
|
|
|
|
char *data149 = "/qux/quux/grault";
|
|
|
|
r3_tree_insert_path(n, "/qux/quux/grault", (void*) data149);
|
|
|
|
char *data150 = "/qux/quux/garply";
|
|
|
|
r3_tree_insert_path(n, "/qux/quux/garply", (void*) data150);
|
|
|
|
char *data151 = "/qux/corge/foo";
|
|
|
|
r3_tree_insert_path(n, "/qux/corge/foo", (void*) data151);
|
|
|
|
char *data152 = "/qux/corge/bar";
|
|
|
|
r3_tree_insert_path(n, "/qux/corge/bar", (void*) data152);
|
|
|
|
char *data153 = "/qux/corge/baz";
|
|
|
|
r3_tree_insert_path(n, "/qux/corge/baz", (void*) data153);
|
|
|
|
char *data154 = "/qux/corge/quux";
|
|
|
|
r3_tree_insert_path(n, "/qux/corge/quux", (void*) data154);
|
|
|
|
char *data155 = "/qux/corge/grault";
|
|
|
|
r3_tree_insert_path(n, "/qux/corge/grault", (void*) data155);
|
|
|
|
char *data156 = "/qux/corge/garply";
|
|
|
|
r3_tree_insert_path(n, "/qux/corge/garply", (void*) data156);
|
|
|
|
char *data157 = "/qux/grault/foo";
|
|
|
|
r3_tree_insert_path(n, "/qux/grault/foo", (void*) data157);
|
|
|
|
char *data158 = "/qux/grault/bar";
|
|
|
|
r3_tree_insert_path(n, "/qux/grault/bar", (void*) data158);
|
|
|
|
char *data159 = "/qux/grault/baz";
|
|
|
|
r3_tree_insert_path(n, "/qux/grault/baz", (void*) data159);
|
|
|
|
char *data160 = "/qux/grault/quux";
|
|
|
|
r3_tree_insert_path(n, "/qux/grault/quux", (void*) data160);
|
|
|
|
char *data161 = "/qux/grault/corge";
|
|
|
|
r3_tree_insert_path(n, "/qux/grault/corge", (void*) data161);
|
|
|
|
char *data162 = "/qux/grault/garply";
|
|
|
|
r3_tree_insert_path(n, "/qux/grault/garply", (void*) data162);
|
|
|
|
char *data163 = "/qux/garply/foo";
|
|
|
|
r3_tree_insert_path(n, "/qux/garply/foo", (void*) data163);
|
|
|
|
char *data164 = "/qux/garply/bar";
|
|
|
|
r3_tree_insert_path(n, "/qux/garply/bar", (void*) data164);
|
|
|
|
char *data165 = "/qux/garply/baz";
|
|
|
|
r3_tree_insert_path(n, "/qux/garply/baz", (void*) data165);
|
|
|
|
char *data166 = "/qux/garply/quux";
|
|
|
|
r3_tree_insert_path(n, "/qux/garply/quux", (void*) data166);
|
|
|
|
char *data167 = "/qux/garply/corge";
|
|
|
|
r3_tree_insert_path(n, "/qux/garply/corge", (void*) data167);
|
|
|
|
char *data168 = "/qux/garply/grault";
|
|
|
|
r3_tree_insert_path(n, "/qux/garply/grault", (void*) data168);
|
|
|
|
char *data169 = "/quux/foo/bar";
|
|
|
|
r3_tree_insert_path(n, "/quux/foo/bar", (void*) data169);
|
|
|
|
char *data170 = "/quux/foo/baz";
|
|
|
|
r3_tree_insert_path(n, "/quux/foo/baz", (void*) data170);
|
|
|
|
char *data171 = "/quux/foo/qux";
|
|
|
|
r3_tree_insert_path(n, "/quux/foo/qux", (void*) data171);
|
|
|
|
char *data172 = "/quux/foo/corge";
|
|
|
|
r3_tree_insert_path(n, "/quux/foo/corge", (void*) data172);
|
|
|
|
char *data173 = "/quux/foo/grault";
|
|
|
|
r3_tree_insert_path(n, "/quux/foo/grault", (void*) data173);
|
|
|
|
char *data174 = "/quux/foo/garply";
|
|
|
|
r3_tree_insert_path(n, "/quux/foo/garply", (void*) data174);
|
|
|
|
char *data175 = "/quux/bar/foo";
|
|
|
|
r3_tree_insert_path(n, "/quux/bar/foo", (void*) data175);
|
|
|
|
char *data176 = "/quux/bar/baz";
|
|
|
|
r3_tree_insert_path(n, "/quux/bar/baz", (void*) data176);
|
|
|
|
char *data177 = "/quux/bar/qux";
|
|
|
|
r3_tree_insert_path(n, "/quux/bar/qux", (void*) data177);
|
|
|
|
char *data178 = "/quux/bar/corge";
|
|
|
|
r3_tree_insert_path(n, "/quux/bar/corge", (void*) data178);
|
|
|
|
char *data179 = "/quux/bar/grault";
|
|
|
|
r3_tree_insert_path(n, "/quux/bar/grault", (void*) data179);
|
|
|
|
char *data180 = "/quux/bar/garply";
|
|
|
|
r3_tree_insert_path(n, "/quux/bar/garply", (void*) data180);
|
|
|
|
char *data181 = "/quux/baz/foo";
|
|
|
|
r3_tree_insert_path(n, "/quux/baz/foo", (void*) data181);
|
|
|
|
char *data182 = "/quux/baz/bar";
|
|
|
|
r3_tree_insert_path(n, "/quux/baz/bar", (void*) data182);
|
|
|
|
char *data183 = "/quux/baz/qux";
|
|
|
|
r3_tree_insert_path(n, "/quux/baz/qux", (void*) data183);
|
|
|
|
char *data184 = "/quux/baz/corge";
|
|
|
|
r3_tree_insert_path(n, "/quux/baz/corge", (void*) data184);
|
|
|
|
char *data185 = "/quux/baz/grault";
|
|
|
|
r3_tree_insert_path(n, "/quux/baz/grault", (void*) data185);
|
|
|
|
char *data186 = "/quux/baz/garply";
|
|
|
|
r3_tree_insert_path(n, "/quux/baz/garply", (void*) data186);
|
|
|
|
char *data187 = "/quux/qux/foo";
|
|
|
|
r3_tree_insert_path(n, "/quux/qux/foo", (void*) data187);
|
|
|
|
char *data188 = "/quux/qux/bar";
|
|
|
|
r3_tree_insert_path(n, "/quux/qux/bar", (void*) data188);
|
|
|
|
char *data189 = "/quux/qux/baz";
|
|
|
|
r3_tree_insert_path(n, "/quux/qux/baz", (void*) data189);
|
|
|
|
char *data190 = "/quux/qux/corge";
|
|
|
|
r3_tree_insert_path(n, "/quux/qux/corge", (void*) data190);
|
|
|
|
char *data191 = "/quux/qux/grault";
|
|
|
|
r3_tree_insert_path(n, "/quux/qux/grault", (void*) data191);
|
|
|
|
char *data192 = "/quux/qux/garply";
|
|
|
|
r3_tree_insert_path(n, "/quux/qux/garply", (void*) data192);
|
|
|
|
char *data193 = "/quux/corge/foo";
|
|
|
|
r3_tree_insert_path(n, "/quux/corge/foo", (void*) data193);
|
|
|
|
char *data194 = "/quux/corge/bar";
|
|
|
|
r3_tree_insert_path(n, "/quux/corge/bar", (void*) data194);
|
|
|
|
char *data195 = "/quux/corge/baz";
|
|
|
|
r3_tree_insert_path(n, "/quux/corge/baz", (void*) data195);
|
|
|
|
char *data196 = "/quux/corge/qux";
|
|
|
|
r3_tree_insert_path(n, "/quux/corge/qux", (void*) data196);
|
|
|
|
char *data197 = "/quux/corge/grault";
|
|
|
|
r3_tree_insert_path(n, "/quux/corge/grault", (void*) data197);
|
|
|
|
char *data198 = "/quux/corge/garply";
|
|
|
|
r3_tree_insert_path(n, "/quux/corge/garply", (void*) data198);
|
|
|
|
char *data199 = "/quux/grault/foo";
|
|
|
|
r3_tree_insert_path(n, "/quux/grault/foo", (void*) data199);
|
|
|
|
char *data200 = "/quux/grault/bar";
|
|
|
|
r3_tree_insert_path(n, "/quux/grault/bar", (void*) data200);
|
|
|
|
char *data201 = "/quux/grault/baz";
|
|
|
|
r3_tree_insert_path(n, "/quux/grault/baz", (void*) data201);
|
|
|
|
char *data202 = "/quux/grault/qux";
|
|
|
|
r3_tree_insert_path(n, "/quux/grault/qux", (void*) data202);
|
|
|
|
char *data203 = "/quux/grault/corge";
|
|
|
|
r3_tree_insert_path(n, "/quux/grault/corge", (void*) data203);
|
|
|
|
char *data204 = "/quux/grault/garply";
|
|
|
|
r3_tree_insert_path(n, "/quux/grault/garply", (void*) data204);
|
|
|
|
char *data205 = "/quux/garply/foo";
|
|
|
|
r3_tree_insert_path(n, "/quux/garply/foo", (void*) data205);
|
|
|
|
char *data206 = "/quux/garply/bar";
|
|
|
|
r3_tree_insert_path(n, "/quux/garply/bar", (void*) data206);
|
|
|
|
char *data207 = "/quux/garply/baz";
|
|
|
|
r3_tree_insert_path(n, "/quux/garply/baz", (void*) data207);
|
|
|
|
char *data208 = "/quux/garply/qux";
|
|
|
|
r3_tree_insert_path(n, "/quux/garply/qux", (void*) data208);
|
|
|
|
char *data209 = "/quux/garply/corge";
|
|
|
|
r3_tree_insert_path(n, "/quux/garply/corge", (void*) data209);
|
|
|
|
char *data210 = "/quux/garply/grault";
|
|
|
|
r3_tree_insert_path(n, "/quux/garply/grault", (void*) data210);
|
|
|
|
char *data211 = "/corge/foo/bar";
|
|
|
|
r3_tree_insert_path(n, "/corge/foo/bar", (void*) data211);
|
|
|
|
char *data212 = "/corge/foo/baz";
|
|
|
|
r3_tree_insert_path(n, "/corge/foo/baz", (void*) data212);
|
|
|
|
char *data213 = "/corge/foo/qux";
|
|
|
|
r3_tree_insert_path(n, "/corge/foo/qux", (void*) data213);
|
|
|
|
char *data214 = "/corge/foo/quux";
|
|
|
|
r3_tree_insert_path(n, "/corge/foo/quux", (void*) data214);
|
|
|
|
char *data215 = "/corge/foo/grault";
|
|
|
|
r3_tree_insert_path(n, "/corge/foo/grault", (void*) data215);
|
|
|
|
char *data216 = "/corge/foo/garply";
|
|
|
|
r3_tree_insert_path(n, "/corge/foo/garply", (void*) data216);
|
|
|
|
char *data217 = "/corge/bar/foo";
|
|
|
|
r3_tree_insert_path(n, "/corge/bar/foo", (void*) data217);
|
|
|
|
char *data218 = "/corge/bar/baz";
|
|
|
|
r3_tree_insert_path(n, "/corge/bar/baz", (void*) data218);
|
|
|
|
char *data219 = "/corge/bar/qux";
|
|
|
|
r3_tree_insert_path(n, "/corge/bar/qux", (void*) data219);
|
|
|
|
char *data220 = "/corge/bar/quux";
|
|
|
|
r3_tree_insert_path(n, "/corge/bar/quux", (void*) data220);
|
|
|
|
char *data221 = "/corge/bar/grault";
|
|
|
|
r3_tree_insert_path(n, "/corge/bar/grault", (void*) data221);
|
|
|
|
char *data222 = "/corge/bar/garply";
|
|
|
|
r3_tree_insert_path(n, "/corge/bar/garply", (void*) data222);
|
|
|
|
char *data223 = "/corge/baz/foo";
|
|
|
|
r3_tree_insert_path(n, "/corge/baz/foo", (void*) data223);
|
|
|
|
char *data224 = "/corge/baz/bar";
|
|
|
|
r3_tree_insert_path(n, "/corge/baz/bar", (void*) data224);
|
|
|
|
char *data225 = "/corge/baz/qux";
|
|
|
|
r3_tree_insert_path(n, "/corge/baz/qux", (void*) data225);
|
|
|
|
char *data226 = "/corge/baz/quux";
|
|
|
|
r3_tree_insert_path(n, "/corge/baz/quux", (void*) data226);
|
|
|
|
char *data227 = "/corge/baz/grault";
|
|
|
|
r3_tree_insert_path(n, "/corge/baz/grault", (void*) data227);
|
|
|
|
char *data228 = "/corge/baz/garply";
|
|
|
|
r3_tree_insert_path(n, "/corge/baz/garply", (void*) data228);
|
|
|
|
char *data229 = "/corge/qux/foo";
|
|
|
|
r3_tree_insert_path(n, "/corge/qux/foo", (void*) data229);
|
|
|
|
char *data230 = "/corge/qux/bar";
|
|
|
|
r3_tree_insert_path(n, "/corge/qux/bar", (void*) data230);
|
|
|
|
char *data231 = "/corge/qux/baz";
|
|
|
|
r3_tree_insert_path(n, "/corge/qux/baz", (void*) data231);
|
|
|
|
char *data232 = "/corge/qux/quux";
|
|
|
|
r3_tree_insert_path(n, "/corge/qux/quux", (void*) data232);
|
|
|
|
char *data233 = "/corge/qux/grault";
|
|
|
|
r3_tree_insert_path(n, "/corge/qux/grault", (void*) data233);
|
|
|
|
char *data234 = "/corge/qux/garply";
|
|
|
|
r3_tree_insert_path(n, "/corge/qux/garply", (void*) data234);
|
|
|
|
char *data235 = "/corge/quux/foo";
|
|
|
|
r3_tree_insert_path(n, "/corge/quux/foo", (void*) data235);
|
|
|
|
char *data236 = "/corge/quux/bar";
|
|
|
|
r3_tree_insert_path(n, "/corge/quux/bar", (void*) data236);
|
|
|
|
char *data237 = "/corge/quux/baz";
|
|
|
|
r3_tree_insert_path(n, "/corge/quux/baz", (void*) data237);
|
|
|
|
char *data238 = "/corge/quux/qux";
|
|
|
|
r3_tree_insert_path(n, "/corge/quux/qux", (void*) data238);
|
|
|
|
char *data239 = "/corge/quux/grault";
|
|
|
|
r3_tree_insert_path(n, "/corge/quux/grault", (void*) data239);
|
|
|
|
char *data240 = "/corge/quux/garply";
|
|
|
|
r3_tree_insert_path(n, "/corge/quux/garply", (void*) data240);
|
|
|
|
char *data241 = "/corge/grault/foo";
|
|
|
|
r3_tree_insert_path(n, "/corge/grault/foo", (void*) data241);
|
|
|
|
char *data242 = "/corge/grault/bar";
|
|
|
|
r3_tree_insert_path(n, "/corge/grault/bar", (void*) data242);
|
|
|
|
char *data243 = "/corge/grault/baz";
|
|
|
|
r3_tree_insert_path(n, "/corge/grault/baz", (void*) data243);
|
|
|
|
char *data244 = "/corge/grault/qux";
|
|
|
|
r3_tree_insert_path(n, "/corge/grault/qux", (void*) data244);
|
|
|
|
char *data245 = "/corge/grault/quux";
|
|
|
|
r3_tree_insert_path(n, "/corge/grault/quux", (void*) data245);
|
|
|
|
char *data246 = "/corge/grault/garply";
|
|
|
|
r3_tree_insert_path(n, "/corge/grault/garply", (void*) data246);
|
|
|
|
char *data247 = "/corge/garply/foo";
|
|
|
|
r3_tree_insert_path(n, "/corge/garply/foo", (void*) data247);
|
|
|
|
char *data248 = "/corge/garply/bar";
|
|
|
|
r3_tree_insert_path(n, "/corge/garply/bar", (void*) data248);
|
|
|
|
char *data249 = "/corge/garply/baz";
|
|
|
|
r3_tree_insert_path(n, "/corge/garply/baz", (void*) data249);
|
|
|
|
char *data250 = "/corge/garply/qux";
|
|
|
|
r3_tree_insert_path(n, "/corge/garply/qux", (void*) data250);
|
|
|
|
char *data251 = "/corge/garply/quux";
|
|
|
|
r3_tree_insert_path(n, "/corge/garply/quux", (void*) data251);
|
|
|
|
char *data252 = "/corge/garply/grault";
|
|
|
|
r3_tree_insert_path(n, "/corge/garply/grault", (void*) data252);
|
|
|
|
char *data253 = "/grault/foo/bar";
|
|
|
|
r3_tree_insert_path(n, "/grault/foo/bar", (void*) data253);
|
|
|
|
char *data254 = "/grault/foo/baz";
|
|
|
|
r3_tree_insert_path(n, "/grault/foo/baz", (void*) data254);
|
|
|
|
char *data255 = "/grault/foo/qux";
|
|
|
|
r3_tree_insert_path(n, "/grault/foo/qux", (void*) data255);
|
|
|
|
char *data256 = "/grault/foo/quux";
|
|
|
|
r3_tree_insert_path(n, "/grault/foo/quux", (void*) data256);
|
|
|
|
char *data257 = "/grault/foo/corge";
|
|
|
|
r3_tree_insert_path(n, "/grault/foo/corge", (void*) data257);
|
|
|
|
char *data258 = "/grault/foo/garply";
|
|
|
|
r3_tree_insert_path(n, "/grault/foo/garply", (void*) data258);
|
|
|
|
char *data259 = "/grault/bar/foo";
|
|
|
|
r3_tree_insert_path(n, "/grault/bar/foo", (void*) data259);
|
|
|
|
char *data260 = "/grault/bar/baz";
|
|
|
|
r3_tree_insert_path(n, "/grault/bar/baz", (void*) data260);
|
|
|
|
char *data261 = "/grault/bar/qux";
|
|
|
|
r3_tree_insert_path(n, "/grault/bar/qux", (void*) data261);
|
|
|
|
char *data262 = "/grault/bar/quux";
|
|
|
|
r3_tree_insert_path(n, "/grault/bar/quux", (void*) data262);
|
|
|
|
char *data263 = "/grault/bar/corge";
|
|
|
|
r3_tree_insert_path(n, "/grault/bar/corge", (void*) data263);
|
|
|
|
char *data264 = "/grault/bar/garply";
|
|
|
|
r3_tree_insert_path(n, "/grault/bar/garply", (void*) data264);
|
|
|
|
char *data265 = "/grault/baz/foo";
|
|
|
|
r3_tree_insert_path(n, "/grault/baz/foo", (void*) data265);
|
|
|
|
char *data266 = "/grault/baz/bar";
|
|
|
|
r3_tree_insert_path(n, "/grault/baz/bar", (void*) data266);
|
|
|
|
char *data267 = "/grault/baz/qux";
|
|
|
|
r3_tree_insert_path(n, "/grault/baz/qux", (void*) data267);
|
|
|
|
char *data268 = "/grault/baz/quux";
|
|
|
|
r3_tree_insert_path(n, "/grault/baz/quux", (void*) data268);
|
|
|
|
char *data269 = "/grault/baz/corge";
|
|
|
|
r3_tree_insert_path(n, "/grault/baz/corge", (void*) data269);
|
|
|
|
char *data270 = "/grault/baz/garply";
|
|
|
|
r3_tree_insert_path(n, "/grault/baz/garply", (void*) data270);
|
|
|
|
char *data271 = "/grault/qux/foo";
|
|
|
|
r3_tree_insert_path(n, "/grault/qux/foo", (void*) data271);
|
|
|
|
char *data272 = "/grault/qux/bar";
|
|
|
|
r3_tree_insert_path(n, "/grault/qux/bar", (void*) data272);
|
|
|
|
char *data273 = "/grault/qux/baz";
|
|
|
|
r3_tree_insert_path(n, "/grault/qux/baz", (void*) data273);
|
|
|
|
char *data274 = "/grault/qux/quux";
|
|
|
|
r3_tree_insert_path(n, "/grault/qux/quux", (void*) data274);
|
|
|
|
char *data275 = "/grault/qux/corge";
|
|
|
|
r3_tree_insert_path(n, "/grault/qux/corge", (void*) data275);
|
|
|
|
char *data276 = "/grault/qux/garply";
|
|
|
|
r3_tree_insert_path(n, "/grault/qux/garply", (void*) data276);
|
|
|
|
char *data277 = "/grault/quux/foo";
|
|
|
|
r3_tree_insert_path(n, "/grault/quux/foo", (void*) data277);
|
|
|
|
char *data278 = "/grault/quux/bar";
|
|
|
|
r3_tree_insert_path(n, "/grault/quux/bar", (void*) data278);
|
|
|
|
char *data279 = "/grault/quux/baz";
|
|
|
|
r3_tree_insert_path(n, "/grault/quux/baz", (void*) data279);
|
|
|
|
char *data280 = "/grault/quux/qux";
|
|
|
|
r3_tree_insert_path(n, "/grault/quux/qux", (void*) data280);
|
|
|
|
char *data281 = "/grault/quux/corge";
|
|
|
|
r3_tree_insert_path(n, "/grault/quux/corge", (void*) data281);
|
|
|
|
char *data282 = "/grault/quux/garply";
|
|
|
|
r3_tree_insert_path(n, "/grault/quux/garply", (void*) data282);
|
|
|
|
char *data283 = "/grault/corge/foo";
|
|
|
|
r3_tree_insert_path(n, "/grault/corge/foo", (void*) data283);
|
|
|
|
char *data284 = "/grault/corge/bar";
|
|
|
|
r3_tree_insert_path(n, "/grault/corge/bar", (void*) data284);
|
|
|
|
char *data285 = "/grault/corge/baz";
|
|
|
|
r3_tree_insert_path(n, "/grault/corge/baz", (void*) data285);
|
|
|
|
char *data286 = "/grault/corge/qux";
|
|
|
|
r3_tree_insert_path(n, "/grault/corge/qux", (void*) data286);
|
|
|
|
char *data287 = "/grault/corge/quux";
|
|
|
|
r3_tree_insert_path(n, "/grault/corge/quux", (void*) data287);
|
|
|
|
char *data288 = "/grault/corge/garply";
|
|
|
|
r3_tree_insert_path(n, "/grault/corge/garply", (void*) data288);
|
|
|
|
char *data289 = "/grault/garply/foo";
|
|
|
|
r3_tree_insert_path(n, "/grault/garply/foo", (void*) data289);
|
|
|
|
char *data290 = "/grault/garply/bar";
|
|
|
|
r3_tree_insert_path(n, "/grault/garply/bar", (void*) data290);
|
|
|
|
char *data291 = "/grault/garply/baz";
|
|
|
|
r3_tree_insert_path(n, "/grault/garply/baz", (void*) data291);
|
|
|
|
char *data292 = "/grault/garply/qux";
|
|
|
|
r3_tree_insert_path(n, "/grault/garply/qux", (void*) data292);
|
|
|
|
char *data293 = "/grault/garply/quux";
|
|
|
|
r3_tree_insert_path(n, "/grault/garply/quux", (void*) data293);
|
|
|
|
char *data294 = "/grault/garply/corge";
|
|
|
|
r3_tree_insert_path(n, "/grault/garply/corge", (void*) data294);
|
|
|
|
char *data295 = "/garply/foo/bar";
|
|
|
|
r3_tree_insert_path(n, "/garply/foo/bar", (void*) data295);
|
|
|
|
char *data296 = "/garply/foo/baz";
|
|
|
|
r3_tree_insert_path(n, "/garply/foo/baz", (void*) data296);
|
|
|
|
char *data297 = "/garply/foo/qux";
|
|
|
|
r3_tree_insert_path(n, "/garply/foo/qux", (void*) data297);
|
|
|
|
char *data298 = "/garply/foo/quux";
|
|
|
|
r3_tree_insert_path(n, "/garply/foo/quux", (void*) data298);
|
|
|
|
char *data299 = "/garply/foo/corge";
|
|
|
|
r3_tree_insert_path(n, "/garply/foo/corge", (void*) data299);
|
|
|
|
char *data300 = "/garply/foo/grault";
|
|
|
|
r3_tree_insert_path(n, "/garply/foo/grault", (void*) data300);
|
|
|
|
char *data301 = "/garply/bar/foo";
|
|
|
|
r3_tree_insert_path(n, "/garply/bar/foo", (void*) data301);
|
|
|
|
char *data302 = "/garply/bar/baz";
|
|
|
|
r3_tree_insert_path(n, "/garply/bar/baz", (void*) data302);
|
|
|
|
char *data303 = "/garply/bar/qux";
|
|
|
|
r3_tree_insert_path(n, "/garply/bar/qux", (void*) data303);
|
|
|
|
char *data304 = "/garply/bar/quux";
|
|
|
|
r3_tree_insert_path(n, "/garply/bar/quux", (void*) data304);
|
|
|
|
char *data305 = "/garply/bar/corge";
|
|
|
|
r3_tree_insert_path(n, "/garply/bar/corge", (void*) data305);
|
|
|
|
char *data306 = "/garply/bar/grault";
|
|
|
|
r3_tree_insert_path(n, "/garply/bar/grault", (void*) data306);
|
|
|
|
char *data307 = "/garply/baz/foo";
|
|
|
|
r3_tree_insert_path(n, "/garply/baz/foo", (void*) data307);
|
|
|
|
char *data308 = "/garply/baz/bar";
|
|
|
|
r3_tree_insert_path(n, "/garply/baz/bar", (void*) data308);
|
|
|
|
char *data309 = "/garply/baz/qux";
|
|
|
|
r3_tree_insert_path(n, "/garply/baz/qux", (void*) data309);
|
|
|
|
char *data310 = "/garply/baz/quux";
|
|
|
|
r3_tree_insert_path(n, "/garply/baz/quux", (void*) data310);
|
|
|
|
char *data311 = "/garply/baz/corge";
|
|
|
|
r3_tree_insert_path(n, "/garply/baz/corge", (void*) data311);
|
|
|
|
char *data312 = "/garply/baz/grault";
|
|
|
|
r3_tree_insert_path(n, "/garply/baz/grault", (void*) data312);
|
|
|
|
char *data313 = "/garply/qux/foo";
|
|
|
|
r3_tree_insert_path(n, "/garply/qux/foo", (void*) data313);
|
|
|
|
char *data314 = "/garply/qux/bar";
|
|
|
|
r3_tree_insert_path(n, "/garply/qux/bar", (void*) data314);
|
|
|
|
char *data315 = "/garply/qux/baz";
|
|
|
|
r3_tree_insert_path(n, "/garply/qux/baz", (void*) data315);
|
|
|
|
char *data316 = "/garply/qux/quux";
|
|
|
|
r3_tree_insert_path(n, "/garply/qux/quux", (void*) data316);
|
|
|
|
char *data317 = "/garply/qux/corge";
|
|
|
|
r3_tree_insert_path(n, "/garply/qux/corge", (void*) data317);
|
|
|
|
char *data318 = "/garply/qux/grault";
|
|
|
|
r3_tree_insert_path(n, "/garply/qux/grault", (void*) data318);
|
|
|
|
char *data319 = "/garply/quux/foo";
|
|
|
|
r3_tree_insert_path(n, "/garply/quux/foo", (void*) data319);
|
|
|
|
char *data320 = "/garply/quux/bar";
|
|
|
|
r3_tree_insert_path(n, "/garply/quux/bar", (void*) data320);
|
|
|
|
char *data321 = "/garply/quux/baz";
|
|
|
|
r3_tree_insert_path(n, "/garply/quux/baz", (void*) data321);
|
|
|
|
char *data322 = "/garply/quux/qux";
|
|
|
|
r3_tree_insert_path(n, "/garply/quux/qux", (void*) data322);
|
|
|
|
char *data323 = "/garply/quux/corge";
|
|
|
|
r3_tree_insert_path(n, "/garply/quux/corge", (void*) data323);
|
|
|
|
char *data324 = "/garply/quux/grault";
|
|
|
|
r3_tree_insert_path(n, "/garply/quux/grault", (void*) data324);
|
|
|
|
char *data325 = "/garply/corge/foo";
|
|
|
|
r3_tree_insert_path(n, "/garply/corge/foo", (void*) data325);
|
|
|
|
char *data326 = "/garply/corge/bar";
|
|
|
|
r3_tree_insert_path(n, "/garply/corge/bar", (void*) data326);
|
|
|
|
char *data327 = "/garply/corge/baz";
|
|
|
|
r3_tree_insert_path(n, "/garply/corge/baz", (void*) data327);
|
|
|
|
char *data328 = "/garply/corge/qux";
|
|
|
|
r3_tree_insert_path(n, "/garply/corge/qux", (void*) data328);
|
|
|
|
char *data329 = "/garply/corge/quux";
|
|
|
|
r3_tree_insert_path(n, "/garply/corge/quux", (void*) data329);
|
|
|
|
char *data330 = "/garply/corge/grault";
|
|
|
|
r3_tree_insert_path(n, "/garply/corge/grault", (void*) data330);
|
|
|
|
char *data331 = "/garply/grault/foo";
|
|
|
|
r3_tree_insert_path(n, "/garply/grault/foo", (void*) data331);
|
|
|
|
char *data332 = "/garply/grault/bar";
|
|
|
|
r3_tree_insert_path(n, "/garply/grault/bar", (void*) data332);
|
|
|
|
char *data333 = "/garply/grault/baz";
|
|
|
|
r3_tree_insert_path(n, "/garply/grault/baz", (void*) data333);
|
|
|
|
char *data334 = "/garply/grault/qux";
|
|
|
|
r3_tree_insert_path(n, "/garply/grault/qux", (void*) data334);
|
|
|
|
char *data335 = "/garply/grault/quux";
|
|
|
|
r3_tree_insert_path(n, "/garply/grault/quux", (void*) data335);
|
|
|
|
char *data336 = "/garply/grault/corge";
|
|
|
|
r3_tree_insert_path(n, "/garply/grault/corge", (void*) data336);
|
2014-06-01 22:03:58 -04:00
|
|
|
char *err = NULL;
|
|
|
|
r3_tree_compile(n, &err);
|
|
|
|
ck_assert(err == NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data0);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/bar/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data1);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/bar/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data2);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/bar/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data3);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/bar/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data4);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/bar/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data5);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/bar/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data6);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/baz/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data7);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/baz/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data8);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/baz/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data9);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/baz/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data10);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/baz/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data11);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/baz/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data12);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/qux/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data13);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/qux/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data14);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/qux/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data15);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/qux/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data16);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/qux/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data17);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/qux/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data18);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/quux/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data19);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/quux/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data20);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/quux/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data21);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/quux/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data22);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/quux/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data23);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/quux/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data24);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/corge/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data25);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/corge/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data26);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/corge/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data27);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/corge/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data28);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/corge/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data29);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/corge/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data30);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/grault/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data31);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/grault/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data32);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/grault/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data33);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/grault/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data34);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/grault/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data35);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/grault/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data36);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/garply/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data37);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/garply/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data38);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/garply/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data39);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/garply/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data40);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/garply/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data41);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/foo/garply/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data42);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/foo/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data43);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/foo/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data44);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/foo/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data45);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/foo/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data46);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/foo/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data47);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/foo/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data48);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/baz/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data49);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/baz/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data50);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/baz/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data51);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/baz/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data52);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/baz/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data53);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/baz/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data54);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/qux/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data55);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/qux/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data56);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/qux/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data57);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/qux/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data58);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/qux/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data59);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/qux/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data60);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/quux/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data61);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/quux/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data62);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/quux/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data63);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/quux/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data64);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/quux/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data65);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/quux/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data66);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/corge/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data67);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/corge/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data68);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/corge/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data69);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/corge/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data70);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/corge/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data71);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/corge/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data72);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/grault/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data73);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/grault/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data74);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/grault/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data75);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/grault/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data76);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/grault/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data77);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/grault/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data78);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/garply/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data79);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/garply/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data80);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/garply/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data81);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/garply/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data82);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/garply/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data83);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/bar/garply/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data84);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/foo/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data85);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/foo/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data86);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/foo/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data87);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/foo/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data88);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/foo/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data89);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/foo/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data90);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/bar/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data91);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/bar/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data92);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/bar/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data93);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/bar/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data94);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/bar/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data95);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/bar/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data96);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/qux/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data97);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/qux/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data98);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/qux/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data99);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/qux/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data100);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/qux/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data101);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/qux/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data102);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/quux/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data103);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/quux/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data104);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/quux/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data105);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/quux/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data106);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/quux/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data107);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/quux/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data108);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/corge/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data109);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/corge/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data110);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/corge/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data111);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/corge/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data112);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/corge/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data113);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/corge/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data114);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/grault/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data115);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/grault/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data116);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/grault/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data117);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/grault/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data118);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/grault/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data119);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/grault/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data120);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/garply/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data121);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/garply/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data122);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/garply/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data123);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/garply/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data124);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/garply/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data125);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/baz/garply/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data126);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/foo/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data127);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/foo/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data128);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/foo/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data129);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/foo/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data130);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/foo/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data131);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/foo/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data132);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/bar/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data133);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/bar/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data134);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/bar/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data135);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/bar/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data136);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/bar/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data137);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/bar/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data138);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/baz/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data139);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/baz/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data140);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/baz/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data141);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/baz/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data142);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/baz/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data143);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/baz/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data144);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/quux/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data145);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/quux/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data146);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/quux/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data147);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/quux/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data148);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/quux/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data149);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/quux/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data150);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/corge/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data151);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/corge/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data152);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/corge/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data153);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/corge/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data154);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/corge/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data155);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/corge/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data156);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/grault/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data157);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/grault/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data158);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/grault/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data159);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/grault/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data160);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/grault/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data161);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/grault/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data162);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/garply/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data163);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/garply/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data164);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/garply/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data165);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/garply/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data166);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/garply/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data167);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/qux/garply/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data168);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/foo/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data169);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/foo/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data170);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/foo/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data171);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/foo/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data172);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/foo/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data173);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/foo/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data174);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/bar/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data175);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/bar/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data176);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/bar/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data177);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/bar/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data178);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/bar/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data179);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/bar/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data180);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/baz/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data181);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/baz/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data182);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/baz/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data183);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/baz/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data184);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/baz/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data185);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/baz/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data186);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/qux/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data187);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/qux/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data188);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/qux/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data189);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/qux/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data190);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/qux/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data191);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/qux/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data192);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/corge/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data193);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/corge/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data194);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/corge/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data195);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/corge/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data196);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/corge/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data197);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/corge/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data198);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/grault/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data199);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/grault/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data200);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/grault/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data201);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/grault/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data202);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/grault/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data203);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/grault/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data204);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/garply/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data205);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/garply/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data206);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/garply/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2014-06-01 22:06:10 -04:00
|
|
|
ck_assert(m->data == data207);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2015-10-18 02:57:55 -04:00
|
|
|
m = r3_tree_match(n, "/quux/garply/qux", NULL);
|
|
|
|
ck_assert(m != NULL);
|
|
|
|
ck_assert(m->data == data208);
|
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/quux/garply/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data209);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/quux/garply/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data210);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/foo/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data211);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/foo/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data212);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/foo/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data213);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/foo/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data214);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/foo/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data215);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/foo/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data216);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/bar/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data217);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/bar/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data218);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/bar/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data219);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/bar/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data220);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/bar/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data221);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/bar/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data222);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/baz/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data223);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/baz/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data224);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/baz/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data225);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/baz/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data226);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/baz/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data227);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/baz/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data228);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/qux/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data229);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/qux/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data230);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/qux/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data231);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/qux/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data232);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/qux/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data233);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/qux/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data234);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/quux/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data235);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/quux/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data236);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/quux/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data237);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/quux/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data238);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/quux/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data239);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/quux/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data240);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/grault/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data241);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/grault/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data242);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/grault/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data243);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/grault/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data244);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/grault/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data245);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/grault/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data246);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/garply/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data247);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/garply/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data248);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/garply/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data249);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/garply/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data250);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/garply/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data251);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/corge/garply/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data252);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/foo/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data253);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/foo/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data254);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/foo/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data255);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/foo/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data256);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/foo/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data257);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/foo/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data258);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/bar/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data259);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/bar/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data260);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/bar/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data261);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/bar/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data262);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/bar/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data263);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/bar/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data264);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/baz/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data265);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/baz/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data266);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/baz/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data267);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/baz/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data268);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/baz/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data269);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/baz/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data270);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/qux/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data271);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/qux/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data272);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/qux/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data273);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/qux/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data274);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/qux/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data275);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/qux/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data276);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/quux/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data277);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/quux/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data278);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/quux/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data279);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/quux/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data280);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/quux/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data281);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/quux/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data282);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/corge/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data283);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/corge/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data284);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/corge/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data285);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/corge/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data286);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/corge/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data287);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/corge/garply", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data288);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/garply/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data289);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/garply/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data290);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/garply/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data291);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/garply/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data292);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/garply/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data293);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/grault/garply/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data294);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/foo/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data295);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/foo/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data296);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/foo/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data297);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/foo/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data298);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/foo/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data299);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/foo/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data300);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/bar/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data301);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/bar/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data302);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/bar/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data303);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/bar/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data304);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/bar/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data305);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/bar/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data306);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/baz/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data307);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/baz/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data308);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/baz/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data309);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/baz/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data310);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/baz/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data311);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/baz/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data312);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/qux/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data313);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/qux/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data314);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/qux/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data315);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/qux/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data316);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/qux/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data317);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/qux/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data318);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/quux/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data319);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/quux/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data320);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/quux/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data321);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/quux/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data322);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/quux/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data323);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/quux/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data324);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/corge/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data325);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/corge/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data326);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/corge/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data327);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/corge/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data328);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/corge/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data329);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/corge/grault", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data330);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/grault/foo", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data331);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/grault/bar", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data332);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/grault/baz", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data333);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/grault/qux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data334);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/grault/quux", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data335);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:06:10 -04:00
|
|
|
m = r3_tree_match(n, "/garply/grault/corge", NULL);
|
2014-06-01 22:17:35 -04:00
|
|
|
ck_assert(m != NULL);
|
2015-10-18 02:57:55 -04:00
|
|
|
ck_assert(m->data == data336);
|
2014-06-01 22:15:50 -04:00
|
|
|
ck_assert(m->endpoint > 0);
|
2014-06-01 22:03:58 -04:00
|
|
|
|
|
|
|
r3_tree_free(n);
|
|
|
|
|
|
|
|
}
|
|
|
|
END_TEST
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Suite* r3_suite (void) {
|
|
|
|
Suite *suite = suite_create("r3 routes tests");
|
|
|
|
TCase *tcase = tcase_create("testcase");
|
|
|
|
tcase_add_test(tcase, test_routes);
|
|
|
|
suite_add_tcase(suite, tcase);
|
|
|
|
return suite;
|
|
|
|
}
|
|
|
|
|
|
|
|
int main (int argc, char *argv[]) {
|
|
|
|
int number_failed;
|
|
|
|
Suite *suite = r3_suite();
|
|
|
|
SRunner *runner = srunner_create(suite);
|
|
|
|
srunner_run_all(runner, CK_NORMAL);
|
|
|
|
number_failed = srunner_ntests_failed(runner);
|
|
|
|
srunner_free(runner);
|
|
|
|
return number_failed;
|
|
|
|
}
|
|
|
|
|