2018-02-08 18:25:32 +11:00
|
|
|
/*
|
|
|
|
|
* Copyright 2017 Michael Gratton <mike@vee.net>
|
|
|
|
|
*
|
|
|
|
|
* This software is licensed under the GNU Lesser General Public License
|
|
|
|
|
* (version 2.1 or later). See the COPYING file in this distribution.
|
|
|
|
|
*/
|
|
|
|
|
|
2020-08-10 16:13:57 +10:00
|
|
|
public class Mock.EmailProperties : Geary.EmailProperties {
|
2018-02-08 18:25:32 +11:00
|
|
|
|
|
|
|
|
|
2020-08-10 16:13:57 +10:00
|
|
|
public EmailProperties(GLib.DateTime received) {
|
2018-02-08 18:25:32 +11:00
|
|
|
base(received, 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string to_string() {
|
2020-08-10 16:13:57 +10:00
|
|
|
return "Mock.EmailProperties: %s/%lli".printf(
|
2018-02-08 18:25:32 +11:00
|
|
|
this.date_received.to_string(), this.total_bytes
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|