Skip to content

Commit bcceab5

Browse files
ULT renaming: ClCompileProgram tests
Change-Id: I146a2f25c951824d644f938ace4e434c432c4256 Signed-off-by: Cetnerowski <[email protected]>
1 parent 69367ec commit bcceab5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

unit_tests/api/cl_compile_program_tests.inl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ typedef api_tests clCompileProgramTests;
3535

3636
namespace ULT {
3737

38-
TEST_F(clCompileProgramTests, CompileSingleSource) {
38+
TEST_F(clCompileProgramTests, GivenKernelAsSingleSourceWhenCompilingProgramThenSuccessIsReturned) {
3939
cl_program pProgram = nullptr;
4040
void *pSource = nullptr;
4141
size_t sourceSize = 0;
@@ -82,7 +82,7 @@ TEST_F(clCompileProgramTests, CompileSingleSource) {
8282
CompilerInterface::shutdown();
8383
}
8484

85-
TEST_F(clCompileProgramTests, CompileSingleSourceWithHeader) {
85+
TEST_F(clCompileProgramTests, GivenKernelAsSourceWithHeaderWhenCompilingProgramThenSuccessIsReturned) {
8686
cl_program pProgram = nullptr;
8787
cl_program pHeader = nullptr;
8888
void *pSource = nullptr;
@@ -155,7 +155,7 @@ TEST_F(clCompileProgramTests, CompileSingleSourceWithHeader) {
155155
CompilerInterface::shutdown();
156156
}
157157

158-
TEST_F(clCompileProgramTests, NullProgram_returnsError) {
158+
TEST_F(clCompileProgramTests, GivenNullProgramWhenCompilingProgramThenInvalidProgramErrorIsReturned) {
159159
retVal = clCompileProgram(
160160
nullptr,
161161
1,

0 commit comments

Comments
 (0)