Push GResource URL for test data down so it's accessible to all tests.
This commit is contained in:
parent
d91dd36484
commit
f78939ce00
2 changed files with 5 additions and 1 deletions
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
class Geary.RFC822.MessageTest : TestCase {
|
||||
|
||||
private const string RESOURCE_URI = "resource:///org/gnome/GearyTest";
|
||||
|
||||
private const string BASIC_TEXT_PLAIN = "basic-text-plain.eml";
|
||||
private const string BASIC_TEXT_HTML = "basic-text-html.eml";
|
||||
|
|
|
|||
|
|
@ -152,9 +152,14 @@ private inline void print_assert(string message, string? context) {
|
|||
GLib.stderr.putc('\n');
|
||||
}
|
||||
|
||||
|
||||
public abstract class TestCase : Object {
|
||||
|
||||
|
||||
/** GLib.File URI for resources in test/data. */
|
||||
public const string RESOURCE_URI = "resource:///org/gnome/GearyTest";
|
||||
|
||||
|
||||
private class SignalWaiter : Object {
|
||||
|
||||
public bool was_fired = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue