~ubuntu-branches/ubuntu/raring/dovecot/raring

« back to all changes in this revision

Viewing changes to pigeonhole/src/testsuite/testsuite-objects.c

  • Committer: Package Import Robot
  • Author(s): Marco Nenciarini
  • Date: 2011-09-19 19:26:48 UTC
  • mfrom: (1.14.4 upstream)
  • mto: (4.8.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 86.
  • Revision ID: package-import@ubuntu.com-20110919192648-ri3sovtiz334yori
Tags: 1:2.0.15-1
* [a22575a] New upstream version 2.0.15: (Closes: #642045)
    + doveadm altmove: Added -r parameter to move mails back to primary
      storage.
    - v2.0.14: Index reading could have eaten a lot of memory in some
      situations
    - doveadm index no longer affects future caching decisions
    - mbox: Fixed crash during mail delivery when mailbox didn't yet have
      GUID assigned to it.
    - zlib+mbox: Fetching last message from compressed mailboxes crashed.
    - lib-sql: Fixed load balancing and error
* [8ce5abc] Update pigeonhole to release 0.2.4
* [87658d2] Add dovecot-solr to dovecot-core's Suggests line.

Show diffs side-by-side

added added

removed removed

Lines of Context:
305
305
enum testsuite_object_envelope_field {
306
306
        TESTSUITE_OBJECT_ENVELOPE_FROM,
307
307
        TESTSUITE_OBJECT_ENVELOPE_TO,
 
308
        TESTSUITE_OBJECT_ENVELOPE_ORIG_TO,
308
309
        TESTSUITE_OBJECT_ENVELOPE_AUTH_USER
309
310
};
310
311
 
324
325
                return TESTSUITE_OBJECT_ENVELOPE_FROM;
325
326
        if ( strcasecmp(identifier, "to") == 0 )
326
327
                return TESTSUITE_OBJECT_ENVELOPE_TO;
 
328
        if ( strcasecmp(identifier, "orig_to") == 0 )
 
329
                return TESTSUITE_OBJECT_ENVELOPE_ORIG_TO;
327
330
        if ( strcasecmp(identifier, "auth") == 0 )
328
331
                return TESTSUITE_OBJECT_ENVELOPE_AUTH_USER;
329
332
 
337
340
                return "from";
338
341
        case TESTSUITE_OBJECT_ENVELOPE_TO:
339
342
                return "to";
 
343
        case TESTSUITE_OBJECT_ENVELOPE_ORIG_TO:
 
344
                return "orig_to";
340
345
        case TESTSUITE_OBJECT_ENVELOPE_AUTH_USER:
341
346
                return "auth";
342
347
        }
354
359
        case TESTSUITE_OBJECT_ENVELOPE_TO:
355
360
                testsuite_envelope_set_recipient(renv, str_c(value));
356
361
                return TRUE;
 
362
        case TESTSUITE_OBJECT_ENVELOPE_ORIG_TO:
 
363
                testsuite_envelope_set_orig_recipient(renv, str_c(value));
 
364
                return TRUE;
357
365
        case TESTSUITE_OBJECT_ENVELOPE_AUTH_USER:
358
366
                testsuite_envelope_set_auth_user(renv, str_c(value));
359
367
                return TRUE;