Skip to content

Instantly share code, notes, and snippets.

View leviwilson's full-sized avatar

Levi Wilson leviwilson

  • Northwoods
  • Colorado, USA
View GitHub Profile
#ifndef MemLeakCheckingTest_h
#define MemLeakCheckingTest_h
#include <gtest/gtest.h>
#if defined(WIN32) && defined(_DEBUG)
// Used to redirect _CrtXXX functions output to stderr, instead of the MSVC
// trace window.
int __cdecl crtReportHook(int reportType, char *szMsg, int *retVal)
@leviwilson
leviwilson / test.rb
Last active December 17, 2015 21:09 — forked from gjinfo737/test.rb
require 'gametel'
Gametel.apk_path = "../app/bin/CoPilot-debug.apk"
Gametel.start "_AppActivity"
@driver = Gametel.default_driver
@platform = @driver.platform
def tag_for(item, list, which_image=0)
@platform.get_view_by_index('android.widget.ListView', list) do |d|
*.csproj -text merge=union
*.sln -text merge=union