Renaming of files in preparation for code style tools.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 00d4f92b71)
r14.0.x
Michele Calgaro 4 years ago
parent 595ad58e25
commit 247750abcb
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -104,7 +104,7 @@ set_property( TARGET artsc-shared APPEND PROPERTY COMPILE_DEFINITIONS ARTSC_BACK
##### artscbackend (shared lib) ################# ##### artscbackend (shared lib) #################
tde_add_library( artscbackend SHARED tde_add_library( artscbackend SHARED
SOURCES artscbackend.cc SOURCES artscbackend.cpp
VERSION 0.0.0 VERSION 0.0.0
LINK soundserver_idl-shared artsflow-shared LINK soundserver_idl-shared artsflow-shared
DESTINATION ${LIB_INSTALL_DIR} DESTINATION ${LIB_INSTALL_DIR}

@ -151,7 +151,7 @@
## Misc ## Misc
- put streamwise blocking into MCOP, see artscat.cc to read really ugly - put streamwise blocking into MCOP, see artscat.cpp to read really ugly
source which lives without that feature source which lives without that feature
- implement plugins that transfer non-standard datatypes such as midi events, - implement plugins that transfer non-standard datatypes such as midi events,
video frames, fft packets, oscilloscope views, ... (which was impossible video frames, fft packets, oscilloscope views, ... (which was impossible
@ -185,7 +185,7 @@ Flowsystem transactions:
Example: problematic assertion Example: problematic assertion
assert(done[i] <= samples); /* synthschedule.cc:998 */ assert(done[i] <= samples); /* synthschedule.cpp:998 */
the problem with the assertion here is this - suppose some object reacts the problem with the assertion here is this - suppose some object reacts
in a way on some signal that will lead to the creation of new objects, in a way on some signal that will lead to the creation of new objects,

@ -32,7 +32,7 @@
using namespace Arts; using namespace Arts;
using namespace std; using namespace std;
/* copypasted from simplesoundserver_impl.cc */ /* copypasted from simplesoundserver_impl.cpp */
PlayObject createPlayObject(const string& filename) PlayObject createPlayObject(const string& filename)
{ {
string objectType = ""; string objectType = "";

@ -48,19 +48,19 @@ install( FILES
set( target artsflow ) set( target artsflow )
set( ${target}_SRCS set( ${target}_SRCS
synth_play_impl.cc gslschedule.cc audiosubsys.cc synth_play_impl.cpp gslschedule.cpp audiosubsys.cpp
pipebuffer.cc convert.cc synth_wave_sin_impl.cc pipebuffer.cpp convert.cpp synth_wave_sin_impl.cpp
synth_frequency_impl.cc synth_multi_add_impl.cc synth_frequency_impl.cpp synth_multi_add_impl.cpp
synth_add_impl.cc synth_mul_impl.cc synth_play_wav_impl.cc synth_add_impl.cpp synth_mul_impl.cpp synth_play_wav_impl.cpp
stdsynthmodule.cc cache.cc asyncschedule.cc bytestreamtoaudio_impl.cc stdsynthmodule.cpp cache.cpp asyncschedule.cpp bytestreamtoaudio_impl.cpp
stereovolumecontrol_impl.cc stereoeffectstack_impl.cc stereovolumecontrol_impl.cpp stereoeffectstack_impl.cpp
fft.c stereofftscope_impl.cc virtualports.cc bus.cc fft.c stereofftscope_impl.cpp virtualports.cpp bus.cpp
audiomanager_impl.cc synth_record_impl.cc resample.cc audiomanager_impl.cpp synth_record_impl.cpp resample.cpp
audioio.cc audioiooss.cc audioioalsa.cc audioioalsa9.cc audioio.cpp audioiooss.cpp audioioalsa.cpp audioioalsa9.cpp
audioionull.cc audioiolibaudioio.cc audioioesd.cc audioiosndio.cc audioionull.cpp audioiolibaudioio.cpp audioioesd.cpp audioiosndio.cpp
audioiojack.cc audioiosun.cc audioioaix.cc audioionas.cc audioiojack.cpp audioiosun.cpp audioioaix.cpp audioionas.cpp
cpuinfo.cc audioioossthreaded.cc audiotobytestream_impl.cc cpuinfo.cpp audioioossthreaded.cpp audiotobytestream_impl.cpp
audioiosgi.cc audioiocsl.cc audioiomas.cc datahandle_impl.cc audioiosgi.cpp audioiocsl.cpp audioiomas.cpp datahandle_impl.cpp
) )
tde_add_library( ${target} SHARED tde_add_library( ${target} SHARED
@ -73,13 +73,13 @@ tde_add_library( ${target} SHARED
##### artsflow_idl (shared lib) ################# ##### artsflow_idl (shared lib) #################
add_custom_command( add_custom_command(
OUTPUT artsflow.cc OUTPUT artsflow.cpp
COMMAND ../mcopidl/mcopidl COMMAND ../mcopidl/mcopidl
ARGS -t ${CMAKE_CURRENT_SOURCE_DIR}/artsflow.idl DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/artsflow.idl ARGS -t ${CMAKE_CURRENT_SOURCE_DIR}/artsflow.idl DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/artsflow.idl
) )
tde_add_library( artsflow_idl SHARED tde_add_library( artsflow_idl SHARED
SOURCES artsflow.cc SOURCES artsflow.cpp
VERSION 1.0.0 VERSION 1.0.0
LINK mcop-shared ${ALSA_LIBRARIES} LINK mcop-shared ${ALSA_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR} DESTINATION ${LIB_INSTALL_DIR}

@ -3,7 +3,7 @@
Copyright (C) 2001 Takashi Iwai <tiwai@suse.de> Copyright (C) 2001 Takashi Iwai <tiwai@suse.de>
Copyright (C) 2004 Allan Sandfeld Jensen <kde@carewolf.com> Copyright (C) 2004 Allan Sandfeld Jensen <kde@carewolf.com>
based on audioalsa.cc: based on audioalsa.cpp:
Copyright (C) 2000,2001 Jozef Kosoru Copyright (C) 2000,2001 Jozef Kosoru
jozef.kosoru@pobox.sk jozef.kosoru@pobox.sk
(C) 2000,2001 Stefan Westerfeld (C) 2000,2001 Stefan Westerfeld

@ -144,7 +144,7 @@ set( ${target}_SRCS
gslconvert.c gslfft.c gslsignal.c gslloader.c gslconvert.c gslfft.c gslsignal.c gslloader.c
gslwaveosc.c gslengine.c gsloputil.c gslopmaster.c gslwaveosc.c gslengine.c gsloputil.c gslopmaster.c
gslopschedule.c gsldatahandle-mad.c gslosctable.c gslopschedule.c gsldatahandle-mad.c gslosctable.c
gsloscillator.c gslfilehash.c gslartsthreads.cc gsloscillator.c gslfilehash.c gslartsthreads.cpp
) )
tde_add_library( ${target} STATIC_PIC tde_add_library( ${target} STATIC_PIC

@ -26,7 +26,7 @@ install( FILES
##### gmcop (shared lib) ######################## ##### gmcop (shared lib) ########################
tde_add_library( gmcop SHARED tde_add_library( gmcop SHARED
SOURCES giomanager.cc SOURCES giomanager.cpp
VERSION 1.0.0 VERSION 1.0.0
LINK mcop-shared ${GLIB2_LIBRARIES} LINK mcop-shared ${GLIB2_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR} DESTINATION ${LIB_INSTALL_DIR}

@ -52,16 +52,16 @@ install( FILES
set( target mcop ) set( target mcop )
set( ${target}_SRCS set( ${target}_SRCS
buffer.cc connection.cc core.cc debug.cc dispatcher.cc buffer.cpp connection.cpp core.cpp debug.cpp dispatcher.cpp
iomanager.cc object.cc socketconnection.cc tcpconnection.cc iomanager.cpp object.cpp socketconnection.cpp tcpconnection.cpp
unixconnection.cc tcpserver.cc unixserver.cc objectmanager.cc unixconnection.cpp tcpserver.cpp unixserver.cpp objectmanager.cpp
factory.cc idlfilereg.cc ifacerepo_impl.cc mcoputils.cc factory.cpp idlfilereg.cpp ifacerepo_impl.cpp mcoputils.cpp
startupmanager.cc md5.c md5auth.cc referenceclean.cc startupmanager.cpp md5.c md5auth.cpp referenceclean.cpp
datapacket.cc asyncstream.cc notification.cc datapacket.cpp asyncstream.cpp notification.cpp
flowsystem.cc extensionloader.cc tmpglobalcomm.cc flowsystem.cpp extensionloader.cpp tmpglobalcomm.cpp
mcopconfig.cc connect.cc reference.cc type.cc mcopconfig.cpp connect.cpp reference.cpp type.cpp
trader_impl.cc dynamicrequest.cc anyref.cc trader_impl.cpp dynamicrequest.cpp anyref.cpp
loopback.cc delayedreturn.cc thread.cc dynamicskeleton.cc loopback.cpp delayedreturn.cpp thread.cpp dynamicskeleton.cpp
) )
tde_add_library( ${target} SHARED tde_add_library( ${target} SHARED

@ -86,7 +86,7 @@ void Buffer::writeLongSeq(const vector<long>& seq) {
void Buffer::writeFloat(float f) { void Buffer::writeFloat(float f) {
// FIXME: on some machines this may fail badly (there is explicit // FIXME: on some machines this may fail badly (there is explicit
// float marshalling and demarshalling code in mico/orb/util.cc) // float marshalling and demarshalling code in mico/orb/util.cpp)
union { float f; long l; } u = {f}; union { float f; long l; } u = {f};
writeLong(u.l); writeLong(u.l);
} }

@ -1086,5 +1086,5 @@ void Dispatcher::wakeUp()
} }
/* /*
void Dispatcher::reloadTraderData() is declared in trader_impl.cc void Dispatcher::reloadTraderData() is declared in trader_impl.cpp
*/ */

@ -38,7 +38,7 @@
// However, we can not include config.h in a header file. // However, we can not include config.h in a header file.
// The right solution would be not to use "fd_set" in the // The right solution would be not to use "fd_set" in the
// header file but to use it only in a private datastructure // header file but to use it only in a private datastructure
// defined in the .cc file. // defined in the .cpp file.
using namespace std; using namespace std;
using namespace Arts; using namespace Arts;

@ -32,7 +32,7 @@
* BC - Status (2002-03-08): NamedStore * BC - Status (2002-03-08): NamedStore
* *
* None of these classes is considered part of the public API. Do NOT use it * None of these classes is considered part of the public API. Do NOT use it
* in your apps. These are part of the implementation of object.cc and not * in your apps. These are part of the implementation of object.cpp and not
* to be used elsewhere. * to be used elsewhere.
*/ */

@ -22,7 +22,7 @@ include_directories(
##### mcop_mt (shared lib ) ##################### ##### mcop_mt (shared lib ) #####################
tde_add_library( mcop_mt SHARED tde_add_library( mcop_mt SHARED
SOURCES threads_posix.cc SOURCES threads_posix.cpp
VERSION 1.0.0 VERSION 1.0.0
LINK artsflow-shared pthread LINK artsflow-shared pthread
DESTINATION ${LIB_INSTALL_DIR} DESTINATION ${LIB_INSTALL_DIR}

@ -20,7 +20,7 @@ include_directories(
set( target mcopidl ) set( target mcopidl )
set( ${target}_SRCS set( ${target}_SRCS
mcopidl.cc yacc.cc scanner.cc namespace.cc mcopidl.cpp yacc.cpp scanner.cpp namespace.cpp
) )
tde_add_executable( ${target} tde_add_executable( ${target}

@ -749,7 +749,7 @@ void endHeader(FILE *header, string prefix)
FILE *startSource(string prefix) FILE *startSource(string prefix)
{ {
string header_name = prefix+".h"; string header_name = prefix+".h";
string source_name = prefix+".cc.new"; string source_name = prefix+".cpp.new";
FILE *source = fopen(source_name.c_str(),"w"); FILE *source = fopen(source_name.c_str(),"w");
fprintf(source,"%s", generated_disclaimer); fprintf(source,"%s", generated_disclaimer);
@ -2636,7 +2636,7 @@ int main(int argc, char **argv)
doInterfacesSource(source); doInterfacesSource(source);
doInterfaceRepoSource(source,prefix); doInterfaceRepoSource(source,prefix);
endSource(source); endSource(source);
moveIfChanged(string(prefix)+".cc"); moveIfChanged(string(prefix)+".cpp");
// create type file // create type file
if(makeTypeInfo) if(makeTypeInfo)

@ -1,4 +1,4 @@
#line 2 "scanner.cc" #line 2 "scanner.cpp"
/* A lexical scanner generated by flex */ /* A lexical scanner generated by flex */
/* Scanner skeleton version: /* Scanner skeleton version:
@ -678,7 +678,7 @@ using namespace std;
using namespace Arts; using namespace Arts;
#ifndef KDE_USE_FINAL #ifndef KDE_USE_FINAL
#include "yacc.cc.h" #include "yacc.cpp.h"
#endif #endif
extern int idl_line_no; extern int idl_line_no;
@ -705,7 +705,7 @@ extern void endInclude();
/*--------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------*/
#line 710 "scanner.cc" #line 710 "scanner.cpp"
/* Macros after this point can all be overridden by user definitions in /* Macros after this point can all be overridden by user definitions in
* section 1. * section 1.
@ -859,7 +859,7 @@ YY_DECL
#line 100 "scanner.ll" #line 100 "scanner.ll"
#line 864 "scanner.cc" #line 864 "scanner.cpp"
if ( yy_init ) if ( yy_init )
{ {
@ -1200,7 +1200,7 @@ YY_RULE_SETUP
#line 177 "scanner.ll" #line 177 "scanner.ll"
ECHO; ECHO;
YY_BREAK YY_BREAK
#line 1205 "scanner.cc" #line 1205 "scanner.cpp"
case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(INITIAL):
yyterminate(); yyterminate();

@ -40,7 +40,7 @@ using namespace std;
using namespace Arts; using namespace Arts;
#ifndef KDE_USE_FINAL #ifndef KDE_USE_FINAL
#include "yacc.cc.h" #include "yacc.cpp.h"
#endif #endif
extern int idl_line_no; extern int idl_line_no;

@ -1,6 +1,6 @@
#ifndef YACC_CC_H #ifndef YACC_CPP_H
#define YACC_CC_H #define YACC_CPP_H
typedef union typedef union
{ {
@ -71,5 +71,5 @@ typedef union
extern YYSTYPE yylval; extern YYSTYPE yylval;
#endif // YACC_CC_H #endif // YACC_CPP_H

@ -34,7 +34,7 @@ install( FILES
##### qtmcop ############################## ##### qtmcop ##############################
set( qtmcop_SRCS qiomanager.cc ) set( qtmcop_SRCS qiomanager.cpp )
tde_add_library( qtmcop SHARED AUTOMOC tde_add_library( qtmcop SHARED AUTOMOC
SOURCES ${qtmcop_SRCS} SOURCES ${qtmcop_SRCS}

@ -59,13 +59,13 @@ install( FILES
##### kmedia2_idl (shared lib) ################## ##### kmedia2_idl (shared lib) ##################
add_custom_command( add_custom_command(
OUTPUT kmedia2.cc OUTPUT kmedia2.cpp
COMMAND ../mcopidl/mcopidl ARGS -t ${MCOPINC} ${CMAKE_CURRENT_SOURCE_DIR}/kmedia2.idl COMMAND ../mcopidl/mcopidl ARGS -t ${MCOPINC} ${CMAKE_CURRENT_SOURCE_DIR}/kmedia2.idl
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/kmedia2.idl DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/kmedia2.idl
) )
tde_add_library( kmedia2_idl SHARED tde_add_library( kmedia2_idl SHARED
SOURCES kmedia2.cc SOURCES kmedia2.cpp
VERSION 1.0.0 VERSION 1.0.0
LINK artsflow_idl-shared LINK artsflow_idl-shared
DESTINATION ${LIB_INSTALL_DIR} DESTINATION ${LIB_INSTALL_DIR}
@ -76,13 +76,13 @@ tde_add_library( kmedia2_idl SHARED
##### soundserver_idl (shared lib) ############## ##### soundserver_idl (shared lib) ##############
add_custom_command( add_custom_command(
OUTPUT soundserver.cc soundserver.h OUTPUT soundserver.cpp soundserver.h
COMMAND ../mcopidl/mcopidl ARGS -t ${MCOPINC} ${CMAKE_CURRENT_SOURCE_DIR}/soundserver.idl COMMAND ../mcopidl/mcopidl ARGS -t ${MCOPINC} ${CMAKE_CURRENT_SOURCE_DIR}/soundserver.idl
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/soundserver.idl DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/soundserver.idl
) )
tde_add_library( soundserver_idl SHARED tde_add_library( soundserver_idl SHARED
SOURCES soundserver.cc SOURCES soundserver.cpp
VERSION 1.0.0 VERSION 1.0.0
LINK kmedia2_idl-shared LINK kmedia2_idl-shared
DESTINATION ${LIB_INSTALL_DIR} DESTINATION ${LIB_INSTALL_DIR}
@ -93,7 +93,7 @@ tde_add_library( soundserver_idl SHARED
##### artsgslplayobject (shared lib) ############ ##### artsgslplayobject (shared lib) ############
tde_add_library( artsgslplayobject SHARED tde_add_library( artsgslplayobject SHARED
SOURCES gslplayobject_impl.cc SOURCES gslplayobject_impl.cpp
VERSION 0.0.0 VERSION 0.0.0
LINK soundserver_idl-shared artsflow-shared LINK soundserver_idl-shared artsflow-shared
DESTINATION ${LIB_INSTALL_DIR} DESTINATION ${LIB_INSTALL_DIR}
@ -103,7 +103,7 @@ tde_add_library( artsgslplayobject SHARED
##### artswavplayobject (shared lib) ############ ##### artswavplayobject (shared lib) ############
tde_add_library( artswavplayobject SHARED tde_add_library( artswavplayobject SHARED
SOURCES wavplayobject_impl.cc SOURCES wavplayobject_impl.cpp
VERSION 0.0.0 VERSION 0.0.0
LINK soundserver_idl-shared artsflow-shared LINK soundserver_idl-shared artsflow-shared
DESTINATION ${LIB_INSTALL_DIR} DESTINATION ${LIB_INSTALL_DIR}
@ -113,7 +113,7 @@ tde_add_library( artswavplayobject SHARED
##### kmedia2 (shared lib) ###################### ##### kmedia2 (shared lib) ######################
tde_add_library( kmedia2 SHARED tde_add_library( kmedia2 SHARED
SOURCES fileinputstream_impl.cc stdoutwriter_impl.cc SOURCES fileinputstream_impl.cpp stdoutwriter_impl.cpp
VERSION 1.0.0 VERSION 1.0.0
LINK kmedia2_idl-shared artsflow-shared LINK kmedia2_idl-shared artsflow-shared
DESTINATION ${LIB_INSTALL_DIR} DESTINATION ${LIB_INSTALL_DIR}
@ -125,9 +125,9 @@ tde_add_library( kmedia2 SHARED
set( target artsd ) set( target artsd )
set( ${target}_SRCS set( ${target}_SRCS
soundserverv2_impl.cc soundserver_impl.cc simplesoundserver_impl.cc soundserverv2_impl.cpp soundserver_impl.cpp simplesoundserver_impl.cpp
artsd.cc cpuusage.cc samplestorage_impl.cc crashhandler.cc artsd.cpp cpuusage.cpp samplestorage_impl.cpp crashhandler.cpp
soundserverstartup_impl.cc soundserverstartup_impl.cpp
) )
tde_add_executable( ${target} tde_add_executable( ${target}
@ -140,7 +140,7 @@ tde_add_executable( ${target}
##### artsplay ################################## ##### artsplay ##################################
tde_add_executable( artsplay tde_add_executable( artsplay
SOURCES artsplay.cc SOURCES artsplay.cpp
LINK soundserver_idl-shared LINK soundserver_idl-shared
DESTINATION ${BIN_INSTALL_DIR} DESTINATION ${BIN_INSTALL_DIR}
) )
@ -149,7 +149,7 @@ tde_add_executable( artsplay
##### artscat ################################### ##### artscat ###################################
tde_add_executable( artscat tde_add_executable( artscat
SOURCES artscat.cc SOURCES artscat.cpp
LINK soundserver_idl-shared artsflow-shared LINK soundserver_idl-shared artsflow-shared
DESTINATION ${BIN_INSTALL_DIR} DESTINATION ${BIN_INSTALL_DIR}
) )
@ -171,7 +171,7 @@ set_property( TARGET artswrapper APPEND PROPERTY COMPILE_DEFINITIONS EXECUTE="${
##### artsshell ################################# ##### artsshell #################################
tde_add_executable( artsshell tde_add_executable( artsshell
SOURCES artsshell.cc tradercheck.cc SOURCES artsshell.cpp tradercheck.cpp
LINK soundserver_idl-shared LINK soundserver_idl-shared
DESTINATION ${BIN_INSTALL_DIR} DESTINATION ${BIN_INSTALL_DIR}
) )
@ -180,7 +180,7 @@ tde_add_executable( artsshell
##### artsrec ################################### ##### artsrec ###################################
tde_add_executable( artsrec tde_add_executable( artsrec
SOURCES artsrec.cc SOURCES artsrec.cpp
LINK soundserver_idl-shared artsflow-shared LINK soundserver_idl-shared artsflow-shared
DESTINATION ${BIN_INSTALL_DIR} DESTINATION ${BIN_INSTALL_DIR}
) )

@ -365,7 +365,7 @@ int main(int argc, char **argv)
} }
#ifdef __SUNPRO_CC #ifdef __SUNPRO_CC
/* See bottom of simplesoundserver_impl.cc for the reason this is here. */ /* See bottom of simplesoundserver_impl.cpp for the reason this is here. */
#include "simplesoundserver_impl.h" #include "simplesoundserver_impl.h"
REGISTER_IMPLEMENTATION(SimpleSoundServer_impl); REGISTER_IMPLEMENTATION(SimpleSoundServer_impl);
#include "soundserver_impl.h" #include "soundserver_impl.h"

@ -85,6 +85,6 @@ bool SoundServer_impl::terminate() {
} }
#ifndef __SUNPRO_CC #ifndef __SUNPRO_CC
/* See bottom of simplesoundserver_impl.cc for the reason this is here. */ /* See bottom of simplesoundserver_impl.cpp for the reason this is here. */
REGISTER_IMPLEMENTATION(SoundServer_impl); REGISTER_IMPLEMENTATION(SoundServer_impl);
#endif #endif

@ -93,7 +93,7 @@ void SoundServerStartup_impl::unlock()
namespace Arts { namespace Arts {
#ifndef __SUNPRO_CC #ifndef __SUNPRO_CC
/* See bottom of simplesoundserver_impl.cc for the reason this is here. */ /* See bottom of simplesoundserver_impl.cpp for the reason this is here. */
REGISTER_IMPLEMENTATION(SoundServerStartup_impl); REGISTER_IMPLEMENTATION(SoundServerStartup_impl);
#endif #endif
} }

@ -381,6 +381,6 @@ float SoundServerV2_impl::cpuUsage()
#ifndef __SUNPRO_CC #ifndef __SUNPRO_CC
/* See bottom of simplesoundserver_impl.cc for the reason this is here. */ /* See bottom of simplesoundserver_impl.cpp for the reason this is here. */
REGISTER_IMPLEMENTATION(SoundServerV2_impl); REGISTER_IMPLEMENTATION(SoundServerV2_impl);
#endif #endif

@ -23,7 +23,7 @@ likely at least.
How to add a new set of tests: How to add a new set of tests:
============================== ==============================
1. create a new .cc file, for this example we'll suppose testarithmetic.cc 1. create a new .cpp file, for this example we'll suppose testarithmetic.cpp
2. #include "test.h" 2. #include "test.h"
3. create a struct which will hold all your tests 3. create a struct which will hold all your tests
@ -67,6 +67,6 @@ TESTMAIN(TestArithmetic);
7. add the following to the Makefile.am (you may want to add more source files, 7. add the following to the Makefile.am (you may want to add more source files,
as required) as required)
testarithmetic_SOURCES = testarithmetic.cc testarithmetic_SOURCES = testarithmetic.cpp
8. add it to check_PROGRAMS 8. add it to check_PROGRAMS

Loading…
Cancel
Save