Skip to content
Snippets Groups Projects
meson.build 2.19 KiB
tests += [
	{
		'source': files('IncrementalCompletionTest.cpp'),
		'name': 'IncrementalCompletionTest',
		'description': 'Test incremental completion for hugre reads/writes',
		'test_suite': 'io',
		'test_runner': 'io',
	},

	{
		'source': files('ReuseFutureTest.cpp'),
		'name': 'ReuseFutureTest',
		'description': 'Test reusing Future objects',
		'test_suite': 'io',
		'test_runner': 'io',
	},

	{
		'source': files('LinkFutureTest.cpp'),
		'name': 'LinkFutureTest',
		'description': 'Test linking Future objects',
		'test_suite': 'io',
		'test_runner': 'io',
	},

	{
		'source': files('TooLongFutureChain.cpp'),
		'name': 'TooLongFutureChain',
		'description': 'Test linking Future objects',
		'test_suite': 'io',
		'should_fail': true,
		'test_runner': 'io',
	},

	{
		'source': files('AlarmFutureTest.cpp'),
		'name': 'AlarmFutureTest',
		'description': 'Test AlarmFuture object based timeouts',
		'test_suite': 'io',
		'test_runner': 'io',
	},

	{
		'source': files('FutureCallbackTest.cpp'),
		'name': 'FutureCallbackTest',
		'description': 'Test Future callback',
		'test_suite': 'io',
		'test_runner': 'io',
	},

	{
		'source': files('TimeoutTest.cpp'),
		'name': 'TimeoutTest',
		'description': 'Test io.hpp functions using timeouts',
		'test_suite': 'io',
		'test_runner': 'io',
	},

	{
		'source': files('TimeoutWrapperTest.cpp'),
		'name': 'TimeoutWrapperTest',
		'description': 'Test TimeoutWrapper object based IO request timeouts',
		'test_suite': 'io',
		'test_runner': 'io',
	},

	{
		'source': files('CancelFutureTest.cpp'),
		'name': 'CancelFutureTest',
		'description': 'Test Future cancellation',
		'test_suite': 'io',
		'test_runner': 'io',
	},

	{
		'source': files('SimpleNetworkTest.cpp'),
		'name': 'SimpleNetworkTest',
		'description': 'Simple network test',
		'test_suite': 'io',
		'test_runner': 'io',
	},

	{
		'source': files('SimpleDiskAndNetworkTest.cpp'),
		'name': 'SimpleDiskAndNetworkTest',
		'description': 'Simple network and disk IO test',
		'test_suite': 'io',
		'test_runner': 'io',
	},

	{
		'source': files('ConcurrentNetworkEchoTest.cpp'),
		'name': 'ConcurrentNetworkEchoTest',
		'description': 'Concurrent network echo test with 10 clients',
		'test_suite': 'io',
		'args': ['10', '10000'],
	},
]