Commit 547baed0466cc7a6c5df2d198582d64f8660afb6
1 parent
340200a3
Exists in
master
Refatoração do nome da classe ExistentPrefix, para melhorar a
legibilidade do código, e modificação do valor da propriedade para um texto mais adequado
Showing
4 changed files
with
10 additions
and
10 deletions
Show diff stats
impl/core/src/test/java/br/gov/frameworkdemoiselle/configuration/prefix/ConfigurationPrefixTest.java
| ... | ... | @@ -56,7 +56,7 @@ import br.gov.frameworkdemoiselle.configuration.AbstractConfigurationTest; |
| 56 | 56 | public class ConfigurationPrefixTest extends AbstractConfigurationTest { |
| 57 | 57 | |
| 58 | 58 | @Inject |
| 59 | - private ExistentPrefix existentPrefix; | |
| 59 | + private PrefixEndindWithoutDot endingWithoutDotPrefix; | |
| 60 | 60 | |
| 61 | 61 | @Inject |
| 62 | 62 | private MissingPrefix missingPrefix; |
| ... | ... | @@ -77,7 +77,7 @@ public class ConfigurationPrefixTest extends AbstractConfigurationTest { |
| 77 | 77 | |
| 78 | 78 | @Test |
| 79 | 79 | public void loadFromPrefixedExistentProperty() { |
| 80 | - assertEquals("with prefix", existentPrefix.getPrefixedAttribute()); | |
| 80 | + assertEquals("prefix ending without dot", endingWithoutDotPrefix.getPrefixedAttribute()); | |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | @Test | ... | ... |
impl/core/src/test/java/br/gov/frameworkdemoiselle/configuration/prefix/ExistentPrefix.java
impl/core/src/test/java/br/gov/frameworkdemoiselle/configuration/prefix/PrefixEndindWithoutDot.java
0 → 100644
impl/core/src/test/resources/configuration/prefix/demoiselle.properties
| ... | ... | @@ -33,6 +33,6 @@ |
| 33 | 33 | # ou escreva para a Fundação do Software Livre (FSF) Inc., |
| 34 | 34 | # 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. |
| 35 | 35 | |
| 36 | -prefix.prefixedAttribute=with prefix | |
| 36 | +prefix.prefixedAttribute=prefix ending without dot | |
| 37 | 37 | prefixedAttribute=without prefix |
| 38 | 38 | endingWithDot.prefixedAttribute=prefix ending with dot | ... | ... |