| 
    Kodi Documentation 22.0
    
   Kodi is an open source media player and entertainment hub. 
   | 
 
#include "ServiceBroker.h"#include "settings/AdvancedSettings.h"#include "settings/SettingsComponent.h"#include "utils/GpuInfo.h"#include <memory>#include <gtest/gtest.h>Classes | |
| class | TestGPUInfo | 
Functions | |
| EXPECT_NE (gpuInfo, nullptr) | |
| EXPECT_TRUE (success) | |
| EXPECT_TRUE (t.IsValid()) | |
| EXPECT_EQ (t.ToCelsius(), 50) | |
Variables | |
| std::unique_ptr< CGPUInfo > | gpuInfo = CGPUInfo::GetGPUInfo() | 
| CTemperature | t | 
| bool | success = gpuInfo->GetTemperature(t) | 
| EXPECT_EQ | ( | t. | ToCelsius(), | 
| 50 | ) | 
| EXPECT_NE | ( | gpuInfo | , | 
| nullptr | ) | 
| EXPECT_TRUE | ( | success | ) | 
| EXPECT_TRUE | ( | t. | IsValid() | ) | 
| std::unique_ptr<CGPUInfo> gpuInfo = CGPUInfo::GetGPUInfo() |