mirror of https://github.com/djcb/mu.git
* unit tests: updated for other changes
This commit is contained in:
parent
f114d2f511
commit
085d0732c1
|
@ -148,11 +148,10 @@ test_mu_find_02 (void)
|
||||||
search ("bull m:foo", 0);
|
search ("bull m:foo", 0);
|
||||||
search ("bull m:/foo", 1);
|
search ("bull m:/foo", 1);
|
||||||
search ("bull m:/Foo", 1);
|
search ("bull m:/Foo", 1);
|
||||||
search ("bull flags:a", 1);
|
search ("bull flag:a", 1);
|
||||||
search ("g:x", 0);
|
search ("g:x", 0);
|
||||||
search ("flags:encrypted", 0);
|
search ("flag:encrypted", 0);
|
||||||
search ("flags:attach", 1);
|
search ("flag:attach", 1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,7 @@ test_mu_msg_field_flags (void)
|
||||||
|
|
||||||
field = MU_MSG_FIELD_ID_FLAGS;
|
field = MU_MSG_FIELD_ID_FLAGS;
|
||||||
|
|
||||||
g_assert_cmpstr (mu_msg_field_name(field),==, "flags");
|
g_assert_cmpstr (mu_msg_field_name(field),==, "flag");
|
||||||
g_assert_cmpuint (mu_msg_field_shortcut(field),==, 'g');
|
g_assert_cmpuint (mu_msg_field_shortcut(field),==, 'g');
|
||||||
g_assert_cmpuint (mu_msg_field_xapian_prefix(field),==, 'G');
|
g_assert_cmpuint (mu_msg_field_xapian_prefix(field),==, 'G');
|
||||||
|
|
||||||
|
|
|
@ -183,7 +183,12 @@ test_mu_query_04 (void)
|
||||||
{ "t:bilbo@anotherexample.com", 1},
|
{ "t:bilbo@anotherexample.com", 1},
|
||||||
{ "t:bilbo", 1},
|
{ "t:bilbo", 1},
|
||||||
{ "f:bilbo", 0},
|
{ "f:bilbo", 0},
|
||||||
{ "baggins", 1}
|
{ "baggins", 1},
|
||||||
|
{ "prio:high", 1},
|
||||||
|
{ "prio:normal", 3},
|
||||||
|
{ "prio:h", 1},
|
||||||
|
{ "prio:l", 7},
|
||||||
|
{ "not prio:l", 4}
|
||||||
};
|
};
|
||||||
|
|
||||||
xpath = fill_database ();
|
xpath = fill_database ();
|
||||||
|
|
|
@ -48,7 +48,7 @@ References: <477821040808030533y41f1501dq32447b568b6e6ca5@mail.gmail.com>
|
||||||
Subject: Re: [sqlite-dev] SQLite exception
|
Subject: Re: [sqlite-dev] SQLite exception
|
||||||
X-BeenThere: sqlite-dev@sqlite.org
|
X-BeenThere: sqlite-dev@sqlite.org
|
||||||
X-Mailman-Version: 2.1.9
|
X-Mailman-Version: 2.1.9
|
||||||
Precedence: list
|
Priority: normal
|
||||||
Reply-To: sqlite-dev@sqlite.org
|
Reply-To: sqlite-dev@sqlite.org
|
||||||
List-Id: <sqlite-dev.sqlite.org>
|
List-Id: <sqlite-dev.sqlite.org>
|
||||||
List-Unsubscribe: <http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-dev>,
|
List-Unsubscribe: <http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-dev>,
|
||||||
|
|
|
@ -51,7 +51,7 @@ X-BitDefender-SpamStamp: v1, whitelisted, total: 0
|
||||||
Subject: Re: [sqlite-dev] VM optimization inside sqlite3VdbeExec
|
Subject: Re: [sqlite-dev] VM optimization inside sqlite3VdbeExec
|
||||||
X-BeenThere: sqlite-dev@sqlite.org
|
X-BeenThere: sqlite-dev@sqlite.org
|
||||||
X-Mailman-Version: 2.1.9
|
X-Mailman-Version: 2.1.9
|
||||||
Precedence: list
|
Precedence: high
|
||||||
Reply-To: sqlite-dev@sqlite.org
|
Reply-To: sqlite-dev@sqlite.org
|
||||||
List-Id: <sqlite-dev.sqlite.org>
|
List-Id: <sqlite-dev.sqlite.org>
|
||||||
List-Unsubscribe: <http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-dev>,
|
List-Unsubscribe: <http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-dev>,
|
||||||
|
|
Loading…
Reference in New Issue