mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added juce_UnitTestCategories.h to replace raw strings used for test categories
This commit is contained in:
parent
c9fe0afd0f
commit
497a1b3fb7
106 changed files with 325 additions and 79 deletions
|
|
@ -850,6 +850,7 @@ add_library( ${BINARY_NAME}
|
|||
"../../../../../modules/juce_core/time/juce_Time.h"
|
||||
"../../../../../modules/juce_core/unit_tests/juce_UnitTest.cpp"
|
||||
"../../../../../modules/juce_core/unit_tests/juce_UnitTest.h"
|
||||
"../../../../../modules/juce_core/unit_tests/juce_UnitTestCategories.h"
|
||||
"../../../../../modules/juce_core/xml/juce_XmlDocument.cpp"
|
||||
"../../../../../modules/juce_core/xml/juce_XmlDocument.h"
|
||||
"../../../../../modules/juce_core/xml/juce_XmlElement.cpp"
|
||||
|
|
@ -2447,6 +2448,7 @@ set_source_files_properties("../../../../../modules/juce_core/time/juce_Time.cpp
|
|||
set_source_files_properties("../../../../../modules/juce_core/time/juce_Time.h" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/unit_tests/juce_UnitTest.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/unit_tests/juce_UnitTest.h" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/unit_tests/juce_UnitTestCategories.h" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/xml/juce_XmlDocument.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/xml/juce_XmlDocument.h" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/xml/juce_XmlElement.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
|
|
|
|||
|
|
@ -2697,6 +2697,7 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_RelativeTime.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_Time.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlElement.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\zip\zlib\crc32.h"/>
|
||||
|
|
|
|||
|
|
@ -4182,6 +4182,9 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h">
|
||||
<Filter>JUCE Modules\juce_core\xml</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
|||
|
|
@ -2697,6 +2697,7 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_RelativeTime.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_Time.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlElement.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\zip\zlib\crc32.h"/>
|
||||
|
|
|
|||
|
|
@ -4182,6 +4182,9 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h">
|
||||
<Filter>JUCE Modules\juce_core\xml</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
|||
|
|
@ -2699,6 +2699,7 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_RelativeTime.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_Time.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlElement.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\zip\zlib\crc32.h"/>
|
||||
|
|
|
|||
|
|
@ -4182,6 +4182,9 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h">
|
||||
<Filter>JUCE Modules\juce_core\xml</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
|||
|
|
@ -690,6 +690,7 @@ add_library( ${BINARY_NAME}
|
|||
"../../../../../modules/juce_core/time/juce_Time.h"
|
||||
"../../../../../modules/juce_core/unit_tests/juce_UnitTest.cpp"
|
||||
"../../../../../modules/juce_core/unit_tests/juce_UnitTest.h"
|
||||
"../../../../../modules/juce_core/unit_tests/juce_UnitTestCategories.h"
|
||||
"../../../../../modules/juce_core/xml/juce_XmlDocument.cpp"
|
||||
"../../../../../modules/juce_core/xml/juce_XmlDocument.h"
|
||||
"../../../../../modules/juce_core/xml/juce_XmlElement.cpp"
|
||||
|
|
@ -1974,6 +1975,7 @@ set_source_files_properties("../../../../../modules/juce_core/time/juce_Time.cpp
|
|||
set_source_files_properties("../../../../../modules/juce_core/time/juce_Time.h" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/unit_tests/juce_UnitTest.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/unit_tests/juce_UnitTest.h" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/unit_tests/juce_UnitTestCategories.h" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/xml/juce_XmlDocument.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/xml/juce_XmlDocument.h" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/xml/juce_XmlElement.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
|
|
|
|||
|
|
@ -2229,6 +2229,7 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_RelativeTime.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_Time.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlElement.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\zip\zlib\crc32.h"/>
|
||||
|
|
|
|||
|
|
@ -3366,6 +3366,9 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h">
|
||||
<Filter>JUCE Modules\juce_core\xml</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
|||
|
|
@ -707,6 +707,7 @@ add_library( ${BINARY_NAME}
|
|||
"../../../../../modules/juce_core/time/juce_Time.h"
|
||||
"../../../../../modules/juce_core/unit_tests/juce_UnitTest.cpp"
|
||||
"../../../../../modules/juce_core/unit_tests/juce_UnitTest.h"
|
||||
"../../../../../modules/juce_core/unit_tests/juce_UnitTestCategories.h"
|
||||
"../../../../../modules/juce_core/xml/juce_XmlDocument.cpp"
|
||||
"../../../../../modules/juce_core/xml/juce_XmlDocument.h"
|
||||
"../../../../../modules/juce_core/xml/juce_XmlElement.cpp"
|
||||
|
|
@ -2064,6 +2065,7 @@ set_source_files_properties("../../../../../modules/juce_core/time/juce_Time.cpp
|
|||
set_source_files_properties("../../../../../modules/juce_core/time/juce_Time.h" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/unit_tests/juce_UnitTest.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/unit_tests/juce_UnitTest.h" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/unit_tests/juce_UnitTestCategories.h" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/xml/juce_XmlDocument.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/xml/juce_XmlDocument.h" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/xml/juce_XmlElement.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
|
|
|
|||
|
|
@ -2305,6 +2305,7 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_RelativeTime.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_Time.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlElement.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\zip\zlib\crc32.h"/>
|
||||
|
|
|
|||
|
|
@ -3519,6 +3519,9 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h">
|
||||
<Filter>JUCE Modules\juce_core\xml</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
|||
|
|
@ -2303,6 +2303,7 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_RelativeTime.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_Time.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlElement.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\zip\zlib\crc32.h"/>
|
||||
|
|
|
|||
|
|
@ -3519,6 +3519,9 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h">
|
||||
<Filter>JUCE Modules\juce_core\xml</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
|||
|
|
@ -2305,6 +2305,7 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_RelativeTime.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_Time.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlElement.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\zip\zlib\crc32.h"/>
|
||||
|
|
|
|||
|
|
@ -3519,6 +3519,9 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h">
|
||||
<Filter>JUCE Modules\juce_core\xml</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
|||
|
|
@ -564,6 +564,7 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_RelativeTime.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_Time.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlElement.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\zip\zlib\crc32.h"/>
|
||||
|
|
|
|||
|
|
@ -762,6 +762,9 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h">
|
||||
<Filter>JUCE Modules\juce_core\xml</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
|||
|
|
@ -694,6 +694,7 @@ add_library( ${BINARY_NAME}
|
|||
"../../../../../modules/juce_core/time/juce_Time.h"
|
||||
"../../../../../modules/juce_core/unit_tests/juce_UnitTest.cpp"
|
||||
"../../../../../modules/juce_core/unit_tests/juce_UnitTest.h"
|
||||
"../../../../../modules/juce_core/unit_tests/juce_UnitTestCategories.h"
|
||||
"../../../../../modules/juce_core/xml/juce_XmlDocument.cpp"
|
||||
"../../../../../modules/juce_core/xml/juce_XmlDocument.h"
|
||||
"../../../../../modules/juce_core/xml/juce_XmlElement.cpp"
|
||||
|
|
@ -2053,6 +2054,7 @@ set_source_files_properties("../../../../../modules/juce_core/time/juce_Time.cpp
|
|||
set_source_files_properties("../../../../../modules/juce_core/time/juce_Time.h" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/unit_tests/juce_UnitTest.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/unit_tests/juce_UnitTest.h" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/unit_tests/juce_UnitTestCategories.h" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/xml/juce_XmlDocument.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/xml/juce_XmlDocument.h" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
set_source_files_properties("../../../../../modules/juce_core/xml/juce_XmlElement.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
|
|
|
|||
|
|
@ -2314,6 +2314,7 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_RelativeTime.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_Time.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlElement.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\zip\zlib\crc32.h"/>
|
||||
|
|
|
|||
|
|
@ -3501,6 +3501,9 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h">
|
||||
<Filter>JUCE Modules\juce_core\xml</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
|||
|
|
@ -2314,6 +2314,7 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_RelativeTime.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_Time.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlElement.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\zip\zlib\crc32.h"/>
|
||||
|
|
|
|||
|
|
@ -3501,6 +3501,9 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h">
|
||||
<Filter>JUCE Modules\juce_core\xml</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
|||
|
|
@ -1769,6 +1769,7 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_RelativeTime.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_Time.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlElement.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\zip\zlib\crc32.h"/>
|
||||
|
|
|
|||
|
|
@ -2772,6 +2772,9 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h">
|
||||
<Filter>JUCE Modules\juce_core\xml</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
|||
|
|
@ -1769,6 +1769,7 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_RelativeTime.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_Time.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlElement.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\zip\zlib\crc32.h"/>
|
||||
|
|
|
|||
|
|
@ -2772,6 +2772,9 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h">
|
||||
<Filter>JUCE Modules\juce_core\xml</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
|||
|
|
@ -1771,6 +1771,7 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_RelativeTime.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_Time.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlElement.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\zip\zlib\crc32.h"/>
|
||||
|
|
|
|||
|
|
@ -2772,6 +2772,9 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h">
|
||||
<Filter>JUCE Modules\juce_core\xml</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
|||
|
|
@ -2501,6 +2501,7 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_RelativeTime.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_Time.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlElement.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\zip\zlib\crc32.h"/>
|
||||
|
|
|
|||
|
|
@ -3828,6 +3828,9 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h">
|
||||
<Filter>JUCE Modules\juce_core\xml</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
|||
|
|
@ -2290,6 +2290,7 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_RelativeTime.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\time\juce_Time.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlElement.h"/>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\zip\zlib\crc32.h"/>
|
||||
|
|
|
|||
|
|
@ -3468,6 +3468,9 @@
|
|||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTest.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\unit_tests\juce_UnitTestCategories.h">
|
||||
<Filter>JUCE Modules\juce_core\unit_tests</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\modules\juce_core\xml\juce_XmlDocument.h">
|
||||
<Filter>JUCE Modules\juce_core\xml</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
|||
|
|
@ -215,7 +215,7 @@ namespace DestinationTestHelpers
|
|||
struct ThreadedAnalyticsDestinationTests : public UnitTest
|
||||
{
|
||||
ThreadedAnalyticsDestinationTests()
|
||||
: UnitTest ("ThreadedAnalyticsDestination", "Analytics")
|
||||
: UnitTest ("ThreadedAnalyticsDestination", UnitTestCategories::analytics)
|
||||
{}
|
||||
|
||||
void compareEventQueues (const std::deque<AnalyticsDestination::AnalyticsEvent>& a,
|
||||
|
|
|
|||
|
|
@ -565,7 +565,9 @@ int JUCE_CALLTYPE AudioChannelSet::getAmbisonicOrderForNumChannels (int numChann
|
|||
class AudioChannelSetUnitTest : public UnitTest
|
||||
{
|
||||
public:
|
||||
AudioChannelSetUnitTest() : UnitTest ("AudioChannelSetUnitTest", "Audio") {}
|
||||
AudioChannelSetUnitTest()
|
||||
: UnitTest ("AudioChannelSetUnitTest", UnitTestCategories::audio)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -467,7 +467,9 @@ void AudioDataConverters::deinterleaveSamples (const float* source, float** dest
|
|||
class AudioConversionTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
AudioConversionTests() : UnitTest ("Audio data conversion", "Audio") {}
|
||||
AudioConversionTests()
|
||||
: UnitTest ("Audio data conversion", UnitTestCategories::audio)
|
||||
{}
|
||||
|
||||
template <class F1, class E1, class F2, class E2>
|
||||
struct Test5
|
||||
|
|
|
|||
|
|
@ -1147,7 +1147,9 @@ ScopedNoDenormals::~ScopedNoDenormals() noexcept
|
|||
class FloatVectorOperationsTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
FloatVectorOperationsTests() : UnitTest ("FloatVectorOperations", "Audio") {}
|
||||
FloatVectorOperationsTests()
|
||||
: UnitTest ("FloatVectorOperations", UnitTestCategories::audio)
|
||||
{}
|
||||
|
||||
template <typename ValueType>
|
||||
struct TestRunner
|
||||
|
|
|
|||
|
|
@ -351,7 +351,9 @@ void MidiMessageSequence::createControllerUpdatesForTime (int channelNumber, dou
|
|||
|
||||
struct MidiMessageSequenceTest : public UnitTest
|
||||
{
|
||||
MidiMessageSequenceTest() : juce::UnitTest ("MidiMessageSequence", "MIDI/MPE") {}
|
||||
MidiMessageSequenceTest()
|
||||
: UnitTest ("MidiMessageSequence", UnitTestCategories::midi)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -167,7 +167,9 @@ MidiBuffer MidiRPNGenerator::generate (int midiChannel,
|
|||
class MidiRPNDetectorTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
MidiRPNDetectorTests() : UnitTest ("MidiRPNDetector class", "MIDI/MPE") {}
|
||||
MidiRPNDetectorTests()
|
||||
: UnitTest ("MidiRPNDetector class", UnitTestCategories::midi)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
@ -309,7 +311,9 @@ static MidiRPNDetectorTests MidiRPNDetectorUnitTests;
|
|||
class MidiRPNGeneratorTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
MidiRPNGeneratorTests() : UnitTest ("MidiRPNGenerator class", "MIDI/MPE") {}
|
||||
MidiRPNGeneratorTests()
|
||||
: UnitTest ("MidiRPNGenerator class", UnitTestCategories::midi)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -800,7 +800,7 @@ class MPEInstrumentTests : public UnitTest
|
|||
{
|
||||
public:
|
||||
MPEInstrumentTests()
|
||||
: UnitTest ("MPEInstrument class", "MIDI/MPE")
|
||||
: UnitTest ("MPEInstrument class", UnitTestCategories::midi)
|
||||
{
|
||||
// using lower and upper MPE zones with the following layout for testing
|
||||
//
|
||||
|
|
|
|||
|
|
@ -114,7 +114,9 @@ MidiBuffer MPEMessages::setZoneLayout (MPEZoneLayout layout)
|
|||
class MPEMessagesTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
MPEMessagesTests() : UnitTest ("MPEMessages class", "MIDI/MPE") {}
|
||||
MPEMessagesTests()
|
||||
: UnitTest ("MPEMessages class", UnitTestCategories::midi)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -92,7 +92,9 @@ bool MPENote::operator!= (const MPENote& other) const noexcept
|
|||
class MPENoteTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
MPENoteTests() : UnitTest ("MPENote class", "MIDI/MPE") {}
|
||||
MPENoteTests()
|
||||
: UnitTest ("MPENote class", UnitTestCategories::midi)
|
||||
{}
|
||||
|
||||
//==============================================================================
|
||||
void runTest() override
|
||||
|
|
|
|||
|
|
@ -263,7 +263,7 @@ void MPEChannelRemapper::zeroArrays()
|
|||
struct MPEUtilsUnitTests : public UnitTest
|
||||
{
|
||||
MPEUtilsUnitTests()
|
||||
: UnitTest ("MPE Utilities", "MIDI/MPE")
|
||||
: UnitTest ("MPE Utilities", UnitTestCategories::midi)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
|
|
|
|||
|
|
@ -90,7 +90,9 @@ bool MPEValue::operator!= (const MPEValue& other) const noexcept
|
|||
class MPEValueTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
MPEValueTests() : UnitTest ("MPEValue class", "MIDI/MPE") {}
|
||||
MPEValueTests()
|
||||
: UnitTest ("MPEValue class", UnitTestCategories::midi)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -213,7 +213,9 @@ void MPEZoneLayout::checkAndLimitZoneParameters (int minValue, int maxValue,
|
|||
class MPEZoneLayoutTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
MPEZoneLayoutTests() : UnitTest ("MPEZoneLayout class", "MIDI/MPE") {}
|
||||
MPEZoneLayoutTests()
|
||||
: UnitTest ("MPEZoneLayout class", UnitTestCategories::midi)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class SmoothedValueTests : public UnitTest
|
|||
{
|
||||
public:
|
||||
SmoothedValueTests()
|
||||
: UnitTest ("SmoothedValueTests", "SmoothedValues")
|
||||
: UnitTest ("SmoothedValueTests", UnitTestCategories::smoothedValues)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
|
|
|
|||
|
|
@ -408,7 +408,7 @@ class CommonSmoothedValueTests : public UnitTest
|
|||
{
|
||||
public:
|
||||
CommonSmoothedValueTests()
|
||||
: UnitTest ("CommonSmoothedValueTests", "SmoothedValues")
|
||||
: UnitTest ("CommonSmoothedValueTests", UnitTestCategories::smoothedValues)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
|
|
|
|||
|
|
@ -603,7 +603,9 @@ AudioFormatWriter* CoreAudioFormat::createWriterFor (OutputStream*,
|
|||
class CoreAudioLayoutsUnitTest : public UnitTest
|
||||
{
|
||||
public:
|
||||
CoreAudioLayoutsUnitTest() : UnitTest ("Core Audio Layout <-> JUCE channel layout conversion", "Audio") {}
|
||||
CoreAudioLayoutsUnitTest()
|
||||
: UnitTest ("Core Audio Layout <-> JUCE channel layout conversion", UnitTestCategories::audio)
|
||||
{}
|
||||
|
||||
// some ambisonic tags which are not explicitely defined
|
||||
enum
|
||||
|
|
|
|||
|
|
@ -1816,7 +1816,9 @@ bool WavAudioFormat::replaceMetadataInFile (const File& wavFile, const StringPai
|
|||
|
||||
struct WaveAudioFormatTests : public UnitTest
|
||||
{
|
||||
WaveAudioFormatTests() : UnitTest ("Wave audio format tests", "Audio") {}
|
||||
WaveAudioFormatTests()
|
||||
: UnitTest ("Wave audio format tests", UnitTestCategories::audio)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -32,7 +32,9 @@ namespace juce
|
|||
class ParameterGroupTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
ParameterGroupTests() : UnitTest ("ParameterGroups", "AudioProcessor Parameters") {}
|
||||
ParameterGroupTests()
|
||||
: UnitTest ("ParameterGroups", UnitTestCategories::audioProcessorParameters)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -76,7 +76,9 @@ AudioParameterChoice& AudioParameterChoice::operator= (int newValue)
|
|||
|
||||
struct AudioParameterChoiceTests : public UnitTest
|
||||
{
|
||||
AudioParameterChoiceTests() : UnitTest ("AudioParameterChoice", "AudioProcessor Parameters") {}
|
||||
AudioParameterChoiceTests()
|
||||
: UnitTest ("AudioParameterChoice", UnitTestCategories::audioProcessorParameters)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -76,7 +76,9 @@ AudioParameterInt& AudioParameterInt::operator= (int newValue)
|
|||
|
||||
struct AudioParameterIntTests : public UnitTest
|
||||
{
|
||||
AudioParameterIntTests() : UnitTest ("AudioParameterInt", "AudioProcessor Parameters") {}
|
||||
AudioParameterIntTests()
|
||||
: UnitTest ("AudioParameterInt", UnitTestCategories::audioProcessorParameters)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -747,7 +747,9 @@ AudioProcessorValueTreeState::ButtonAttachment::~ButtonAttachment() {}
|
|||
|
||||
struct ParameterAdapterTests : public UnitTest
|
||||
{
|
||||
ParameterAdapterTests() : UnitTest ("Parameter Adapter", "AudioProcessor Parameters") {}
|
||||
ParameterAdapterTests()
|
||||
: UnitTest ("Parameter Adapter", UnitTestCategories::audioProcessorParameters)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
@ -885,7 +887,9 @@ private:
|
|||
};
|
||||
|
||||
public:
|
||||
AudioProcessorValueTreeStateTests() : UnitTest ("Audio Processor Value Tree State", "AudioProcessor Parameters") {}
|
||||
AudioProcessorValueTreeStateTests()
|
||||
: UnitTest ("Audio Processor Value Tree State", UnitTestCategories::audioProcessorParameters)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -163,7 +163,9 @@ bool BlocksVersion::operator>= (const BlocksVersion& other) const
|
|||
class BlocksVersionUnitTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
BlocksVersionUnitTests() : UnitTest ("BlocksVersionUnitTests", "Blocks") {}
|
||||
BlocksVersionUnitTests()
|
||||
: UnitTest ("BlocksVersionUnitTests", UnitTestCategories::blocks)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -173,7 +173,9 @@ AbstractFifo::ScopedWrite AbstractFifo::write (int numToWrite) noexcept { ret
|
|||
class AbstractFifoTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
AbstractFifoTests() : UnitTest ("Abstract Fifo", "Containers") {}
|
||||
AbstractFifoTests()
|
||||
: UnitTest ("Abstract Fifo", UnitTestCategories::containers)
|
||||
{}
|
||||
|
||||
struct WriteThread : public Thread
|
||||
{
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ class ArrayBaseTests : public UnitTest
|
|||
|
||||
public:
|
||||
ArrayBaseTests()
|
||||
: UnitTest ("ArrayBase", "Containers")
|
||||
: UnitTest ("ArrayBase", UnitTestCategories::containers)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
|
|
|
|||
|
|
@ -25,7 +25,9 @@ namespace juce
|
|||
|
||||
struct HashMapTest : public UnitTest
|
||||
{
|
||||
HashMapTest() : UnitTest ("HashMap", "Containers") {}
|
||||
HashMapTest()
|
||||
: UnitTest ("HashMap", UnitTestCategories::containers)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -68,7 +68,9 @@ static struct OwnedArrayTest : public UnitTest
|
|||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DestructorObj)
|
||||
};
|
||||
|
||||
OwnedArrayTest() : UnitTest ("OwnedArray", "Containers") {}
|
||||
OwnedArrayTest()
|
||||
: UnitTest ("OwnedArray", UnitTestCategories::containers)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -28,7 +28,9 @@ namespace juce
|
|||
class ReferenceCountedArrayTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
ReferenceCountedArrayTests() : UnitTest ("ReferenceCountedArray", "Containers") {}
|
||||
ReferenceCountedArrayTests()
|
||||
: UnitTest ("ReferenceCountedArray", UnitTestCategories::containers)
|
||||
{}
|
||||
|
||||
//==============================================================================
|
||||
void runTest() override
|
||||
|
|
|
|||
|
|
@ -28,7 +28,9 @@ namespace juce
|
|||
class SparseSetTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
SparseSetTests() : UnitTest ("SparseSet class", "Containers") {}
|
||||
SparseSetTests()
|
||||
: UnitTest ("SparseSet class", UnitTestCategories::containers)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1011,7 +1011,9 @@ MemoryMappedFile::MemoryMappedFile (const File& file, const Range<int64>& fileRa
|
|||
class FileTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
FileTests() : UnitTest ("Files", "Files") {}
|
||||
FileTests()
|
||||
: UnitTest ("Files", UnitTestCategories::files)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ bool FileInputStream::setPosition (int64 pos)
|
|||
struct FileInputStreamTests : public UnitTest
|
||||
{
|
||||
FileInputStreamTests()
|
||||
: UnitTest ("FileInputStream", "Streams")
|
||||
: UnitTest ("FileInputStream", UnitTestCategories::streams)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
|
|
|
|||
|
|
@ -546,7 +546,9 @@ Result JSON::parseQuotedString (String::CharPointerType& t, var& result)
|
|||
class JSONTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
JSONTests() : UnitTest ("JSON", "JSON") {}
|
||||
JSONTests()
|
||||
: UnitTest ("JSON", UnitTestCategories::json)
|
||||
{}
|
||||
|
||||
static String createRandomWideCharString (Random& r)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -353,6 +353,10 @@ namespace juce
|
|||
#include "native/juce_android_JNIHelpers.h"
|
||||
#endif
|
||||
|
||||
#if JUCE_UNIT_TESTS
|
||||
#include "unit_tests/juce_UnitTestCategories.h"
|
||||
#endif
|
||||
|
||||
#ifndef DOXYGEN
|
||||
namespace juce
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1286,7 +1286,9 @@ uint32 readLittleEndianBitsInBuffer (const void* buffer, uint32 startBit, uint32
|
|||
class BigIntegerTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
BigIntegerTests() : UnitTest ("BigInteger", "Maths") {}
|
||||
BigIntegerTests()
|
||||
: UnitTest ("BigInteger", UnitTestCategories::maths)
|
||||
{}
|
||||
|
||||
static BigInteger getBigRandom (Random& r)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -169,7 +169,9 @@ void Random::fillBitsRandomly (BigInteger& arrayToChange, int startBit, int numB
|
|||
class RandomTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
RandomTests() : UnitTest ("Random", "Maths") {}
|
||||
RandomTests()
|
||||
: UnitTest ("Random", UnitTestCategories::maths)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -98,7 +98,9 @@ namespace FunctionTestsHelpers
|
|||
class FunctionTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
FunctionTests() : UnitTest ("Function", "Function") {}
|
||||
FunctionTests()
|
||||
: UnitTest ("Function", UnitTestCategories::function)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -380,9 +380,8 @@ Array<IPAddress> IPAddress::getAllAddresses (bool includeIPv6)
|
|||
struct IPAddressTests : public UnitTest
|
||||
{
|
||||
IPAddressTests()
|
||||
: UnitTest ("IPAddress", "Networking")
|
||||
{
|
||||
}
|
||||
: UnitTest ("IPAddress", UnitTestCategories::networking)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ class NamedPipeTests : public UnitTest
|
|||
public:
|
||||
//==============================================================================
|
||||
NamedPipeTests()
|
||||
: UnitTest ("NamedPipe", "Networking")
|
||||
: UnitTest ("NamedPipe", UnitTestCategories::networking)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
|
|
|
|||
|
|
@ -788,7 +788,7 @@ bool DatagramSocket::setEnablePortReuse (bool enabled)
|
|||
struct SocketTests : public UnitTest
|
||||
{
|
||||
SocketTests()
|
||||
: UnitTest ("Sockets", "Networking")
|
||||
: UnitTest ("Sockets", UnitTestCategories::networking)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ String BufferedInputStream::readString()
|
|||
struct BufferedInputStreamTests : public UnitTest
|
||||
{
|
||||
BufferedInputStreamTests()
|
||||
: UnitTest ("BufferedInputStream", "Streams")
|
||||
: UnitTest ("BufferedInputStream", UnitTestCategories::streams)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ class MemoryStreamTests : public UnitTest
|
|||
{
|
||||
public:
|
||||
MemoryStreamTests()
|
||||
: UnitTest ("MemoryInputStream & MemoryOutputStream", "Streams")
|
||||
: UnitTest ("MemoryInputStream & MemoryOutputStream", UnitTestCategories::streams)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ bool SubregionStream::isExhausted()
|
|||
struct SubregionInputStreamTests : public UnitTest
|
||||
{
|
||||
SubregionInputStreamTests()
|
||||
: UnitTest ("SubregionInputStream", "Streams")
|
||||
: UnitTest ("SubregionInputStream", UnitTestCategories::streams)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
|
|
|
|||
|
|
@ -127,7 +127,9 @@ String Base64::toBase64 (const String& text)
|
|||
class Base64Tests : public UnitTest
|
||||
{
|
||||
public:
|
||||
Base64Tests() : UnitTest ("Base64 class", "Text") {}
|
||||
Base64Tests()
|
||||
: UnitTest ("Base64 class", UnitTestCategories::text)
|
||||
{}
|
||||
|
||||
static MemoryBlock createRandomData (Random& r)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -199,7 +199,9 @@ juce_wchar CharacterFunctions::getUnicodeCharFromWindows1252Codepage (const uint
|
|||
class CharacterFunctionsTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
CharacterFunctionsTests() : UnitTest ("CharacterFunctions", "Text") {}
|
||||
CharacterFunctionsTests()
|
||||
: UnitTest ("CharacterFunctions", UnitTestCategories::text)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2311,7 +2311,9 @@ static String serialiseDouble (double input)
|
|||
class StringTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
StringTests() : UnitTest ("String class", "Text") {}
|
||||
StringTests()
|
||||
: UnitTest ("String class", UnitTestCategories::text)
|
||||
{}
|
||||
|
||||
template <class CharPointerType>
|
||||
struct TestUTFConversion
|
||||
|
|
|
|||
|
|
@ -224,7 +224,9 @@ String TextDiff::Change::appliedTo (const String& text) const noexcept
|
|||
class DiffTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
DiffTests() : UnitTest ("TextDiff class", "Text") {}
|
||||
DiffTests()
|
||||
: UnitTest ("TextDiff class", UnitTestCategories::text)
|
||||
{}
|
||||
|
||||
static String createString (Random& r)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -88,7 +88,9 @@ String ChildProcess::readAllProcessOutput()
|
|||
class ChildProcessTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
ChildProcessTests() : UnitTest ("ChildProcess", "Threads") {}
|
||||
ChildProcessTests()
|
||||
: UnitTest ("ChildProcess", UnitTestCategories::threads)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -358,7 +358,9 @@ bool JUCE_CALLTYPE Process::isRunningUnderDebugger() noexcept
|
|||
class AtomicTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
AtomicTests() : UnitTest ("Atomics", "Threads") {}
|
||||
AtomicTests()
|
||||
: UnitTest ("Atomics", UnitTestCategories::threads)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
@ -482,7 +484,7 @@ class ThreadLocalValueUnitTest : public UnitTest,
|
|||
{
|
||||
public:
|
||||
ThreadLocalValueUnitTest()
|
||||
: UnitTest ("ThreadLocalValue", "Threads"),
|
||||
: UnitTest ("ThreadLocalValue", UnitTestCategories::threads),
|
||||
Thread ("ThreadLocalValue Thread")
|
||||
{}
|
||||
|
||||
|
|
|
|||
|
|
@ -612,7 +612,9 @@ Time Time::getCompilationDate()
|
|||
class TimeTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
TimeTests() : UnitTest ("Time", "Time") {}
|
||||
TimeTests()
|
||||
: UnitTest ("Time", UnitTestCategories::time)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
53
modules/juce_core/unit_tests/juce_UnitTestCategories.h
Normal file
53
modules/juce_core/unit_tests/juce_UnitTestCategories.h
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
/*
|
||||
==============================================================================
|
||||
|
||||
This file is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
|
||||
JUCE is an open source library subject to commercial or open-source
|
||||
licensing.
|
||||
|
||||
The code included in this file is provided under the terms of the ISC license
|
||||
http://www.isc.org/downloads/software-support-policy/isc-license. Permission
|
||||
To use, copy, modify, and/or distribute this software for any purpose with or
|
||||
without fee is hereby granted provided that the above copyright notice and
|
||||
this permission notice appear in all copies.
|
||||
|
||||
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
|
||||
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
|
||||
DISCLAIMED.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
|
||||
namespace juce
|
||||
{
|
||||
|
||||
namespace UnitTestCategories
|
||||
{
|
||||
static const String analytics { "Analytics" };
|
||||
static const String audio { "Audio" };
|
||||
static const String audioProcessorParameters { "AudioProcessorParameters" };
|
||||
static const String blocks { "Blocks" };
|
||||
static const String compression { "Compression" };
|
||||
static const String containers { "Containers" };
|
||||
static const String cryptography { "Cryptography" };
|
||||
static const String dsp { "DSP" };
|
||||
static const String files { "Files" };
|
||||
static const String function { "Function" };
|
||||
static const String gui { "GUI" };
|
||||
static const String json { "JSON" };
|
||||
static const String maths { "Maths" };
|
||||
static const String midi { "MIDI" };
|
||||
static const String networking { "Networking" };
|
||||
static const String osc { "OSC" };
|
||||
static const String smoothedValues { "SmoothedValues" };
|
||||
static const String streams { "Streams" };
|
||||
static const String text { "Text" };
|
||||
static const String threads { "Threads" };
|
||||
static const String time { "Time" };
|
||||
static const String values { "Values" };
|
||||
static const String xml { "XML" };
|
||||
}
|
||||
|
||||
} // namespace juce
|
||||
|
|
@ -932,7 +932,9 @@ void XmlElement::deleteAllTextElements() noexcept
|
|||
class XmlElementTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
XmlElementTests() : UnitTest ("XmlElement", "XML") {}
|
||||
XmlElementTests()
|
||||
: UnitTest ("XmlElement", UnitTestCategories::xml)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -161,7 +161,9 @@ bool GZIPCompressorOutputStream::setPosition (int64 /*newPosition*/)
|
|||
|
||||
struct GZIPTests : public UnitTest
|
||||
{
|
||||
GZIPTests() : UnitTest ("GZIP", "Compression") {}
|
||||
GZIPTests()
|
||||
: UnitTest ("GZIP", UnitTestCategories::compression)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -306,7 +306,7 @@ bool GZIPDecompressorInputStream::setPosition (int64 newPos)
|
|||
struct GZIPDecompressorInputStreamTests : public UnitTest
|
||||
{
|
||||
GZIPDecompressorInputStreamTests()
|
||||
: UnitTest ("GZIPDecompressorInputStreamTests", "Streams")
|
||||
: UnitTest ("GZIPDecompressorInputStreamTests", UnitTestCategories::streams)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
|
|
|
|||
|
|
@ -645,7 +645,9 @@ bool ZipFile::Builder::writeToStream (OutputStream& target, double* const progre
|
|||
|
||||
struct ZIPTests : public UnitTest
|
||||
{
|
||||
ZIPTests() : UnitTest ("ZIP", "Compression") {}
|
||||
ZIPTests()
|
||||
: UnitTest ("ZIP", UnitTestCategories::compression)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -374,7 +374,9 @@ int BlowFish::unpad (const void* data, size_t size) noexcept
|
|||
class BlowFishTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
BlowFishTests() : UnitTest ("BlowFish", "Cryptography") {}
|
||||
BlowFishTests()
|
||||
: UnitTest ("BlowFish", UnitTestCategories::cryptography)
|
||||
{}
|
||||
|
||||
static void fillMemoryBlockWithRandomData (MemoryBlock& block, Random& random)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -311,7 +311,9 @@ bool MD5::operator!= (const MD5& other) const noexcept { return ! operator== (
|
|||
class MD5Tests : public UnitTest
|
||||
{
|
||||
public:
|
||||
MD5Tests() : UnitTest ("MD5", "Cryptography") {}
|
||||
MD5Tests()
|
||||
: UnitTest ("MD5", UnitTestCategories::cryptography)
|
||||
{}
|
||||
|
||||
void test (const char* input, const char* expected)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -243,7 +243,9 @@ bool SHA256::operator!= (const SHA256& other) const noexcept { return ! operato
|
|||
class SHA256Tests : public UnitTest
|
||||
{
|
||||
public:
|
||||
SHA256Tests() : UnitTest ("SHA-256", "Cryptography") {}
|
||||
SHA256Tests()
|
||||
: UnitTest ("SHA-256", UnitTestCategories::cryptography)
|
||||
{}
|
||||
|
||||
void test (const char* input, const char* expected)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -630,7 +630,9 @@ bool Whirlpool::operator!= (const Whirlpool& other) const noexcept { return ! o
|
|||
class WhirlpoolTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
WhirlpoolTests() : UnitTest ("Whirlpool", "Cryptography") {}
|
||||
WhirlpoolTests()
|
||||
: UnitTest ("Whirlpool", UnitTestCategories::cryptography)
|
||||
{}
|
||||
|
||||
void test (const char* input, const char* expected)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -32,7 +32,9 @@ namespace juce
|
|||
class CachedValueTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
CachedValueTests() : UnitTest ("CachedValues", "Values") {}
|
||||
CachedValueTests()
|
||||
: UnitTest ("CachedValues", UnitTestCategories::values)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1103,7 +1103,9 @@ void ValueTree::Listener::valueTreeRedirected (ValueTree&)
|
|||
class ValueTreeTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
ValueTreeTests() : UnitTest ("ValueTrees", "Values") {}
|
||||
ValueTreeTests()
|
||||
: UnitTest ("ValueTrees", UnitTestCategories::values)
|
||||
{}
|
||||
|
||||
static String createRandomIdentifier (Random& r)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -32,7 +32,9 @@ namespace juce
|
|||
class ValueWithDefaultTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
ValueWithDefaultTests() : UnitTest ("ValueWithDefault", "Values") {}
|
||||
ValueWithDefaultTests()
|
||||
: UnitTest ("ValueWithDefault", UnitTestCategories::values)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -136,7 +136,9 @@ namespace SIMDRegister_test_internal
|
|||
class SIMDRegisterUnitTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
SIMDRegisterUnitTests() : UnitTest ("SIMDRegister UnitTests", "DSP") {}
|
||||
SIMDRegisterUnitTests()
|
||||
: UnitTest ("SIMDRegister UnitTests", UnitTestCategories::dsp)
|
||||
{}
|
||||
|
||||
//==============================================================================
|
||||
// Some helper classes
|
||||
|
|
|
|||
|
|
@ -31,7 +31,9 @@ namespace dsp
|
|||
|
||||
struct FFTUnitTest : public UnitTest
|
||||
{
|
||||
FFTUnitTest() : UnitTest ("FFT", "DSP") {}
|
||||
FFTUnitTest()
|
||||
: UnitTest ("FFT", UnitTestCategories::dsp)
|
||||
{}
|
||||
|
||||
static void fillRandom (Random& random, Complex<float>* buffer, size_t n)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class LogRampedValueTests : public UnitTest
|
|||
{
|
||||
public:
|
||||
LogRampedValueTests()
|
||||
: UnitTest ("LogRampedValueTests", "DSP")
|
||||
: UnitTest ("LogRampedValueTests", UnitTestCategories::dsp)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
|
|
|
|||
|
|
@ -31,7 +31,9 @@ namespace dsp
|
|||
|
||||
struct LinearAlgebraUnitTest : public UnitTest
|
||||
{
|
||||
LinearAlgebraUnitTest() : UnitTest ("Linear Algebra UnitTests", "DSP") {}
|
||||
LinearAlgebraUnitTest()
|
||||
: UnitTest ("Linear Algebra UnitTests", UnitTestCategories::dsp)
|
||||
{}
|
||||
|
||||
struct AdditionTest
|
||||
{
|
||||
|
|
|
|||
|
|
@ -205,7 +205,9 @@ class FIRFilterTest : public UnitTest
|
|||
|
||||
|
||||
public:
|
||||
FIRFilterTest() : UnitTest ("FIR Filter", "DSP") {}
|
||||
FIRFilterTest()
|
||||
: UnitTest ("FIR Filter", UnitTestCategories::dsp)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1031,7 +1031,9 @@ void Grid::performLayout (juce::Rectangle<int> targetArea)
|
|||
|
||||
struct GridTests : public UnitTest
|
||||
{
|
||||
GridTests() : UnitTest ("Grid", "GUI") {}
|
||||
GridTests()
|
||||
: UnitTest ("Grid", UnitTestCategories::gui)
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
{
|
||||
|
|
|
|||
|
|
@ -402,7 +402,9 @@ String OSCAddressPattern::toString() const noexcept
|
|||
class OSCAddressTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
OSCAddressTests() : UnitTest ("OSCAddress class", "OSC") {}
|
||||
OSCAddressTests()
|
||||
: UnitTest ("OSCAddress class", UnitTestCategories::osc)
|
||||
{}
|
||||
|
||||
void runTest()
|
||||
{
|
||||
|
|
@ -446,7 +448,9 @@ static OSCAddressTests OSCAddressUnitTests;
|
|||
class OSCAddressPatternTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
OSCAddressPatternTests() : UnitTest ("OSCAddressPattern class", "OSC") {}
|
||||
OSCAddressPatternTests()
|
||||
: UnitTest ("OSCAddressPattern class", UnitTestCategories::osc)
|
||||
{}
|
||||
|
||||
void runTest()
|
||||
{
|
||||
|
|
@ -585,7 +589,9 @@ static OSCAddressPatternTests OSCAddressPatternUnitTests;
|
|||
class OSCPatternMatcherTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
OSCPatternMatcherTests() : UnitTest ("OSCAddress class / pattern matching", "OSC") {}
|
||||
OSCPatternMatcherTests()
|
||||
: UnitTest ("OSCAddress class / pattern matching", UnitTestCategories::osc)
|
||||
{}
|
||||
|
||||
void runTest()
|
||||
{
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue