| OLD | NEW | 
|---|
| 1 #include <gtest/gtest.h> | 1 #include <gtest/gtest.h> | 
| 2 #include "../src/plugin/PluginUtil.h" | 2 #include "../src/plugin/PluginUtil.h" | 
| 3 #include "../src/plugin/PluginDebug.h" | 3 #include "../src/plugin/PluginDebug.h" | 
|  | 4 #include "../src/shared/Utils.h" | 
| 4 | 5 | 
| 5 class Util_Test | 6 class Util_Test | 
| 6   : public ::testing::Test | 7   : public ::testing::Test | 
| 7 { | 8 { | 
| 8 }; | 9 }; | 
| 9 | 10 | 
| 10 namespace | 11 namespace | 
| 11 { | 12 { | 
| 12   void equal_ci_same( std::wstring a, std::wstring b ) | 13   void equal_ci_same( std::wstring a, std::wstring b ) | 
| 13   { | 14   { | 
| (...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 611 | 612 | 
| 612 TEST( Debug_Util_Test, truncate_02 ) | 613 TEST( Debug_Util_Test, truncate_02 ) | 
| 613 { | 614 { | 
| 614   std::wstring length_one_hundred_and_one( 101, L'=' ); | 615   std::wstring length_one_hundred_and_one( 101, L'=' ); | 
| 615   std::wstring truncated( 67, L'=' ); | 616   std::wstring truncated( 67, L'=' ); | 
| 616   truncated += L"..."; | 617   truncated += L"..."; | 
| 617   truncated += std::wstring( 30, L'=' ); | 618   truncated += std::wstring( 30, L'=' ); | 
| 618   truncate_test( length_one_hundred_and_one, truncated ); | 619   truncate_test( length_one_hundred_and_one, truncated ); | 
| 619 } | 620 } | 
| 620 | 621 | 
|  | 622 //==============================================================================
     =========== | 
|  | 623 // shared/Utils.cpp | 
|  | 624 //==============================================================================
     =========== | 
|  | 625 | 
|  | 626 //---------------------------------- | 
|  | 627 // IE Version | 
|  | 628 //---------------------------------- | 
|  | 629 | 
|  | 630 TEST( Shared_Util_Test, IE_version_0 ) | 
|  | 631 { | 
|  | 632   std::wstring version = ABP::IE::installed_version_string(); | 
|  | 633   ASSERT_NE( version, L"" ); | 
|  | 634   // Replace with local version prefix as appropriate | 
|  | 635   //EXPECT_TRUE( ABP::util::begins_with( version, L"11." ) ); | 
|  | 636 } | 
|  | 637 | 
|  | 638 TEST( Shared_Util_Test, IE_version_1 ) | 
|  | 639 { | 
|  | 640   int version = ABP::IE::installed_major_version(); | 
|  | 641   ASSERT_NE( version, 0 ); | 
|  | 642   // Replace with local major version | 
|  | 643   //EXPECT_EQ( version, 11 ); | 
|  | 644 } | 
| OLD | NEW | 
|---|