mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:42:43 +00:00 
			
		
		
		
	 d6571f54d8
			
		
	
	
		d6571f54d8
		
	
	
	
	
		
			
			The internal reuse of FixedMemoryStream makes this straightforward. There alread is one user of the new API, demonstrating the need for this change beyond what I said out to use it for :^)
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			725 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			725 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(TEST_SOURCES
 | |
|     TestLibCoreArgsParser.cpp
 | |
|     TestLibCoreDeferredInvoke.cpp
 | |
|     TestLibCoreFilePermissionsMask.cpp
 | |
|     TestLibCoreFileWatcher.cpp
 | |
|     TestLibCoreMappedFile.cpp
 | |
|     TestLibCorePromise.cpp
 | |
|     TestLibCoreSharedSingleProducerCircularQueue.cpp
 | |
|     TestLibCoreStream.cpp
 | |
| )
 | |
| 
 | |
| foreach(source IN LISTS TEST_SOURCES)
 | |
|     serenity_test("${source}" LibCore)
 | |
| endforeach()
 | |
| 
 | |
| target_link_libraries(TestLibCorePromise PRIVATE LibThreading)
 | |
| # NOTE: Required because of the LocalServer tests
 | |
| target_link_libraries(TestLibCoreStream PRIVATE LibThreading)
 | |
| target_link_libraries(TestLibCoreSharedSingleProducerCircularQueue PRIVATE LibThreading)
 | |
| 
 | |
| install(FILES long_lines.txt 10kb.txt small.txt DESTINATION usr/Tests/LibCore)
 |