refs #710 Simple algorithms to replace several regular expressions.

This commit is contained in:
Mathew Sutcliffe
2016-08-30 04:02:00 +01:00
parent d2aa2e9c1c
commit 87eeac4e15
13 changed files with 218 additions and 57 deletions

View File

@@ -0,0 +1,45 @@
/* Copyright (C) 2014
* swift project community / contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
#ifndef BLACKMISCTEST_TESTSTRINGUTILS_H
#define BLACKMISCTEST_TESTSTRINGUTILS_H
//! \cond PRIVATE_TESTS
/*!
* \file
* \ingroup testblackmisc
*/
#include <QObject>
namespace BlackMiscTest
{
//! Testing string utilities
class CTestStringUtils : public QObject
{
Q_OBJECT
public:
//! Constructor
explicit CTestStringUtils(QObject *parent = nullptr) : QObject(parent) {}
private slots:
void testRemove();
void testContains();
void testIndexOf();
void testSplit();
};
}
//! \endcond
#endif