AllTests.c 653 B

12345678910111213141516171819202122
  1. /* Copyright (c) 2010 James Grenning and Contributed to Unity Project
  2. * ==========================================
  3. * Unity Project - A Test Framework for C
  4. * Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
  5. * [Released under MIT License. Please refer to license.txt for details]
  6. * ========================================== */
  7. #include "unity_fixture.h"
  8. static void runAllTests(void)
  9. {
  10. RUN_TEST_GROUP(UnityFixture);
  11. RUN_TEST_GROUP(UnityCommandOptions);
  12. RUN_TEST_GROUP(LeakDetection);
  13. RUN_TEST_GROUP(InternalMalloc);
  14. }
  15. int main(int argc, const char* argv[])
  16. {
  17. return UnityMain(argc, argv, runAllTests);
  18. }