VirtualBox

Changeset 38611 in vbox


Ignore:
Timestamp:
Sep 2, 2011 12:16:56 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
73817
Message:

Extended testcase with German umlauts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstGuestCtrlParseBuffer.cpp

    r38437 r38611  
    9191     * we're only interested in parsing/handling the first object. */
    9292    { "t9=t9\0t91=t91\0\0t92=t92\0\0",  sizeof("t9=t9\0t91=t91\0\0t92=t92\0\0"),           0,  sizeof("t9=t9\0t91=t91\0") - 1,            2, VINF_SUCCESS },
     93    /* Nasty stuff. */
     94    { "äöü=fäö\0\0",                    sizeof("äöü=fäö\0\0"),                             0,  sizeof("äöü=fäö\0") - 1,                   1, VINF_SUCCESS },
     95    { "äöü=fäö\0ööö=äää",               sizeof("äöü=fäö\0ööö=äää"),                        0,  sizeof("äöü=fäö\0") - 1,                   1, VERR_MORE_DATA },
    9396    /* Some "real world" examples. */
    9497    { "hdr_id=vbt_stat\0hdr_ver=1\0name=foo.txt\0\0",
    9598                                        sizeof("hdr_id=vbt_stat\0hdr_ver=1\0name=foo.txt\0\0"),
    96                                                                                            0,  sizeof("hdr_id=vbt_stat\0hdr_ver=1\0name=foo.txt\0\0") - 1,
     99                                                                                           0,  sizeof("hdr_id=vbt_stat\0hdr_ver=1\0name=foo.txt\0") - 1,
    97100                                                                                                                                          3, VINF_SUCCESS }
    98101};
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette