a test for byte
This commit is contained in:
parent
9be39fb628
commit
84978b67b5
5 changed files with 71 additions and 26 deletions
|
@ -2,11 +2,13 @@
|
|||
#define TEST_APP_INTRO_PROVIDER_H
|
||||
|
||||
#include "TestAppIntroProviderPrivate.h"
|
||||
|
||||
#include "TestAppIntro.h"
|
||||
#include "../../../tools/generator_utils.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
class TestAppIntroProvider :
|
||||
public DBusCpp::Test::Com::Intro_adaptor,
|
||||
public DBus::IntrospectableAdaptor,
|
||||
|
@ -20,10 +22,16 @@ public:
|
|||
|
||||
void test1 ()
|
||||
{
|
||||
std::cout << "Test1" << std::endl;
|
||||
cout << "Test1" << endl;
|
||||
mTestAppIntro->test1Result ();
|
||||
}
|
||||
|
||||
void testByte (const uint8_t& Byte)
|
||||
{
|
||||
printf ("TestByte: %d\n", Byte);
|
||||
mTestAppIntro->testByteResult (Byte);
|
||||
}
|
||||
|
||||
private:
|
||||
TestAppIntro *mTestAppIntro;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue