Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
e8e39e4b
Commit
e8e39e4b
authored
Feb 13, 2015
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
polish
parent
5efdb858
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ConfigurationMetadataAnnotationProcessorTests.java
...cessor/ConfigurationMetadataAnnotationProcessorTests.java
+2
-2
ConfigurationMetadataMatchers.java
...configurationprocessor/ConfigurationMetadataMatchers.java
+3
-3
No files found.
spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/ConfigurationMetadataAnnotationProcessorTests.java
View file @
e8e39e4b
...
...
@@ -388,7 +388,7 @@ public class ConfigurationMetadataAnnotationProcessorTests {
}
@Test
public
void
incremenalBuildAnnotationRemoved
()
throws
Exception
{
public
void
incremen
t
alBuildAnnotationRemoved
()
throws
Exception
{
TestProject
project
=
new
TestProject
(
this
.
temporaryFolder
,
FooProperties
.
class
,
BarProperties
.
class
);
ConfigurationMetadata
metadata
=
project
.
fullBuild
();
...
...
@@ -403,7 +403,7 @@ public class ConfigurationMetadataAnnotationProcessorTests {
}
@Test
public
void
incremenalBuildTypeRenamed
()
throws
Exception
{
public
void
incremen
t
alBuildTypeRenamed
()
throws
Exception
{
TestProject
project
=
new
TestProject
(
this
.
temporaryFolder
,
FooProperties
.
class
,
BarProperties
.
class
);
ConfigurationMetadata
metadata
=
project
.
fullBuild
();
...
...
spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/ConfigurationMetadataMatchers.java
View file @
e8e39e4b
...
...
@@ -39,7 +39,7 @@ public class ConfigurationMetadataMatchers {
}
public
static
ContainsItemMatcher
containsGroup
(
String
name
,
String
type
)
{
return
new
ContainsItemMatcher
(
ItemType
.
GROUP
,
name
).
of
Data
Type
(
type
);
return
new
ContainsItemMatcher
(
ItemType
.
GROUP
,
name
).
ofType
(
type
);
}
public
static
ContainsItemMatcher
containsProperty
(
String
name
)
{
...
...
@@ -51,7 +51,7 @@ public class ConfigurationMetadataMatchers {
}
public
static
ContainsItemMatcher
containsProperty
(
String
name
,
String
type
)
{
return
new
ContainsItemMatcher
(
ItemType
.
PROPERTY
,
name
).
of
Data
Type
(
type
);
return
new
ContainsItemMatcher
(
ItemType
.
PROPERTY
,
name
).
ofType
(
type
);
}
public
static
class
ContainsItemMatcher
extends
BaseMatcher
<
ConfigurationMetadata
>
{
...
...
@@ -154,7 +154,7 @@ public class ConfigurationMetadataMatchers {
this
.
sourceType
,
this
.
description
,
this
.
defaultValue
,
this
.
deprecated
);
}
public
ContainsItemMatcher
of
Data
Type
(
String
dataType
)
{
public
ContainsItemMatcher
ofType
(
String
dataType
)
{
return
new
ContainsItemMatcher
(
this
.
itemType
,
this
.
name
,
dataType
,
this
.
sourceType
,
this
.
description
,
this
.
defaultValue
,
this
.
deprecated
);
}
...
...
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