a test for byte

This commit is contained in:
Andreas Volz 2011-11-18 18:07:06 +01:00
parent 9be39fb628
commit 84978b67b5
5 changed files with 71 additions and 26 deletions

View file

@ -2,8 +2,12 @@
#define TEST_APP_INTRO_H
#include "TestAppIntroPrivate.h"
#include "../../../tools/generator_utils.h"
#include <iostream>
#include <cstdio>
using namespace std;
class TestAppIntro :
public DBusCpp::Test::Com::Intro_proxy,
@ -19,7 +23,14 @@ public:
void test1Result ()
{
std::cout << "Test1Result" << std::endl;
cout << "Test1Result" << endl;
mTestResult = true;
pthread_cond_signal (&mCondition);
}
void testByteResult (const uint8_t& Byte)
{
printf ("TestByteResult: %d\n", Byte);
mTestResult = true;
pthread_cond_signal (&mCondition);
}