Ignore:
Timestamp:
Jan 4, 2011, 5:15:14 PM (15 years ago)
Author:
Frederik Heber <heber@…>
Children:
1afcbe
Parents:
746ff1
git-author:
Frederik Heber <heber@…> (01/04/11 15:57:33)
git-committer:
Frederik Heber <heber@…> (01/04/11 17:15:14)
Message:

Factory know has an additional type table and stubs have been refactored.

  • CommonStub.?pp contains basic classes with a int counter inside.
  • Library version is now 2:1:0, API is 1.0.3.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/Patterns/unittests/stubs/CommonStub.cpp

    r746ff1 r724564  
    77
    88/*
    9  * CreatorStub.cpp
     9 * CommonStub.cpp
    1010 *
    1111 *  Created on: Jan 4, 2011
     
    1313 */
    1414
     15// include config.h
     16#ifdef HAVE_CONFIG_H
     17#include <config.h>
     18#endif
     19
     20#include "CommonStub.hpp"
     21
    1522namespace teststubs {
    16   class Aclass {};
    17   class Bclass {};
     23  Aclass::Aclass() :
     24    counter(0)
     25  {};
     26
     27  Aclass::~Aclass() {};
     28
     29  Bclass::Bclass() :
     30    counter(256)
     31  {};
     32
     33  Bclass::~Bclass() {};
    1834};
Note: See TracChangeset for help on using the changeset viewer.