phoenix-firestorm/indra/test
Nat Goodspeed dcfc28890b Fix breaking indra/test/llpermissions_tut.cpp tests.
Certain tests of allowModifyBy(), allowCopyBy() and allowMoveBy() were
computing a bit-shifted S32 value and testing that the method return value
matched that specific bit. Whoever originally coded the test probably started
with allowModifyBy() == TRUE, but observed that it didn't work. Instead of
just testing for nonzero, in the spirit of BOOL, he then determined the
specific BOOL value (typedef for 'int') returned by each test so he could
still compare for equality. In other words, the tests were far too
knowledgeable about the method implementation. At some point these methods
were changed to return C++ standard 'bool' instead, so the internal
bit-masking operations got mapped to 'true' and 'false' anyway, making it
impossible for the original equality comparison to succeed. Fix tests
accordingly.
Use ensure_equals("msg", expr1, expr2) instead of ensure("msg", expr1 == expr2).
On failure, the former will report the actual mismatched values.
Remove other extraneous Microsoft-style "BOOL" usage (e.g. expr == TRUE).
2010-03-08 13:50:44 -05:00
..
CMakeLists.txt Resync indra/test's LD_LIBRARY_PATH with ADD_INTEGRATION_TEST 2009-12-03 12:00:20 -05:00
blowfish.1.bin
blowfish.2.bin
blowfish.digits.txt
blowfish.pl
debug.h
io.cpp
llassetuploadqueue_tut.cpp
llblowfish_tut.cpp
llbuffer_tut.cpp
lldatapacker_tut.cpp
lldoubledispatch_tut.cpp
llevents_tut.cpp
llhttpclient_tut.cpp Skip fragile (local ISP dependent) llhttpclient integration test. 2010-02-03 15:50:57 -05:00
llhttpdate_tut.cpp
llhttpnode_tut.cpp
lliohttpserver_tut.cpp
llmessageconfig_tut.cpp
llmessagetemplateparser_tut.cpp
llpermissions_tut.cpp Fix breaking indra/test/llpermissions_tut.cpp tests. 2010-03-08 13:50:44 -05:00
llpipeutil.cpp
llpipeutil.h
llsaleinfo_tut.cpp
llscriptresource_tut.cpp
llsd_new_tut.cpp
llsdmessagebuilder_tut.cpp
llsdmessagereader_tut.cpp
llsdtraits.h
llsdutil_tut.cpp
llservicebuilder_tut.cpp
llstreamtools_tut.cpp
lltemplatemessagebuilder_tut.cpp
lltimestampcache_tut.cpp
lltranscode_tut.cpp
lltut.cpp
lltut.h
lluserrelations_tut.cpp
lluuidhashmap_tut.cpp
llxorcipher_tut.cpp
message_tut.cpp
mock_http_client.cpp
mock_http_client.h
prim_linkability_tut.cpp
test.cpp
test.h
test_llmanifest.py