Commit graph

42 commits

Author SHA1 Message Date
marauder2k7 e0c80ac909 fix for the fix because original fix did jack 2024-03-15 22:59:27 +00:00
Brian Roberts 2fe2e7925e
Merge pull request #1212 from Azaezel/alpah41/UnitTestTrouble
supress concurent threadsafedeque test as invalid
2024-02-10 10:48:39 -06:00
AzaezelX 0ccb27b7ad supress concurent threadsafedeque test as invalid
it's never actually used like that in practice, and while the cornercase reminder is useful, it's activetly causing overlooks for practical problems
2024-02-10 10:16:23 -06:00
marauder2k7 4b2abd4828 Merge remote-tracking branch 'upstream/development' into ThreadSafeDeque 2024-02-10 03:20:59 +00:00
marauder2k7 ae8a2a74f7 Update threadSafeDequeTest.cpp
change value to 50
2024-02-07 17:25:48 +00:00
James Urquhart 45898694e4 Reimplement FrameAllocator and FrameTemp; Tidy up DataChunker header.
- Also additional work on tests to reflect watermark behavior change
2024-02-06 02:35:16 +00:00
James Urquhart 7332dd6643 Add tests for FrameAllocator and DataChunker 2024-02-05 22:53:09 +00:00
Jeff Hutchinson 0d743c8bb9 TScript Bugfix
If the statement is a terminating statement on slot assignment (such as %var[%i]++;), the stack has to be popped everytime slot arrays are used regardless of the expression type.
2024-01-30 18:24:48 -05:00
James Urquhart 6605ddc66a Improve ray intersection tests 2023-09-26 12:03:51 -05:00
James Urquhart d278aab929 Improve SceneContainer testing code 2023-09-26 12:03:51 -05:00
jamesu@gmail.com 32a5644d2e Add preliminary testing code for SceneContainer util classes 2023-09-26 12:03:51 -05:00
Lukas Aldershaab c6047b24eb Fix foreach over non-existant objects 2023-09-24 14:36:56 -05:00
Lukas Aldershaab 09befb1e3b Cleanup includes 2023-09-17 00:35:03 +02:00
Lukas Aldershaab 7c46789a9e Add assertions around registerObjects 2023-09-17 00:30:40 +02:00
Lukas Aldershaab 24f8e6ff87 Update InspectorField test name 2023-09-17 00:28:23 +02:00
Lukas Aldershaab 6de2b455c4 Fix evaluatef argument handling and add regression test 2023-09-17 00:22:44 +02:00
Lukas Aldershaab ff03c43b03 Cleanup after datablock tests 2023-09-16 23:34:48 +02:00
Lukas Aldershaab e7d17e5453 Fix error in DB substitution logic and add regressiontest 2023-09-16 23:29:13 +02:00
Lukas Aldershaab 89b0c7f73b Console Refactor 2023-09-13 10:33:20 +02:00
marauder2k7 f86f947f70 Update unitTesting.cpp
Return 0
2023-07-27 21:46:07 +01:00
marauder2k7 5427e941ce UnitTest
Change unit tests to run without script
runTests now just holds a purely script test example
Test Explorer in VS now works with tests
NB do not use test explorer on purely script based tests.
2023-07-27 21:02:27 +01:00
marauder2k7 37dd2fe349 Update unitTesting.cpp 2023-07-26 16:00:03 +01:00
marauder2k7 434c7f7ea2 test report
-check to see if emojis are messing with triggering the test reporters
-remove success spam from unit test output
2023-07-26 15:49:58 +01:00
marauder2k7 3ba845cd6f test report file
-fix test report file path
2023-07-26 10:36:58 +01:00
marauder2k7 f2292a6a1f missed define 2023-07-25 13:30:53 +01:00
marauder2k7 564d48e95f fix for windows
Windows segfault was only appearing after changes to windowManagerTest, either that or because linux was failing first it wasn't giving windows a chance to fail. see if this works.
2023-07-25 13:29:22 +01:00
marauder2k7 0636ba5765 Update windowManagerTest.cpp
test to see if segfault triggers at this point in testing
2023-07-25 07:26:37 +01:00
marauder2k7 2ef93acac6 define TORQUE_TESTS_ENABLED 2023-07-24 13:47:22 +01:00
marauder2k7 c09f79d199 separate testing environment
-Separate main for running unit tests
-Move unit tests into testing folder
2023-07-24 12:38:36 +01:00
Lukas Aldershaab 1d28ddf734 Cleanup and improve 2023-04-06 15:28:09 +02:00
Azaezel a7fc407284 corrects a pair of conversions. one object oriented, one not. 2018-12-12 14:52:14 -06:00
Glenn Smith d9a723d533 More cats and cpys in files that xcode doesn't see 2018-03-07 01:13:56 -05:00
Daniel Buckmaster fae1bad96c All unit tests that run now pass. 2014-09-29 11:38:44 +10:00
Daniel Buckmaster d02cc94edd Allow test runs to be non-verbose. 2014-09-29 11:38:34 +10:00
Daniel Buckmaster 85a0c1c59f Allow test flags to be specified, so we don't need TEST_STRESS. 2014-08-02 10:21:28 +10:00
Daniel Buckmaster 867997f398 Allow stress tests to be quarantined. 2014-08-01 15:00:57 +10:00
Daniel Buckmaster ad0899ae27 Capitalisation, which actually doesn't matter. 2014-07-15 12:25:06 +02:00
Daniel Buckmaster ec34d9928c Only check memory if a flag is set. 2014-07-08 17:39:22 +02:00
Daniel Buckmaster caa915d0ec Fixed copyight in memory tester. 2014-06-24 09:12:50 +10:00
Daniel Buckmaster ef1a1326d3 Added macros for convenience. 2014-06-24 08:39:40 +10:00
Daniel Buckmaster 3fbaa60e40 Added memory leak testing for MSVC. 2014-06-24 08:39:22 +10:00
Daniel Buckmaster 551a7b3820 Added Google test library. 2014-06-24 08:38:52 +10:00