mirror of
https://github.com/eclipse/paho.mqtt.cpp.git
synced 2025-07-07 02:31:46 +08:00
26 lines
941 B
C++
26 lines
941 B
C++
// unit_tests.cpp
|
|
//
|
|
// Main for the Catch2 unit tests for the Paho MQTT C++ library.
|
|
//
|
|
|
|
/*******************************************************************************
|
|
* Copyright (c) 2019 Frank Pagliughi <fpagliughi@mindspring.com>
|
|
*
|
|
* All rights reserved. This program and the accompanying materials
|
|
* are made available under the terms of the Eclipse Public License v1.0
|
|
* and Eclipse Distribution License v1.0 which accompany this distribution.
|
|
*
|
|
* The Eclipse Public License is available at
|
|
* http://www.eclipse.org/legal/epl-v10.html
|
|
* and the Eclipse Distribution License is available at
|
|
* http://www.eclipse.org/org/documents/edl-v10.php.
|
|
*
|
|
* Contributors:
|
|
* Frank Pagliughi - initial implementation
|
|
*******************************************************************************/
|
|
|
|
// This tells Catch to provide a main() - only do this in one cpp file
|
|
#define CATCH_CONFIG_MAIN
|
|
#include "catch2/catch.hpp"
|
|
|