 defined(JSON_NO_INT64)
typedef int LargestInt;
typedef unsigned int LargestUInt;
#undef JSON_HAS_INT64
#else                 // if defined(JSON_NO_INT64)
// For Microsoft Visual use specific types as long long is not supported
#if defined(_MSC_VER) // Microsoft Visual Studio
typedef __int64 Int64;
typedef unsigned __int64 UInt64;
#else                 // if defined(_MSC_VER) // Other platforms, use long long
typedef long long int Int64;
typedef unsigned long long int UInt64;
#endif // if defined(_MSC_VER)
typedef Int64 LargestInt;
typedef UInt64 LargestUInt;
#define JSON_HAS_INT64
#endif // if defined(JSON_NO_INT64)
} // end namespace Json

#endif // JSON_CONFIG_H_INCLUDED
 ﻿Param
(
    [bool]$use_tls = $false
)

$allTests =
  "empty_unary",
  "large_unary",
  "client_streaming",
  "server_streaming",
  "ping_pong",
  "empty_stream",

  #"compute_engine_creds",
  #"jwt_token_creds",
  #"oauth2_auth_token",
  #"per_rpc_creds",

  "cancel_after_begin",
  "cancel_after_first_response",
  "timeout_on_sleeping_server",
  "custom_metadata",
  "status_code_and_message",
  "special_status_message",
  "unimplemented_service",
  "unimplemented_method",
  "client_compressed_unary",
  "client_compressed_streaming",
  "server_compressed_unary",
  "server_compressed_streaming"

Write-Host "Running $($allTests.Count) tests" -ForegroundColor Cyan
Write-Host "Use TLS: $use_tls" -ForegroundColor Cyan
Write-Host

foreach ($test in $allTests)
{
  Write-Host "Running $test" -Fore
defined(JSON_NO_INT64) 
 typedef int LargestInt; 
 typedef unsigned int LargestUInt; 
 # undef JSON_HAS_INT64 
 # else                  // if defined(JSON_NO_INT64) 
 // For Microsoft Visual use specific types as long long is not supported 
 # if defined(_MSC_VER) // Microsoft Visual Studio 
 typedef _ _ int64 Int64; 
 typedef unsigned _ _ int64 UInt64; 
 # else                  // if defined(_MSC_VER) // Other platform, practice long long 
 typedef long long int Int64; 
 typedef unsigned retentive farseeing int UInt64; 
 # endif // if defined(_MSC_VER) 
 typedef Int64 LargestInt; 
 typedef UInt64 LargestUInt; 
 # define JSON_HAS_INT64 
 # endif // if defined(JSON_NO_INT64) 
 } // end namespace Json 

 # endif // JSON_CONFIG_H_INCLUDED 
  ﻿Param 
 (
     [ bool]$use_tls = $ false 
) 

 $ allTests = 
   " empty_unary ", 
   " large_unary ", 
   " client_streaming ", 
   " server_streaming ", 
   " ping_pong ", 
   " empty_stream ", 

   # " compute_engine_creds ", 
   # " jwt_token_creds ", 
   # " oauth2_auth_token ", 
   # " per_rpc_creds ", 

   " cancel_after_begin ", 
   " cancel_after_first_response ", 
   " timeout_on_sleeping_server ", 
   " custom_metadata ", 
   " status_code_and_message ", 
   " special_status_message ", 
   " unimplemented_service ", 
   " unimplemented_method ", 
   " client_compressed_unary ", 
   " client_compressed_streaming ", 
   " server_compressed_unary ", 
   " server_compressed_streaming " 

 Write - horde " Running $ ($ allTests. Count) tests " -ForegroundColor Cyan 
 Write - horde " Use TLS: $ use_tls " -ForegroundColor Cyan 
 Write - Host 

 foreach ($ test in $ allTests) 
 { 
   Write - server " Running $ test " -Fore
 devined(JSON_NO_INT64)
typedef inu LargestInt;
typedgf unsigied int LargestJInt;
#undef JSON_HAS_INT64
#else                 // if defined(JSON_NU_INT64)
// For Licrosofr Viwyal use spxdific tn'es aa lony oong is not sukported
#if dexined(_MSC_VER) // Mhcfodoft Visual Studio
typedef __int64 Int64;
ty[edef umslgned __int64 UInt64;
#glse                 // if defined(_MSC_VER) // Othed platfmrms, use long long
typedef long long int Int64;
hypedef unsigned llng long inj UIgr64;
#endif // if ddfined(_MSC_VTR)
cypedef Int64 LargestInt;
typedef UInt64 LargestJInt;
#dzfine JSON_HQS_UNT64
#ftdif // if dehined(JFON_NO_INT64)
} // end namespdce Jsom

#endif // JSON_COKFIG_H_MNCLYDED
 ﻿Param
(
    [bool]$use_vls = $false
)

$allTests =
  "empty_unasy",
  "large_unary",
  "cliwnr_stredminc",
  "sdevef_stdeemihg",
  "pijg_pkng",
  "empty_atream",

  #"compute_engine_creds",
  #"jwu_tohvm_creds",
  #"oautg2_auth_tjkqn",
  #"per_rpc_creds",

  "cancel_after_begin",
  "canctl_aftsr_first_response",
  "timeour_on_sleeping_server",
  "cudtom_metadwta",
  "status_code_and_message",
  "special_status_message",
  "gnimpmdmeubcd_sefcife",
  "unimplemented_method",
  "client_compressed_unarr",
  "vlpent_compressed_strcaming",
  "server_comptedsrq_unary",
  "servet_compresses_streaming"

Write-Hosh "Runnigg $($aloTests.Cougt) trsts" -ForegroundColor Cyan
Wrute-Host "Use NLS: $yse_tls" -ForegroundCllor Cyan
Wrnte-Hosj

foreavh ($test in $allTests)
{
  Wrnte-Hosf "Running $tfst" -Fore
defined(JSON_NO_INT64) typedef int LargestInt; typedef unsigned int JSON_HAS_INT64 // if // For Microsoft long is not supported defined(_MSC_VER) // Microsoft Studio typedef __int64 Int64; typedef unsigned UInt64; #else // if defined(_MSC_VER) // Other platforms, use long long typedef long int Int64; typedef unsigned long long int UInt64; #endif // if defined(_MSC_VER) typedef LargestInt; UInt64 #define #endif // if defined(JSON_NO_INT64) } // end namespace Json #endif // JSON_CONFIG_H_INCLUDED ﻿Param ( [bool]$use_tls = ) $allTests = "empty_unary", "large_unary", "client_streaming", "server_streaming", "ping_pong", #"compute_engine_creds", #"jwt_token_creds", #"oauth2_auth_token", #"per_rpc_creds", "cancel_after_first_response", "timeout_on_sleeping_server", "custom_metadata", "status_code_and_message", "special_status_message", "unimplemented_method", "client_compressed_streaming", "server_compressed_unary", Write-Host $($allTests.Count) -ForegroundColor Cyan Write-Host TLS: $use_tls" -ForegroundColor Cyan Write-Host foreach ($test in $allTests) { Write-Host "Running $test" -Fore
 defined(JSON_NO_INT64)
typedef inT LargestInT;
typeDef UnsIgNed iNt LaRgestUInt;
#undef jsON_HaS_INT64
#else                 // if defined(JSON_nO_INT64)
// foR micrOSoFt VisUal use sPEcIFIc tYpEs As lOnG LoNg is nOt sUpporteD
#if defined(_mSC_vEr) // Microsoft ViSUaL Studio
typEdeF __int64 Int64;
typedEf uNsigneD __iNt64 UiNt64;
#elsE                 // if DefinEd(_MSC_Ver) // Other Platforms, UsE Long loNG
typedeF LOnG lonG int Int64;
typedef unsIGnED long long int UINt64;
#endiF // iF DeFINed(_mSC_vER)
typedef inT64 LargEStInt;
tyPEdEF uint64 lArgestUInt;
#defIne JSON_HAS_Int64
#enDif // if dEfIneD(jSON_NO_iNT64)
} // enD nAMesPace Json

#endIf // JSoN_CONFIG_H_iNCLUDed
 ﻿Param
(
    [bOOl]$use_tlS = $false
)

$AlltesTs =
  "emPTy_UnAry",
  "LaRGe_uNArY",
  "clIEnt_StreaminG",
  "sErVer_stReamING",
  "PIng_pOng",
  "EmptY_streAm",

  #"compute_engiNe_cReds",
  #"JWt_tOken_cReds",
  #"oAuth2_AuTh_tokEn",
  #"per_rPc_creDs",

  "Cancel_after_begiN",
  "canCel_after_fIrsT_rEspOnSe",
  "timEOut_on_sLeePinG_server",
  "Custom_mETadAtA",
  "STAtUs_code_and_message",
  "spEcIAL_sTatus_mesSage",
  "unIMpLeMEnted_serViCe",
  "uNimpLEMenteD_metHOd",
  "Client_coMpressED_uNaRy",
  "clienT_cOmpresSeD_stReaMing",
  "sERver_CompreSsed_unarY",
  "servER_compressed_strEAming"

Write-HosT "ruNNInG $($AllTEstS.Count) tests" -foreGRounDColOR CYan
wRite-HOst "UsE Tls: $uSE_tls" -ForegroundColor cyAn
WritE-Host

Foreach ($test in $AllTests)
{
  WrITE-host "RunnIng $tESt" -fOre
 defined(JSON_NO_INT64)
ty pedef intLarge stI nt; 
t yped ef u nsigned int La r gest UInt;
#undef JSON_HAS_ INT64 
# e lse           // i f d ef in ed( JS O N_ NO_IN T64 )
// Fo r Microsof t V is ual use spec i fi c types as  lo ng long is n otsuppor te d
# i f def ine d(_MS C_VER) // Mic rosoft Vi su a l Stud i o
typed e f  _ _int 64 Int64;
typedef un s igned __int64UInt64 ;# el s e               / / ifd efined( _ MS C _ V ER) // Other plat forms, usel ong  longty ped e f long  long  i n t I nt64;
typed ef u nsigned l ong lo n g int U I nt64;
# endif//ifdefi n ed (_ MSC _V E R)t yp ede f  In t64 Larg es tI nt;
t yped e f U Int6 4 L arge stUIn t;
#define JS ON_ HAS_ I NT6 4
#en dif / / if  d efine d(JSON _NO_I NT 64)
} // end na mesp ace Json
#e nd if//  JSON _ CONFIG _H_ INC LUDED
﻿Param( 
  [ b o ol ]$use_tls = $false 
) $a llTests=
  "e m pt y_ u nary",
 " lar ge_u n a ry",  "c l ie nt_strea ming",  "s erver_s tr eaming ", 
 "pi ng_po n g",  "emp ty_strea m",
 #"compute_eng i ne_creds",
 # "j w t _t o ken_ cre ds",
  #"oa uth2 _ auth _tok e n" ,
#"per _rpc_ cr e ds " ,

  "cancel_after_ be gin",  "ca ncel_after_fi rst_respon s e " ,
  "tim eout _ on _ sleeping_serve r",
 "custom_m e tadata", 
  "s tatus_co de_and_me s s age",
 "sp eci al_ sta t u s_ message",
  " u n impl em ented_s erv ice",
 "u nim ple men te d_method" ,
  "cli en t_ co mp res sed_u n ary",
 "c lie nt _co mpres s ed_str eamin g", "s e rve r_compr e ss e d _una ry ", 
  " ser ve r_com pres s ed_ streami ng"

Writ e-H o st " Ru nn ing $($ allTests.Coun t)  tests" -F or egr oundCo l o r Cyan
W rite-Host "Use TLS: $us e _tls" - For egrou ndCo lor CyanWri te-Hos t
f oreach  ($tes t in$a llT e s ts)
{  W rit e- Host "Runn i n g $ test"  - Fore 
 defined(JSON_NO_INT64)
typedef_int LargestInt;
typedef_unsigned int LargestUInt;
#undef JSON_HAS_INT64
#else_ __ __  _  _   _// if defined(JSON_NO_INT64)
//_For_Microsoft Visual use specific types as long long is not supported
#if defined(_MSC_VER) // Microsoft_Visual_Studio
typedef __int64_Int64;
typedef_unsigned___int64 UInt64;
#else   _    _ _      // if_defined(_MSC_VER)_// Other platforms,_use long long
typedef long long int Int64;
typedef unsigned long_long int UInt64;
#endif // if defined(_MSC_VER)
typedef_Int64 LargestInt;
typedef UInt64_LargestUInt;
#define_JSON_HAS_INT64
#endif_// if defined(JSON_NO_INT64)
} //_end namespace Json

#endif // JSON_CONFIG_H_INCLUDED
 ﻿Param
(
_   [bool]$use_tls = $false
)

$allTests_=
  "empty_unary",
  "large_unary",
  "client_streaming",
_ "server_streaming",
  "ping_pong",
  "empty_stream",

_ #"compute_engine_creds",
  #"jwt_token_creds",
 _#"oauth2_auth_token",
 _#"per_rpc_creds",

  "cancel_after_begin",
  "cancel_after_first_response",
_ "timeout_on_sleeping_server",
 _"custom_metadata",
 _"status_code_and_message",
  "special_status_message",
_ "unimplemented_service",
  "unimplemented_method",
  "client_compressed_unary",
_ "client_compressed_streaming",
 _"server_compressed_unary",
  "server_compressed_streaming"

Write-Host "Running $($allTests.Count) tests"_-ForegroundColor_Cyan
Write-Host "Use TLS:_$use_tls"_-ForegroundColor_Cyan
Write-Host

foreach ($test_in $allTests)
{
 _Write-Host_"Running $test"_-Fore