Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Access Token Provider
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gazelle
Applications
Test execution
Simulator
Access Token Provider
Commits
fe35bbd8
Commit
fe35bbd8
authored
4 years ago
by
Youn Cadoret
Browse files
Options
Downloads
Patches
Plain Diff
IUAINFRA-47 add javadoc + TU
parent
b98ad8eb
No related branches found
No related tags found
1 merge request
!3
Feature/iuainfra 31
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
access-token-provider-api/src/test/java/net/ihe/gazelle/app/accesstokenproviderapi/application/DummyAuthzServerSoapuiTest.java
+4
-2
4 additions, 2 deletions
...enproviderapi/application/DummyAuthzServerSoapuiTest.java
with
4 additions
and
2 deletions
access-token-provider-api/src/test/java/net/ihe/gazelle/app/accesstokenproviderapi/application/DummyAuthzServerSoapuiTest.java
+
4
−
2
View file @
fe35bbd8
...
...
@@ -3,6 +3,7 @@ package net.ihe.gazelle.app.accesstokenproviderapi.application;
import
org.junit.jupiter.api.Test
;
import
java.io.File
;
import
java.io.IOException
;
import
java.util.logging.Logger
;
import
static
org
.
junit
.
jupiter
.
api
.
Assertions
.
assertNotNull
;
...
...
@@ -10,13 +11,14 @@ class DummyAuthzServerSoapuiTest {
private
static
final
String
SUBJECT
=
"aamrein"
;
private
static
final
String
AUDIENCE
=
"audience"
;
private
String
resourcesFile
=
new
File
(
"src/test/resources/audience.properties"
).
getPath
();
/**
* get access token with an Audience path defined
*/
@Test
public
void
getAccessTokenWithPathAudienceTest
()
{
public
void
getAccessTokenWithPathAudienceTest
()
throws
IOException
{
String
resourcesFile
=
new
File
(
"src/test/resources/audience.properties"
).
getCanonicalPath
();
DummyAuthzServerSoapui
dummyAuthzServer
=
new
DummyAuthzServerSoapui
();
assertNotNull
(
dummyAuthzServer
.
getAccessToken
(
SUBJECT
,
AUDIENCE
,
null
,
null
,
resourcesFile
));
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment