Lines Matching refs:CHECK

54 #define CHECK(expr) RTTESTI_CHECK(expr)
78 CHECK(empty.length() == 0);
79 CHECK(empty.capacity() == 0);
82 CHECK(sixbytes.length() == 5);
83 CHECK(sixbytes.capacity() == 6);
86 CHECK(sixbytes.length() == 8);
87 CHECK(sixbytes.capacity() >= 9);
90 CHECK(sixbytes.length() == 10);
91 CHECK(sixbytes.capacity() >= 11);
99 CHECK(sixbytes.length() == 6);
100 CHECK(sixbytes.capacity() == 7);
111 CHECK(third.capacity() == 100 * 1024);
112 CHECK(third.length() == morebytes.length()); // must not have changed
116 CHECK(copy1 == copy2);
119 CHECK(copy1.length() == 0);
122 CHECK(copy1.length() == 0);
124 CHECK(RTCString("abc") < RTCString("def"));
125 CHECK(RTCString("") < RTCString("def"));
126 CHECK(RTCString("abc") > RTCString(""));
127 CHECK(RTCString("abc") != RTCString("def"));
129 CHECK(RTCString("abc") == RTCString("abc"));
130 CHECK(RTCString("").compare("") == 0);
131 CHECK(RTCString("").compare(NULL) == 0);
132 CHECK(RTCString("").compare("a") < 0);
133 CHECK(RTCString("a").compare("") > 0);
134 CHECK(RTCString("a").compare(NULL) > 0);
136 CHECK(RTCString("abc") < "def");
137 CHECK(RTCString("abc") != "def");
139 CHECK(RTCString("abc") == "abc");
141 CHECK(RTCString("abc").equals("abc"));
142 CHECK(!RTCString("abc").equals("def"));
143 CHECK(RTCString("abc").equalsIgnoreCase("Abc"));
144 CHECK(RTCString("abc").equalsIgnoreCase("ABc"));
145 CHECK(RTCString("abc").equalsIgnoreCase("ABC"));
146 CHECK(!RTCString("abc").equalsIgnoreCase("dBC"));
147 CHECK(RTCString("").equals(""));
148 CHECK(RTCString("").equals(NULL));
149 CHECK(!RTCString("").equals("a"));
150 CHECK(!RTCString("a").equals(""));
151 CHECK(!RTCString("a").equals(NULL));
152 CHECK(RTCString("").equalsIgnoreCase(""));
153 CHECK(RTCString("").equalsIgnoreCase(NULL));
154 CHECK(!RTCString("").equalsIgnoreCase("a"));
155 CHECK(!RTCString("a").equalsIgnoreCase(""));
163 CHECK(copy2.length() == 100);
171 CHECK(copy2.length() == 100);
175 CHECK(StrFmt.printf("%s-%s-%d", "abc", "def", 42).equals("abc-def-42"));
354 #undef CHECK