Commit 9ce04550 authored by Greg Williams's avatar Greg Williams
Browse files

Updated inclusion of kinetic-c.h to pull in as a system include, and standardized in all files

parent 172b25ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,6 +25,6 @@
#include "../../src/lib/KineticApi.h"
#include "../../src/lib/KineticProto.h"
#include "../../src/lib/KineticConnection.h"
#include "../../src/vendor/protobuf-c/protobuf-c.h"
#include <protobuf-c/protobuf-c.h>

#endif /* KINETIC_C_CLIENT_KINETIC_H_ */
+11 −10
Original line number Diff line number Diff line
@@ -6,21 +6,20 @@
# This sample, therefore, only demonstrates running a collection of unit tests.

:project:
  :use_exceptions: FALSE
  :use_test_preprocessor: TRUE
  :use_deep_dependencies: TRUE
  :use_exceptions: false
  :use_test_preprocessor: true
  :use_deep_dependencies: true
  :build_root: build
  :release_build: TRUE
  :release_build: true
  :test_file_prefix: test_

:release_build:
  :output: kinetic-c-client
  :use_assembly: FALSE
  # Uncomment the following to enable use of assembly files
  # :use_assembly: true

:environment:

:extension:
  :executable: .out
# Enable this section to configure environment vars, if needed
# :environment:

:paths:
  :test:
@@ -28,6 +27,7 @@
    - -:test/support
    - include/**
    - src/**
    - vendor/protobuf-c/*
  :support:
    - test/support/**
  :source:
@@ -37,6 +37,7 @@
  # Refactor release build once the Kinetic-C library is built, and link to it sepearately
  :release_toolchain_include:
    - include/**
    - vendor/protobuf-c/*

:defines:
  # in order to add common defines:
@@ -53,7 +54,7 @@
:cmock:
  :mock_prefix: mock_
  :when_no_prototypes: :warn
  :enforce_strict_ordering: TRUE
  :enforce_strict_ordering: true
  :plugins:
    - :ignore
  :treat_as:
+1 −1
Original line number Diff line number Diff line
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "protobuf-c.h"
#include <protobuf-c/protobuf-c.h>
#include "KineticTypes.h"
#include "KineticProto.h"
#include "unity.h"
+1 −1
Original line number Diff line number Diff line
#include "unity.h"
#include "KineticExchange.h"
#include "KineticProto.h"
#include "vendor/protobuf-c/protobuf-c.h"
#include <protobuf-c/protobuf-c.h>

static KineticConnection Connection;
static KineticExchange Exchange;
+1 −1
Original line number Diff line number Diff line
#include "unity.h"
#include "KineticTypes.h"
#include "protobuf-c.h"
#include <protobuf-c/protobuf-c.h>
#include "mock_KineticExchange.h"
#include "KineticProto.h"
#include "KineticMessage.h"
Loading