Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
30e6ca9e
Commit
30e6ca9e
authored
Oct 18, 2008
by
Paul Bryan Roberts
Committed by
Alexandre Julliard
Oct 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: LookupAccountNameW() - add got clause to test.
parent
991c7652
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
security.c
dlls/advapi32/tests/security.c
+4
-4
No files found.
dlls/advapi32/tests/security.c
View file @
30e6ca9e
...
...
@@ -1555,8 +1555,8 @@ static void test_LookupAccountName(void)
ok
(
!
lstrcmp
(
account
,
user_name
),
"Expected %s, got %s
\n
"
,
user_name
,
account
);
ok
(
!
lstrcmp
(
domain
,
sid_dom
),
"Expected %s, got %s
\n
"
,
sid_dom
,
domain
);
ok
(
domain_size
==
domain_save
-
1
,
"Expected %d, got %d
\n
"
,
domain_save
-
1
,
domain_size
);
ok
(
lstrlen
(
domain
)
==
domain_size
,
"Expected %d
\n
"
,
lstrlen
(
domain
)
);
ok
(
sid_use
==
SidTypeUser
,
"Expected SidTypeUser
, got %d
\n
"
,
sid_use
);
ok
(
lstrlen
(
domain
)
==
domain_size
,
"Expected %d
, got %d
\n
"
,
lstrlen
(
domain
),
domain_size
);
ok
(
sid_use
==
SidTypeUser
,
"Expected SidTypeUser
(%d), got %d
\n
"
,
SidTypeUser
,
sid_use
);
}
domain_size
=
domain_save
;
sid_size
=
sid_save
;
...
...
@@ -1577,7 +1577,7 @@ static void test_LookupAccountName(void)
ok
(
domain_size
==
0
,
"Expected 0, got %d
\n
"
,
domain_size
);
todo_wine
ok
(
lstrlen
(
domain
)
==
domain_size
,
"Expected %d, got %d
\n
"
,
lstrlen
(
domain
),
domain_size
);
ok
(
sid_use
==
SidTypeWellKnownGroup
,
"Expected SidType
User, got %d
\n
"
,
sid_use
);
ok
(
sid_use
==
SidTypeWellKnownGroup
,
"Expected SidType
WellKnownGroup (%d), got %d
\n
"
,
SidTypeWellKnownGroup
,
sid_use
);
domain_size
=
domain_save
;
}
...
...
@@ -1640,7 +1640,7 @@ static void test_LookupAccountName(void)
ok
(
!
lstrcmp
(
account
,
domain
),
"Got %s for account and %s for domain, these should be the same
\n
"
,
account
,
domain
);
ok
(
sid_use
==
SidTypeDomain
,
"Expected SidTypeDomain
, got %d
\n
"
,
SidTypeDomain
);
ok
(
sid_use
==
SidTypeDomain
,
"Expected SidTypeDomain
(%d), got %d
\n
"
,
SidTypeDomain
,
sid_use
);
}
/* try an invalid account name */
...
...
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