Changeset 112:58892a32a039 in xplra
- Timestamp:
- 12/23/22 09:10:52 (2 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- test
- Files:
-
- 4 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
test/Makefile.am
r101 r112 13 13 endif 14 14 15 basictest_SOURCES=basictest.cc 15 basictest_SOURCES=basictest.cc common.cc 16 16 17 basicctest_SOURCES=basicctest.c 17 basicctest_SOURCES=basicctest.c ccommon.c 18 18 if TARGET_API_WIN32 19 19 basicctest_LDFLAGS=-lstdc++ 20 20 endif 21 21 22 multigettest_SOURCES=multigettest.cc 22 multigettest_SOURCES=multigettest.cc common.cc 23 23 24 multigetctest_SOURCES=multigetctest.c 24 multigetctest_SOURCES=multigetctest.c ccommon.c 25 25 if TARGET_API_WIN32 26 26 multigetctest_LDFLAGS=-lstdc++ 27 27 endif 28 28 29 multisettest_SOURCES=multisettest.cc 29 multisettest_SOURCES=multisettest.cc common.cc 30 30 31 multisetctest_SOURCES=multisetctest.c 31 multisetctest_SOURCES=multisetctest.c ccommon.c 32 32 if TARGET_API_WIN32 33 33 multisetctest_LDFLAGS=-lstdc++ 34 34 endif 35 35 36 hotkeytest_SOURCES=hotkeytest.cc 36 hotkeytest_SOURCES=hotkeytest.cc common.cc 37 37 38 hotkeyctest_SOURCES=hotkeyctest.c 38 hotkeyctest_SOURCES=hotkeyctest.c ccommon.c 39 39 if TARGET_API_WIN32 40 40 hotkeyctest_LDFLAGS=-lstdc++ … … 44 44 45 45 EXTRA_DIST=\ 46 common.h \ 47 common.cc \ 48 ccommon.h \ 49 ccommon.cc \ 46 50 runpy.sh \ 47 51 basictest.py \ -
test/basicctest.c
r89 r112 30 30 31 31 #include <hu/varadiistvan/xplra/xplra.h> 32 33 #include "ccommon.h" 32 34 33 35 #include <stdio.h> … … 57 59 //------------------------------------------------------------------------------ 58 60 59 int main( )61 int main(int argc, char* argv[]) 60 62 { 61 63 static const char* tailNum1 = "VAI"; … … 86 88 87 89 printf("Connection to X-Plane...\n"); 88 int connectionID = xplra_connect();90 int connectionID = connect_xplane(argc, argv); 89 91 90 92 if (connectionID>=0) { -
test/basictest.cc
r89 r112 29 29 //------------------------------------------------------------------------------ 30 30 31 #include "common.h" 32 31 33 #include <hu/varadiistvan/xplra/XPlane.h> 32 34 … … 48 50 //------------------------------------------------------------------------------ 49 51 50 int main( )52 int main(int argc, char* argv[]) 51 53 { 52 54 try { … … 54 56 55 57 printf("Connecting to X-Plane...\n"); 56 xplane.connect();58 connectXPlane(xplane, argc, argv); 57 59 printf("Connected to X-Plane.\n\n"); 58 60 -
test/hotkeyctest.c
r55 r112 31 31 #include <hu/varadiistvan/xplra/xplra.h> 32 32 33 #include "ccommon.h" 34 33 35 #include <stdio.h> 34 36 #include <string.h> … … 57 59 //------------------------------------------------------------------------------ 58 60 59 int main( )61 int main(int argc, char* argv[]) 60 62 { 61 63 int retval = 0; … … 65 67 66 68 printf("Connecting to X-Plane...\n"); 67 int connectionID = xplra_connect();69 int connectionID = connect_xplane(argc, argv); 68 70 69 71 if (connectionID>=0) { -
test/hotkeytest.cc
r54 r112 33 33 #include <hu/varadiistvan/scpl/Thread.h> 34 34 35 #include "common.h" 36 35 37 #include <cstdio> 36 38 #include <cstring> … … 48 50 //------------------------------------------------------------------------------ 49 51 50 int main( )52 int main(int argc, char* argv[]) 51 53 { 52 54 try { … … 54 56 55 57 printf("Connecting to X-Plane...\n"); 56 xplane.connect();58 connectXPlane(xplane, argc, argv); 57 59 printf("Connected to X-Plane.\n\n"); 58 60 -
test/multigetctest.c
r41 r112 30 30 31 31 #include <hu/varadiistvan/xplra/xplra.h> 32 33 #include "ccommon.h" 32 34 33 35 #include <stdlib.h> … … 141 143 142 144 printf("Connecting to X-Plane...\n"); 143 connectionID = xplra_connect();145 connectionID = connect_xplane(argc, argv); 144 146 if (connectionID>=0) { 145 147 printf("Connected to X-Plane.\n\n"); -
test/multigettest.cc
r41 r112 34 34 #include <hu/varadiistvan/scpl/Thread.h> 35 35 36 #include "common.h" 37 36 38 #include <cstdio> 37 39 #include <cstring> … … 61 63 62 64 printf("Connecting to X-Plane...\n"); 63 xplane.connect();65 connectXPlane(xplane, argc, argv); 64 66 printf("Connected to X-Plane.\n\n"); 65 67 -
test/multisetctest.c
r30 r112 30 30 31 31 #include <hu/varadiistvan/xplra/xplra.h> 32 33 #include "ccommon.h" 32 34 33 35 #include <stdlib.h> … … 66 68 67 69 printf("Connecting to X-Plane...\n"); 68 connectionID = xplra_connect();70 connectionID = connect_xplane(argc, argv); 69 71 if (connectionID>=0) { 70 72 printf("Connected to X-Plane.\n\n"); -
test/multisettest.cc
r26 r112 34 34 #include <hu/varadiistvan/scpl/Thread.h> 35 35 36 #include "common.h" 37 36 38 #include <cstdio> 37 39 #include <cstring> … … 60 62 61 63 printf("Connecting to X-Plane...\n"); 62 xplane.connect();64 connectXPlane(xplane, argc, argv); 63 65 printf("Connected to X-Plane.\n\n"); 64 66
Note:
See TracChangeset
for help on using the changeset viewer.