// !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 46; objects = { /* Begin PBXFileReference section */ 40D228BE0DC7382300DC4278 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; 40D228BF0DC7382300DC4278 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = ""; }; 40D228C00DC7382300DC4278 /* usbconfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = usbconfig.h; sourceTree = ""; }; 40D228CB0DC739DC00DC4278 /* null.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = null.c; sourceTree = ""; }; 40D235590DCCA1B300DC4278 /* Readme.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Readme.txt; sourceTree = ""; }; 40D235790DCCA4EB00DC4278 /* compare-sizes.awk */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "compare-sizes.awk"; sourceTree = ""; }; 40D235A40DCCDBB000DC4278 /* usbconfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = usbconfig.h; sourceTree = ""; }; 40D2CC6C0DA9221D00DC4278 /* mkdist.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = mkdist.sh; sourceTree = ""; }; 40D2CC6D0DA9221D00DC4278 /* Readme.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Readme.txt; sourceTree = ""; }; 40D2CC6E0DA9222E00DC4278 /* usbdrv */ = {isa = PBXFileReference; lastKnownFileType = folder; path = usbdrv; sourceTree = ""; }; 40D2CE390DAAA67600DC4278 /* Readme.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Readme.txt; sourceTree = ""; }; 40D2CE3D0DAAA67600DC4278 /* Readme.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Readme.txt; sourceTree = ""; }; 40D2CE400DAAA67700DC4278 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; 40D2CE410DAAA67700DC4278 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = ""; }; 40D2CE420DAAA67700DC4278 /* usbconfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = usbconfig.h; sourceTree = ""; }; 40D2CE430DAAA67700DC4278 /* Readme.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Readme.txt; sourceTree = ""; }; 40D2D0440DACEA4800DC4278 /* Readme.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Readme.txt; sourceTree = ""; }; 40D2D0450DACEAC500DC4278 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; 40D2D0470DACEAC500DC4278 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = ""; }; 40D2D08D0DAE502100DC4278 /* requests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = requests.h; sourceTree = ""; }; 40D2D0AC0DAE54AC00DC4278 /* usbconfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = usbconfig.h; sourceTree = ""; }; 40D2D0B10DAE56D600DC4278 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = ""; }; 40D2D0B20DAE56D600DC4278 /* Makefile.windows */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.windows; sourceTree = ""; }; 40D2D0B30DAE56D600DC4278 /* set-led.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "set-led.c"; sourceTree = ""; }; 40D2D1300DAE9F1E00DC4278 /* osccal.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = osccal.c; sourceTree = ""; }; 40D2D1310DAE9F1E00DC4278 /* osccal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = osccal.h; sourceTree = ""; }; 40D2D1330DAE9F1E00DC4278 /* opendevice.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = opendevice.c; sourceTree = ""; }; 40D2D1340DAE9F1E00DC4278 /* opendevice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = opendevice.h; sourceTree = ""; }; 40D2D1540DAF6DEF00DC4278 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = ""; }; 40D2D1550DAF6DEF00DC4278 /* Makefile.windows */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.windows; sourceTree = ""; }; 40D2D1560DAF6DEF00DC4278 /* usbtool.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = usbtool.c; sourceTree = ""; }; 40D2D
// Copyright 2008, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//     * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//     * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
//     * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


#include <iostream>
#include "gmock/gmock.h"
#include "gtest/gtest.h"

#ifdef ARDUINO
void setup() {
  // Since Google Mock depends on Google Test, InitGoogleMock() is
  // also responsible for initializing Google Test.  Therefore there's
  // no need for calling testing::InitGoogleTest() separately.
  testing::InitGoogleMock();
}
void loop() { RUN_ALL_TESTS(); }
#else

// MS C++ compiler/linker has a bug on Windows (not on Windows CE), which
// causes a link error when _tmain is defined in a static library and UNICODE
// is enabled. For this reason instead of _tmain, main function is used on
// Windows. See the following link to track the current status of this bug:
// https://web.archive.org/web/20170912203238/connect.microsoft.com/VisualStudio/feedback/details/394464/wmain-link-error-in-the-static-library
// // NOLINT
#if GTEST_OS_WINDOWS_MOBILE
# include <tchar.h>  // NOLINT

GTEST_API_ int _tmain(int argc, TCHAR** argv) {
#else
GTEST_API_ int main(int argc, char** argv) {
#endif  // GTEST_OS_WINDOWS_MOBILE
  std::cout << "Running main() from gmock_main.cc\n";
  // Since Google Mock depends on Google Test, InitGoogleMock() is
  // also responsible for initializing Google Test.  Therefore there's
  // no need for calling testing::InitGoogleTest() separately.
  testing::InitGoogleMock(&argc, argv);
  return RUN_ALL_TESTS();
}
#endif
C4278 /* commandline */ = { isa = PBXGroup; children = ( 40D2E28D0DB782FE00DC4278 /* set-led.c */, 40D2D18D0DB0B3ED00DC4278 /* Makefile.windows */, ); path = commandline; sourceTree = ""; }; 40D2D0430DACEA4800DC4278 /* firmware */ = { isa = PBXGroup; children = ( 40D235A40DCCDBB000DC4278 /* usbconfig.h */, 40D2D1850DAF717600DC4278 /* requests.h */, 40D2D15A0DAF6E2A00DC4278 /* main.c */, 40D2D15C0DAF6E2A00DC4278 /* Makefile */, ); path = firmware; sourceTree = ""; }; 40D2D12F0DAE9F1E00DC4278 /* libs-device */ = { isa = PBXGroup; children = ( 40D64A260EAA318F00FF5D92 /* osctune.h */, 40D2E2210DB637BA00DC4278 /* Readme.txt */, 40D2D1300DAE9F1E00DC4278 /* osccal.c */, 40D2D1310DAE9F1E00DC4278 /* osccal.h */, ); path = "libs-device"; sourceTree = ""; }; 40D2D1320DAE9F1E00DC4278 /* libs-host */ = { isa = PBXGroup; children = ( 40D2E2200DB637AB00DC4278 /* Readme.txt */, 40D2D1D40DB0F2D400DC4278 /* hidsdi.h */, 40D2D1A40DB0CABB00DC4278 /* hiddata.c */, 40D2D1A50DB0CABB00DC4278 /* hiddata.h */, 40D2D1330DAE9F1E00DC4278 /* opendevice.c */, 40D2D1340DAE9F1E00DC4278 /* opendevice.h */, ); path = "libs-host"; sourceTree = ""; }; 40D2D1530DAF6DEF00DC4278 /* usbtool */ = { isa = PBXGroup; children = ( 40D2E33A0DB7C2A700DC4278 /* opendevice.c */, 40D2E33B0DB7C2A700DC4278 /* opendevice.h */, 40D2E32D0DB7C0E900DC4278 /* make-files.sh */, 40D2E1A20DB4EA3A00DC4278 /* Readme.txt */, 40D2D1540DAF6DEF00DC4278 /* Makefile */, 40D2D1550DAF6DEF00DC4278 /* Makefile.windows */, 40D2D1560DAF6DEF00DC4278 /* usbtool.c */, ); path = usbtool; sourceTree = ""; }; 40D2E2320DB63ADA00DC4278 /* circuits */ = { isa = PBXGroup; children = ( 40D2E2330DB63B0C00DC4278 /* Readme.txt */, ); path = circuits; sourceTree = ""; }; 40D64A280EAA41FB00FF5D92 /* drivertest */ = { isa = PBXGroup; children = ( 40D64A290EAA41FB00FF5D92 /* commandline */, 40D64A2A0EAA41FB00FF5D92 /* firmware */, 40D64A2D0EAA41FB00FF5D92 /* make-files.sh */, ); path = drivertest; sourceTree = ""; }; 40D64A290EAA41FB00FF5D92 /* commandline */ = { isa = PBXGroup; children = ( 40D64A570EAA431800FF5D92 /* Makefile */, 40D64A580EAA431800FF5D92 /* Makefile.windows */, 40D64A590EAA431800FF5D92 /* opendevice.c */, 40D64A5A0EAA431800FF5D92 /* opendevice.h */, 40D64A5B0EAA431800FF5D92 /* runtest.c */, ); path = commandline; sourceTree = ""; }; 40D64A2A0EAA41FB00FF5D92 /* firmware */ = { isa = PBXGroup; children = ( 40D64B590EAA740400FF5D92 /* usbdrv */, 40D64A830EAA502A00FF5D92 /* osccal.c */, 40D64A840EAA502A00FF5D92 /* osccal.h */, 40D64A5C0EAA432300FF5D92 /* Makefile */, 40D64A5D0EAA432300FF5D92 /* usbconfig.h */, 40D64A2B0EAA41FB00FF5D92 /* main.c */, 40D64A2C0EAA41FB00FF5D92 /* requests.h */, ); path = firmware; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXProject section */ 40D2CC590DA921F000DC4278 /* Project object */ = { isa = PBXProject; attributes = { LastUpgradeCheck = 0420; }; buildConfigurationList = 40D2CC5A0DA921F000DC4278 /* Build configuration list for PBXProject "v-usb" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( English, Japanese, French, German, ); mainGroup = 40D2CC570DA921F000DC4278; projectDirPath = ""; projectRoot = ""; targets = ( ); }; /* End PBXProject section */ /* Begin XCBuildConfiguration section */ 40D2CC5B0DA921F000DC4278 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { COPY_PHASE_STRIP = NO; }; name = Debug; }; 40D2CC5C0DA921F000DC4278 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { COPY_PHASE_STRIP = YES; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ 40D2CC5A0DA921F000DC4278 /* Build configuration list for PBXProject "v-usb" */ = { isa = XCConfigurationList; buildConfigurations = ( 40D2CC5B0DA921F000DC4278 /* Debug */, 40D2CC5C0DA921F000DC4278 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; rootObject = 40D2CC590DA921F000DC4278 /* Project object */; }