mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	And restructure the existing "isBtAddress()" function in the process. Also add more tests. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			265 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			265 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0
 | |
| #ifndef TESTPARSE_H
 | |
| #define TESTPARSE_H
 | |
| 
 | |
| #include <QtTest>
 | |
| #include <sqlite3.h>
 | |
| 
 | |
| class TestHelper : public QObject {
 | |
| 	Q_OBJECT
 | |
| private slots:
 | |
| 	void initTestCase();
 | |
| 	void recognizeBtAddress();
 | |
| 	void parseNameAddress();
 | |
| };
 | |
| 
 | |
| #endif
 |