Changeset ad09a52 in mainline


Ignore:
Timestamp:
2018-07-05T21:41:18Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9b0877f
Parents:
e07bbbc
git-author:
Jaroslav Jindrak <dzejrou@…> (2017-10-30 11:40:01)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:18)
Message:

cpp: merged test declarations into a single header

Location:
uspace/lib/cpp/include/internal/test
Files:
1 deleted
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/internal/test/tests.hpp

    re07bbbc rad09a52  
    2727 */
    2828
    29 #ifndef LIBCPP_TEST_VECTOR
    30 #define LIBCPP_TEST_VECTOR
     29#ifndef LIBCPP_TESTS
     30#define LIBCPP_TESTS
    3131
    3232#include <internal/test/test.hpp>
     
    3434namespace std::test
    3535{
     36    class array_test: public test_suite
     37    {
     38        public:
     39            bool run() override;
     40            const char* name() override;
     41
     42            array_test() = default;
     43            ~array_test() = default;
     44    };
     45
    3646    class vector_test: public test_suite
    3747    {
     
    4858            void test_erase();
    4959    };
     60
     61    class string_test: public test_suite
     62    {
     63        public:
     64            bool run() override;
     65            const char* name() override;
     66
     67        private:
     68            void test_construction_and_assignment();
     69    };
    5070}
    5171
Note: See TracChangeset for help on using the changeset viewer.