Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5b3b540d
Commit
5b3b540d
authored
Aug 19, 2008
by
Roy Shea
Committed by
Alexandre Julliard
Aug 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mstask/test: Conformance test for CreateTrigger.
parent
32354497
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
task.c
dlls/mstask/tests/task.c
+29
-0
No files found.
dlls/mstask/tests/task.c
View file @
5b3b540d
...
...
@@ -202,9 +202,38 @@ static void test_SetApplicationName_GetApplicationName(void)
return
;
}
static
void
test_CreateTrigger
(
void
)
{
BOOL
setup
;
HRESULT
hres
;
WORD
trigger_index
;
ITaskTrigger
*
test_trigger
;
setup
=
setup_task
();
ok
(
setup
,
"Failed to setup test_task
\n
"
);
if
(
!
setup
)
{
skip
(
"Failed to create task. Skipping tests.
\n
"
);
return
;
}
hres
=
ITask_CreateTrigger
(
test_task
,
&
trigger_index
,
&
test_trigger
);
todo_wine
ok
(
hres
==
S_OK
,
"Failed to create trigger: 0x%08x
\n
"
,
hres
);
if
(
hres
!=
S_OK
)
{
cleanup_task
();
return
;
}
ITaskTrigger_Release
(
test_trigger
);
cleanup_task
();
return
;
}
START_TEST
(
task
)
{
CoInitialize
(
NULL
);
test_SetApplicationName_GetApplicationName
();
test_CreateTrigger
();
CoUninitialize
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment