Cleaning up the Makefile for compiler related commands; cleaning up C++ stubs and...
[iot2.git] / benchmarks / Cpp / Lifxtest / LightBulbTest_Stub.cpp
index f760f89345f6eeaa6463ab939f2503f8c400f227..d811274cb1639dd70d01878fc5258c8d5f2e941d 100644 (file)
@@ -215,43 +215,6 @@ extern "C" void destroyLightBulbTest_Stub(void* t) {
 extern "C" void initLightBulbTest_Stub(void* t) {
 }
 
-/*int main() {
-       return 0;
-}*/
-
-int main()
-{
-
-       int send_port = 5010;
-       int recv_port = 5011;
-       //const char* skeletonAddress = "127.0.0.1";
-       const char* skeletonAddress = "localhost";
-       int rev = 0;
-       bool result = false;
-
-       LightBulbTest_Stub *lbs = new LightBulbTest_Stub(send_port, recv_port, skeletonAddress, rev, &result);
-       cout << "Successfully instantiated stub!" << endl;
-       lbs->init();
-       lbs->turnOn();
-       this_thread::sleep_for (chrono::milliseconds(1000));
-       lbs->turnOff();
-       for (int i = 0; i < 2; i++) {
-               lbs->turnOff();
-               cout << "Turning off!" << endl;
-               this_thread::sleep_for (chrono::milliseconds(1000));
-               lbs->turnOn();
-               cout << "Turning on!" << endl;
-               this_thread::sleep_for (chrono::milliseconds(1000));
-               double hue = lbs->getHue();
-               double saturation = lbs->getSaturation();
-               cout << "Hue: " << hue << endl;
-               cout << "Saturation: " << saturation << endl;
-               this_thread::sleep_for (chrono::milliseconds(1000));
-       }
-       //lbs->turnOff();
-       cout << "Done controlling! Exit now!" << endl;
-       
-       delete lbs;
-
+int main() {
        return 0;
 }