Changeset 2e53e83d in mainline


Ignore:
Timestamp:
2018-07-05T21:41:24Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bb1d15c
Parents:
7bbf91e
git-author:
Dzejrou <dzejrou@…> (2018-05-16 23:13:41)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:24)
Message:

cpp: added basic initialization and assignment tests for list

Location:
uspace/lib/cpp
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/Makefile

    r7bbf91e r2e53e83d  
    6060        src/__bits/test/bitset.cpp \
    6161        src/__bits/test/deque.cpp \
     62        src/__bits/test/list.cpp \
    6263        src/__bits/test/map.cpp \
    6364        src/__bits/test/memory.cpp \
  • uspace/lib/cpp/include/__bits/test/tests.hpp

    r7bbf91e r2e53e83d  
    7676            ~test_set()
    7777            {
    78                 // TODO: Gimme unique_ptr!
    7978                for (auto ptr: tests_)
    8079                    delete ptr;
     
    257256            void test_pointers();
    258257    };
     258
     259    class list_test: public test_suite
     260    {
     261        public:
     262            bool run(bool) override;
     263            const char* name() override;
     264
     265        private:
     266            void test_construction_and_assignment();
     267    };
    259268}
    260269
Note: See TracChangeset for help on using the changeset viewer.