Changeset 33615 in vbox for trunk/src/VBox/Runtime/testcase/tstIprtMiniString.cpp
- Timestamp:
- Oct 29, 2010 2:58:02 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstIprtMiniString.cpp
r33610 r33615 111 111 112 112 CHECK(iprt::MiniString("abc") < iprt::MiniString("def")); 113 CHECK(iprt::MiniString("") < iprt::MiniString("def")); 114 CHECK(iprt::MiniString("abc") > iprt::MiniString("")); 113 115 CHECK(iprt::MiniString("abc") != iprt::MiniString("def")); 114 116 CHECK_DUMP_I(iprt::MiniString("def") > iprt::MiniString("abc")); 115 117 CHECK(iprt::MiniString("abc") == iprt::MiniString("abc")); 118 CHECK(iprt::MiniString("").compare("") == 0); 119 CHECK(iprt::MiniString("").compare(NULL) == 0); 120 CHECK(iprt::MiniString("").compare("a") < 0); 121 CHECK(iprt::MiniString("a").compare("") > 0); 122 CHECK(iprt::MiniString("a").compare(NULL) > 0); 116 123 117 124 CHECK(iprt::MiniString("abc") < "def"); … … 127 134 CHECK(!iprt::MiniString("abc").equalsIgnoreCase("dBC")); 128 135 CHECK(iprt::MiniString("").equals("")); 136 CHECK(iprt::MiniString("").equals(NULL)); 137 CHECK(!iprt::MiniString("").equals("a")); 138 CHECK(!iprt::MiniString("a").equals("")); 139 CHECK(!iprt::MiniString("a").equals(NULL)); 129 140 CHECK(iprt::MiniString("").equalsIgnoreCase("")); 141 CHECK(iprt::MiniString("").equalsIgnoreCase(NULL)); 142 CHECK(!iprt::MiniString("").equalsIgnoreCase("a")); 143 CHECK(!iprt::MiniString("a").equalsIgnoreCase("")); 130 144 131 145 copy2.setNull();
Note:
See TracChangeset
for help on using the changeset viewer.