omaha/goopdate/omaha_customization_goopdate_apis_unittest.cc
// There are two different BrowserType definitions, one in the IDL and one
// in browser_utils. Verify they are identical.
There are two different BrowserType definitions, one in the IDL and one
in browser_utils. Verify they are identical.
There are two different BrowserType definitions one in the IDL and one in browser_utils . Verify they are identical .
TEST_F(OmahaCustomizationGoopdateComInterfaceNoTypeLibTest,
       BrowserType_DefinitionsMatch) {
  EXPECT_EQ(::BROWSER_UNKNOWN,            omaha::BROWSER_UNKNOWN);
  EXPECT_EQ(::BROWSER_DEFAULT,            omaha::BROWSER_DEFAULT);
  EXPECT_EQ(::BROWSER_INTERNET_EXPLORER,  omaha::BROWSER_IE);
  EXPECT_EQ(::BROWSER_FIREFOX,            omaha::BROWSER_FIREFOX);
  EXPECT_EQ(::BROWSER_CHROME,             omaha::BROWSER_CHROME);
  EXPECT_EQ(::BROWSER_CHROME + 1, omaha::BROWSER_MAX)
      << _T("A browser has been added without updating test and/or the IDL");
}
TEST_F ( OmahaCustomizationGoopdateComInterfaceNoTypeLibTest , BrowserType_DefinitionsMatch ) { EXPECT_EQ ( :: BROWSER_UNKNOWN , omaha :: BROWSER_UNKNOWN ) ; EXPECT_EQ ( :: BROWSER_DEFAULT , omaha :: BROWSER_DEFAULT ) ; EXPECT_EQ ( :: BROWSER_INTERNET_EXPLORER , omaha :: BROWSER_IE ) ; EXPECT_EQ ( :: BROWSER_FIREFOX , omaha :: BROWSER_FIREFOX ) ; EXPECT_EQ ( :: BROWSER_CHROME , omaha :: BROWSER_CHROME ) ; EXPECT_EQ ( :: BROWSER_CHROME + 1 , omaha :: BROWSER_MAX ) << _T ( " " ) ; }
There are two different BrowserType definitions, one in the IDL and one
in browser_utils.
There are two different BrowserType definitions one in the IDL and one in browser_utils .