Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit Test separate project #1058

Commits on Jul 20, 2023

  1. Initcommit

    -Move tests to a separate project
    -Tests now appear in TestExplorer.
    
    NOTE: Currently only tested in Debug config.
    
    TODO: Add support for Vectors
    marauder2k7 committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    e1f8a6f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7635d25 View commit details
    Browse the repository at this point in the history
  3. Working sdl tests

    addDef ("TORQUE_TESTS")
    
    add sdl dummy devices when testing
    marauder2k7 committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    3f56233 View commit details
    Browse the repository at this point in the history
  4. remove vs command

    remove command and compile torque as a lib if testing
    marauder2k7 committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    3a573ed View commit details
    Browse the repository at this point in the history
  5. Update torque3d.cmake

    marauder2k7 committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    6adf4fc View commit details
    Browse the repository at this point in the history
  6. Define fix, main

    -Remove main functions when testing, gtest has main
    -remove sdl defines from torque.config
    marauder2k7 committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    59270a6 View commit details
    Browse the repository at this point in the history
  7. Update torque3d.cmake

    marauder2k7 committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    6ad3a60 View commit details
    Browse the repository at this point in the history
  8. Add script interface

    implement our own main function (gtest_main no longer needed)
    group test files
    add script input ability (CI required)
    marauder2k7 committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    cf1dbbf View commit details
    Browse the repository at this point in the history
  9. Update runTests.tscript

    marauder2k7 committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    5ee9b76 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. Naming

    -Rename test project to {NAME}_TEST
    -set workflow file to use the test.
    -Make sure subsystem is console app instead of windows (no need for winmain)
    marauder2k7 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    11dd87b View commit details
    Browse the repository at this point in the history
  2. Update CMakeLists.txt

    marauder2k7 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    f6a0ba0 View commit details
    Browse the repository at this point in the history
  3. Returning Bool Main

    -MacOs reported bool from main
    -AddDef for debug and releases
    marauder2k7 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    3af916b View commit details
    Browse the repository at this point in the history
  4. Update cmake.yml

    marauder2k7 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    1983cb9 View commit details
    Browse the repository at this point in the history
  5. Update CMakeLists.txt

    marauder2k7 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    9febe52 View commit details
    Browse the repository at this point in the history
  6. Update runTests.tscript

    marauder2k7 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    4f19c54 View commit details
    Browse the repository at this point in the history
  7. Update runTests.tscript

    marauder2k7 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    eec59f9 View commit details
    Browse the repository at this point in the history
  8. working mac

    -Test output on mac when run from terminal
    marauder2k7 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    6d584bc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d18a5c1 View commit details
    Browse the repository at this point in the history
  10. Remove mains

    remove unused mains from gmock
    warning to use _putenv
    marauder2k7 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    ab7c42f View commit details
    Browse the repository at this point in the history