| 
            Last change
 on this file since 8c31aa3 was             fe056c, checked in by Frederik Heber <heber@…>, 15 years ago           | 
        
        
          | 
             
Implemented unit test for Registry pattern. 
 
- Library version is now 4:0:2, API version is still 1.0.7.
 - So far only empty test was present.
  
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            760 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | /*
 | 
|---|
| 2 |  * Project: MoleCuilder
 | 
|---|
| 3 |  * Description: creates and alters molecular systems
 | 
|---|
| 4 |  * Copyright (C)  2010 University of Bonn. All rights reserved.
 | 
|---|
| 5 |  * Please see the LICENSE file or "Copyright notice" in builder.cpp for details.
 | 
|---|
| 6 |  */
 | 
|---|
| 7 | 
 | 
|---|
| 8 | /*
 | 
|---|
| 9 |  * CommonNamedStub.cpp
 | 
|---|
| 10 |  *
 | 
|---|
| 11 |  *  Created on: Jan 16, 2011
 | 
|---|
| 12 |  *      Author: heber
 | 
|---|
| 13 |  */
 | 
|---|
| 14 | 
 | 
|---|
| 15 | // include config.h
 | 
|---|
| 16 | #ifdef HAVE_CONFIG_H
 | 
|---|
| 17 | #include <config.h>
 | 
|---|
| 18 | #endif
 | 
|---|
| 19 | 
 | 
|---|
| 20 | #include "CommonNamedStub.hpp"
 | 
|---|
| 21 | 
 | 
|---|
| 22 | namespace teststubs {
 | 
|---|
| 23 |   INamedclass::~INamedclass() {};
 | 
|---|
| 24 |   INamedclass::INamedclass(const std::string &_name) :
 | 
|---|
| 25 |     name(_name)
 | 
|---|
| 26 |   {};
 | 
|---|
| 27 | 
 | 
|---|
| 28 |   ANamedclass::ANamedclass() :
 | 
|---|
| 29 |     INamedclass("ANamedclass")
 | 
|---|
| 30 |   {};
 | 
|---|
| 31 | 
 | 
|---|
| 32 |   ANamedclass::~ANamedclass() {};
 | 
|---|
| 33 | 
 | 
|---|
| 34 |   BNamedclass::BNamedclass() :
 | 
|---|
| 35 |     INamedclass("BNamedclass")
 | 
|---|
| 36 |   {};
 | 
|---|
| 37 | 
 | 
|---|
| 38 |   BNamedclass::~BNamedclass() {};
 | 
|---|
| 39 | };
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.