Commit 4e4888acf6e102e094d6733a78064c2af6d54bb4
1 parent
a4f9a12f
Exists in
master
Remoção dos testes da anotação @NotNull, que agora serão responsablidade
do Bean Validation.
Showing
16 changed files
with
0 additions
and
601 deletions
Show diff stats
impl/core/src/test/java/configuration/field/notnull/AbstractNotNullFieldConfig.java
... | ... | @@ -1,49 +0,0 @@ |
1 | -/* | |
2 | - * Demoiselle Framework | |
3 | - * Copyright (C) 2010 SERPRO | |
4 | - * ---------------------------------------------------------------------------- | |
5 | - * This file is part of Demoiselle Framework. | |
6 | - * | |
7 | - * Demoiselle Framework is free software; you can redistribute it and/or | |
8 | - * modify it under the terms of the GNU Lesser General Public License version 3 | |
9 | - * as published by the Free Software Foundation. | |
10 | - * | |
11 | - * This program is distributed in the hope that it will be useful, | |
12 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | - * GNU General Public License for more details. | |
15 | - * | |
16 | - * You should have received a copy of the GNU Lesser General Public License version 3 | |
17 | - * along with this program; if not, see <http://www.gnu.org/licenses/> | |
18 | - * or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
19 | - * Fifth Floor, Boston, MA 02110-1301, USA. | |
20 | - * ---------------------------------------------------------------------------- | |
21 | - * Este arquivo é parte do Framework Demoiselle. | |
22 | - * | |
23 | - * O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
24 | - * modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
25 | - * do Software Livre (FSF). | |
26 | - * | |
27 | - * Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
28 | - * GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
29 | - * APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
30 | - * para maiores detalhes. | |
31 | - * | |
32 | - * Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
33 | - * "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
34 | - * ou escreva para a Fundação do Software Livre (FSF) Inc., | |
35 | - * 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
36 | - */ | |
37 | -package configuration.field.notnull; | |
38 | - | |
39 | -import javax.validation.constraints.NotNull; | |
40 | - | |
41 | -public abstract class AbstractNotNullFieldConfig { | |
42 | - | |
43 | - @NotNull | |
44 | - private Integer attibuteNotNull; | |
45 | - | |
46 | - public Integer getAttributeNotNull() { | |
47 | - return attibuteNotNull; | |
48 | - } | |
49 | -} |
impl/core/src/test/java/configuration/field/notnull/ConfigurationNotNullFieldTest.java
... | ... | @@ -1,154 +0,0 @@ |
1 | -/* | |
2 | - * Demoiselle Framework | |
3 | - * Copyright (C) 2010 SERPRO | |
4 | - * ---------------------------------------------------------------------------- | |
5 | - * This file is part of Demoiselle Framework. | |
6 | - * | |
7 | - * Demoiselle Framework is free software; you can redistribute it and/or | |
8 | - * modify it under the terms of the GNU Lesser General Public License version 3 | |
9 | - * as published by the Free Software Foundation. | |
10 | - * | |
11 | - * This program is distributed in the hope that it will be useful, | |
12 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | - * GNU General Public License for more details. | |
15 | - * | |
16 | - * You should have received a copy of the GNU Lesser General Public License version 3 | |
17 | - * along with this program; if not, see <http://www.gnu.org/licenses/> | |
18 | - * or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
19 | - * Fifth Floor, Boston, MA 02110-1301, USA. | |
20 | - * ---------------------------------------------------------------------------- | |
21 | - * Este arquivo é parte do Framework Demoiselle. | |
22 | - * | |
23 | - * O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
24 | - * modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
25 | - * do Software Livre (FSF). | |
26 | - * | |
27 | - * Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
28 | - * GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
29 | - * APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
30 | - * para maiores detalhes. | |
31 | - * | |
32 | - * Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
33 | - * "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
34 | - * ou escreva para a Fundação do Software Livre (FSF) Inc., | |
35 | - * 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
36 | - */ | |
37 | -package configuration.field.notnull; | |
38 | - | |
39 | -import static junit.framework.Assert.assertEquals; | |
40 | -import static junit.framework.Assert.fail; | |
41 | - | |
42 | -import javax.inject.Inject; | |
43 | - | |
44 | -import junit.framework.Assert; | |
45 | - | |
46 | -import org.jboss.arquillian.container.test.api.Deployment; | |
47 | -import org.jboss.arquillian.junit.Arquillian; | |
48 | -import org.jboss.shrinkwrap.api.spec.JavaArchive; | |
49 | -import org.junit.Test; | |
50 | -import org.junit.runner.RunWith; | |
51 | - | |
52 | -import test.Tests; | |
53 | -import br.gov.frameworkdemoiselle.configuration.ConfigurationException; | |
54 | - | |
55 | -@RunWith(Arquillian.class) | |
56 | -public class ConfigurationNotNullFieldTest { | |
57 | - | |
58 | - private static final String PATH = "src/test/resources/configuration/field/notnull"; | |
59 | - | |
60 | - @Inject | |
61 | - private PropertyWithFilledFieldConfig propertyFilledFieldConfig; | |
62 | - | |
63 | - @Inject | |
64 | - private PropertyWithEmptyFieldConfig propertyEmptyFieldsConfig; | |
65 | - | |
66 | - @Inject | |
67 | - private PropertyWithoutNotNullField propertyWithoutNotNullField; | |
68 | - | |
69 | - @Inject | |
70 | - private PropertyWithoutFileConfig propertyNoFileConfig; | |
71 | - | |
72 | - @Inject | |
73 | - private XMLWithFilledFieldConfig xmlFilledFieldConfig; | |
74 | - | |
75 | - @Inject | |
76 | - private XMLWithEmptyFieldConfig xmlEmptyFieldsConfig; | |
77 | - | |
78 | - @Inject | |
79 | - private XMLWithoutNotNullField xmlWithoutNotNullField; | |
80 | - | |
81 | - @Inject | |
82 | - private XMLWithoutFileConfig xmlNoFileConfig; | |
83 | - | |
84 | - @Deployment | |
85 | - public static JavaArchive createDeployment() { | |
86 | - JavaArchive deployment = Tests.createDeployment(ConfigurationNotNullFieldTest.class); | |
87 | - deployment.addAsResource(Tests.createFileAsset(PATH + "/demoiselle.properties"), "demoiselle.properties"); | |
88 | - deployment.addAsResource(Tests.createFileAsset(PATH + "/empty-field.properties"), "empty-field.properties"); | |
89 | - deployment.addAsResource(Tests.createFileAsset(PATH + "/without-field.properties"), "without-field.properties"); | |
90 | - deployment.addAsResource(Tests.createFileAsset(PATH + "/demoiselle.xml"), "demoiselle.xml"); | |
91 | - deployment.addAsResource(Tests.createFileAsset(PATH + "/empty-field.xml"), "empty-field.xml"); | |
92 | - deployment.addAsResource(Tests.createFileAsset(PATH + "/without-field.xml"), "without-field.xml"); | |
93 | - return deployment; | |
94 | - } | |
95 | - | |
96 | - @Test | |
97 | - public void loadFieldNotNullFromFilledFile() { | |
98 | - Integer expected = 1; | |
99 | - | |
100 | - assertEquals(expected, propertyFilledFieldConfig.getAttributeNotNull()); | |
101 | - assertEquals(expected, xmlFilledFieldConfig.getAttributeNotNull()); | |
102 | - } | |
103 | - | |
104 | - @Test | |
105 | - public void loadFieldNotNullFromEmptyProperty() { | |
106 | - try { | |
107 | - propertyEmptyFieldsConfig.getAttributeNotNull(); | |
108 | - fail(); | |
109 | - } catch (ConfigurationException cause) { | |
110 | - Assert.assertEquals(NullPointerException.class, cause.getCause().getClass()); | |
111 | - } | |
112 | - | |
113 | - try { | |
114 | - xmlEmptyFieldsConfig.getAttributeNotNull(); | |
115 | - fail(); | |
116 | - } catch (ConfigurationException cause) { | |
117 | - Assert.assertEquals(NullPointerException.class, cause.getCause().getClass()); | |
118 | - } | |
119 | - } | |
120 | - | |
121 | - @Test | |
122 | - public void loadFieldFromPropertyFileWithoutNotNullField() { | |
123 | - try { | |
124 | - propertyWithoutNotNullField.getAttributeNotNull(); | |
125 | - fail(); | |
126 | - } catch (ConfigurationException cause) { | |
127 | - Assert.assertEquals(NullPointerException.class, cause.getCause().getClass()); | |
128 | - } | |
129 | - | |
130 | - try { | |
131 | - xmlWithoutNotNullField.getAttributeNotNull(); | |
132 | - fail(); | |
133 | - } catch (ConfigurationException cause) { | |
134 | - Assert.assertEquals(NullPointerException.class, cause.getCause().getClass()); | |
135 | - } | |
136 | - } | |
137 | - | |
138 | - @Test | |
139 | - public void loadFieldNotNullFromInexistentPropertyFile() { | |
140 | - try { | |
141 | - propertyNoFileConfig.getAttributeNotNull(); | |
142 | - fail(); | |
143 | - } catch (ConfigurationException cause) { | |
144 | - Assert.assertEquals(NullPointerException.class, cause.getCause().getClass()); | |
145 | - } | |
146 | - | |
147 | - try { | |
148 | - xmlNoFileConfig.getAttributeNotNull(); | |
149 | - fail(); | |
150 | - } catch (ConfigurationException cause) { | |
151 | - Assert.assertEquals(NullPointerException.class, cause.getCause().getClass()); | |
152 | - } | |
153 | - } | |
154 | -} |
impl/core/src/test/java/configuration/field/notnull/PropertyWithEmptyFieldConfig.java
... | ... | @@ -1,44 +0,0 @@ |
1 | -/* | |
2 | - * Demoiselle Framework | |
3 | - * Copyright (C) 2010 SERPRO | |
4 | - * ---------------------------------------------------------------------------- | |
5 | - * This file is part of Demoiselle Framework. | |
6 | - * | |
7 | - * Demoiselle Framework is free software; you can redistribute it and/or | |
8 | - * modify it under the terms of the GNU Lesser General Public License version 3 | |
9 | - * as published by the Free Software Foundation. | |
10 | - * | |
11 | - * This program is distributed in the hope that it will be useful, | |
12 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | - * GNU General Public License for more details. | |
15 | - * | |
16 | - * You should have received a copy of the GNU Lesser General Public License version 3 | |
17 | - * along with this program; if not, see <http://www.gnu.org/licenses/> | |
18 | - * or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
19 | - * Fifth Floor, Boston, MA 02110-1301, USA. | |
20 | - * ---------------------------------------------------------------------------- | |
21 | - * Este arquivo é parte do Framework Demoiselle. | |
22 | - * | |
23 | - * O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
24 | - * modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
25 | - * do Software Livre (FSF). | |
26 | - * | |
27 | - * Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
28 | - * GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
29 | - * APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
30 | - * para maiores detalhes. | |
31 | - * | |
32 | - * Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
33 | - * "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
34 | - * ou escreva para a Fundação do Software Livre (FSF) Inc., | |
35 | - * 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
36 | - */ | |
37 | -package configuration.field.notnull; | |
38 | - | |
39 | -import static br.gov.frameworkdemoiselle.configuration.ConfigType.PROPERTIES; | |
40 | -import br.gov.frameworkdemoiselle.configuration.Configuration; | |
41 | - | |
42 | -@Configuration(resource = "empty-field", type = PROPERTIES) | |
43 | -public class PropertyWithEmptyFieldConfig extends AbstractNotNullFieldConfig { | |
44 | -} |
impl/core/src/test/java/configuration/field/notnull/PropertyWithFilledFieldConfig.java
... | ... | @@ -1,44 +0,0 @@ |
1 | -/* | |
2 | - * Demoiselle Framework | |
3 | - * Copyright (C) 2010 SERPRO | |
4 | - * ---------------------------------------------------------------------------- | |
5 | - * This file is part of Demoiselle Framework. | |
6 | - * | |
7 | - * Demoiselle Framework is free software; you can redistribute it and/or | |
8 | - * modify it under the terms of the GNU Lesser General Public License version 3 | |
9 | - * as published by the Free Software Foundation. | |
10 | - * | |
11 | - * This program is distributed in the hope that it will be useful, | |
12 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | - * GNU General Public License for more details. | |
15 | - * | |
16 | - * You should have received a copy of the GNU Lesser General Public License version 3 | |
17 | - * along with this program; if not, see <http://www.gnu.org/licenses/> | |
18 | - * or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
19 | - * Fifth Floor, Boston, MA 02110-1301, USA. | |
20 | - * ---------------------------------------------------------------------------- | |
21 | - * Este arquivo é parte do Framework Demoiselle. | |
22 | - * | |
23 | - * O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
24 | - * modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
25 | - * do Software Livre (FSF). | |
26 | - * | |
27 | - * Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
28 | - * GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
29 | - * APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
30 | - * para maiores detalhes. | |
31 | - * | |
32 | - * Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
33 | - * "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
34 | - * ou escreva para a Fundação do Software Livre (FSF) Inc., | |
35 | - * 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
36 | - */ | |
37 | -package configuration.field.notnull; | |
38 | - | |
39 | -import static br.gov.frameworkdemoiselle.configuration.ConfigType.PROPERTIES; | |
40 | -import br.gov.frameworkdemoiselle.configuration.Configuration; | |
41 | - | |
42 | -@Configuration(resource = "demoiselle", type = PROPERTIES) | |
43 | -public class PropertyWithFilledFieldConfig extends AbstractNotNullFieldConfig { | |
44 | -} |
impl/core/src/test/java/configuration/field/notnull/PropertyWithoutFileConfig.java
... | ... | @@ -1,44 +0,0 @@ |
1 | -/* | |
2 | - * Demoiselle Framework | |
3 | - * Copyright (C) 2010 SERPRO | |
4 | - * ---------------------------------------------------------------------------- | |
5 | - * This file is part of Demoiselle Framework. | |
6 | - * | |
7 | - * Demoiselle Framework is free software; you can redistribute it and/or | |
8 | - * modify it under the terms of the GNU Lesser General Public License version 3 | |
9 | - * as published by the Free Software Foundation. | |
10 | - * | |
11 | - * This program is distributed in the hope that it will be useful, | |
12 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | - * GNU General Public License for more details. | |
15 | - * | |
16 | - * You should have received a copy of the GNU Lesser General Public License version 3 | |
17 | - * along with this program; if not, see <http://www.gnu.org/licenses/> | |
18 | - * or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
19 | - * Fifth Floor, Boston, MA 02110-1301, USA. | |
20 | - * ---------------------------------------------------------------------------- | |
21 | - * Este arquivo é parte do Framework Demoiselle. | |
22 | - * | |
23 | - * O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
24 | - * modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
25 | - * do Software Livre (FSF). | |
26 | - * | |
27 | - * Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
28 | - * GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
29 | - * APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
30 | - * para maiores detalhes. | |
31 | - * | |
32 | - * Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
33 | - * "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
34 | - * ou escreva para a Fundação do Software Livre (FSF) Inc., | |
35 | - * 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
36 | - */ | |
37 | -package configuration.field.notnull; | |
38 | - | |
39 | -import static br.gov.frameworkdemoiselle.configuration.ConfigType.PROPERTIES; | |
40 | -import br.gov.frameworkdemoiselle.configuration.Configuration; | |
41 | - | |
42 | -@Configuration(resource = "nofile", type = PROPERTIES) | |
43 | -public class PropertyWithoutFileConfig extends AbstractNotNullFieldConfig { | |
44 | -} |
impl/core/src/test/java/configuration/field/notnull/PropertyWithoutNotNullField.java
... | ... | @@ -1,8 +0,0 @@ |
1 | -package configuration.field.notnull; | |
2 | - | |
3 | -import static br.gov.frameworkdemoiselle.configuration.ConfigType.PROPERTIES; | |
4 | -import br.gov.frameworkdemoiselle.configuration.Configuration; | |
5 | - | |
6 | -@Configuration(resource = "without-field", type = PROPERTIES) | |
7 | -public class PropertyWithoutNotNullField extends AbstractNotNullFieldConfig { | |
8 | -} |
impl/core/src/test/java/configuration/field/notnull/XMLWithEmptyFieldConfig.java
... | ... | @@ -1,8 +0,0 @@ |
1 | -package configuration.field.notnull; | |
2 | - | |
3 | -import static br.gov.frameworkdemoiselle.configuration.ConfigType.XML; | |
4 | -import br.gov.frameworkdemoiselle.configuration.Configuration; | |
5 | - | |
6 | -@Configuration(resource = "empty-field", type = XML) | |
7 | -public class XMLWithEmptyFieldConfig extends AbstractNotNullFieldConfig { | |
8 | -} |
impl/core/src/test/java/configuration/field/notnull/XMLWithFilledFieldConfig.java
... | ... | @@ -1,8 +0,0 @@ |
1 | -package configuration.field.notnull; | |
2 | - | |
3 | -import static br.gov.frameworkdemoiselle.configuration.ConfigType.XML; | |
4 | -import br.gov.frameworkdemoiselle.configuration.Configuration; | |
5 | - | |
6 | -@Configuration(resource = "demoiselle", type = XML) | |
7 | -public class XMLWithFilledFieldConfig extends AbstractNotNullFieldConfig { | |
8 | -} |
impl/core/src/test/java/configuration/field/notnull/XMLWithoutFileConfig.java
... | ... | @@ -1,8 +0,0 @@ |
1 | -package configuration.field.notnull; | |
2 | - | |
3 | -import static br.gov.frameworkdemoiselle.configuration.ConfigType.XML; | |
4 | -import br.gov.frameworkdemoiselle.configuration.Configuration; | |
5 | - | |
6 | -@Configuration(resource = "nofile", type = XML) | |
7 | -public class XMLWithoutFileConfig extends AbstractNotNullFieldConfig { | |
8 | -} |
impl/core/src/test/java/configuration/field/notnull/XMLWithoutNotNullField.java
... | ... | @@ -1,8 +0,0 @@ |
1 | -package configuration.field.notnull; | |
2 | - | |
3 | -import static br.gov.frameworkdemoiselle.configuration.ConfigType.XML; | |
4 | -import br.gov.frameworkdemoiselle.configuration.Configuration; | |
5 | - | |
6 | -@Configuration(resource = "without-field", type = XML) | |
7 | -public class XMLWithoutNotNullField extends AbstractNotNullFieldConfig { | |
8 | -} |
impl/core/src/test/resources/configuration/field/notnull/demoiselle.properties
... | ... | @@ -1,36 +0,0 @@ |
1 | -# Demoiselle Framework | |
2 | -# Copyright (C) 2010 SERPRO | |
3 | -# ---------------------------------------------------------------------------- | |
4 | -# This file is part of Demoiselle Framework. | |
5 | -# | |
6 | -# Demoiselle Framework is free software; you can redistribute it and/or | |
7 | -# modify it under the terms of the GNU Lesser General Public License version 3 | |
8 | -# as published by the Free Software Foundation. | |
9 | -# | |
10 | -# This program is distributed in the hope that it will be useful, | |
11 | -# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -# GNU General Public License for more details. | |
14 | -# | |
15 | -# You should have received a copy of the GNU Lesser General Public License version 3 | |
16 | -# along with this program; if not, see <http://www.gnu.org/licenses/> | |
17 | -# or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
18 | -# Fifth Floor, Boston, MA 02110-1301, USA. | |
19 | -# ---------------------------------------------------------------------------- | |
20 | -# Este arquivo é parte do Framework Demoiselle. | |
21 | -# | |
22 | -# O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
23 | -# modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
24 | -# do Software Livre (FSF). | |
25 | -# | |
26 | -# Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
27 | -# GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
28 | -# APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
29 | -# para maiores detalhes. | |
30 | -# | |
31 | -# Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
32 | -# "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
33 | -# ou escreva para a Fundação do Software Livre (FSF) Inc., | |
34 | -# 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
35 | - | |
36 | -attibuteNotNull=1 |
impl/core/src/test/resources/configuration/field/notnull/demoiselle.xml
... | ... | @@ -1,40 +0,0 @@ |
1 | -<!-- | |
2 | - Demoiselle Framework | |
3 | - Copyright (C) 2010 SERPRO | |
4 | - ============================================================================ | |
5 | - This file is part of Demoiselle Framework. | |
6 | - | |
7 | - Demoiselle Framework is free software; you can redistribute it and/or | |
8 | - modify it under the terms of the GNU Lesser General Public License version 3 | |
9 | - as published by the Free Software Foundation. | |
10 | - | |
11 | - This program is distributed in the hope that it will be useful, | |
12 | - but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | - GNU General Public License for more details. | |
15 | - | |
16 | - You should have received a copy of the GNU Lesser General Public License version 3 | |
17 | - along with this program; if not, see <http://www.gnu.org/licenses /> | |
18 | - or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
19 | - Fifth Floor, Boston, MA 02110-1301, USA. | |
20 | - ============================================================================ | |
21 | - Este arquivo é parte do Framework Demoiselle. | |
22 | - | |
23 | - O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
24 | - modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
25 | - do Software Livre (FSF). | |
26 | - | |
27 | - Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
28 | - GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
29 | - APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
30 | - para maiores detalhes. | |
31 | - | |
32 | - Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
33 | - "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses /> | |
34 | - ou escreva para a Fundação do Software Livre (FSF) Inc., | |
35 | - 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
36 | ---> | |
37 | - | |
38 | -<configurations> | |
39 | - <attibuteNotNull>1</attibuteNotNull> | |
40 | -</configurations> |
impl/core/src/test/resources/configuration/field/notnull/empty-field.properties
... | ... | @@ -1,36 +0,0 @@ |
1 | -# Demoiselle Framework | |
2 | -# Copyright (C) 2010 SERPRO | |
3 | -# ---------------------------------------------------------------------------- | |
4 | -# This file is part of Demoiselle Framework. | |
5 | -# | |
6 | -# Demoiselle Framework is free software; you can redistribute it and/or | |
7 | -# modify it under the terms of the GNU Lesser General Public License version 3 | |
8 | -# as published by the Free Software Foundation. | |
9 | -# | |
10 | -# This program is distributed in the hope that it will be useful, | |
11 | -# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -# GNU General Public License for more details. | |
14 | -# | |
15 | -# You should have received a copy of the GNU Lesser General Public License version 3 | |
16 | -# along with this program; if not, see <http://www.gnu.org/licenses/> | |
17 | -# or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
18 | -# Fifth Floor, Boston, MA 02110-1301, USA. | |
19 | -# ---------------------------------------------------------------------------- | |
20 | -# Este arquivo é parte do Framework Demoiselle. | |
21 | -# | |
22 | -# O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
23 | -# modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
24 | -# do Software Livre (FSF). | |
25 | -# | |
26 | -# Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
27 | -# GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
28 | -# APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
29 | -# para maiores detalhes. | |
30 | -# | |
31 | -# Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
32 | -# "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
33 | -# ou escreva para a Fundação do Software Livre (FSF) Inc., | |
34 | -# 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
35 | - | |
36 | -attibuteNotNull= |
impl/core/src/test/resources/configuration/field/notnull/empty-field.xml
... | ... | @@ -1,39 +0,0 @@ |
1 | -<!-- | |
2 | - Demoiselle Framework | |
3 | - Copyright (C) 2010 SERPRO | |
4 | - ============================================================================ | |
5 | - This file is part of Demoiselle Framework. | |
6 | - | |
7 | - Demoiselle Framework is free software; you can redistribute it and/or | |
8 | - modify it under the terms of the GNU Lesser General Public License version 3 | |
9 | - as published by the Free Software Foundation. | |
10 | - | |
11 | - This program is distributed in the hope that it will be useful, | |
12 | - but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | - GNU General Public License for more details. | |
15 | - | |
16 | - You should have received a copy of the GNU Lesser General Public License version 3 | |
17 | - along with this program; if not, see <http://www.gnu.org/licenses /> | |
18 | - or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
19 | - Fifth Floor, Boston, MA 02110-1301, USA. | |
20 | - ============================================================================ | |
21 | - Este arquivo é parte do Framework Demoiselle. | |
22 | - | |
23 | - O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
24 | - modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
25 | - do Software Livre (FSF). | |
26 | - | |
27 | - Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
28 | - GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
29 | - APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
30 | - para maiores detalhes. | |
31 | - | |
32 | - Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
33 | - "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses /> | |
34 | - ou escreva para a Fundação do Software Livre (FSF) Inc., | |
35 | - 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
36 | ---> | |
37 | -<configurations> | |
38 | - <attibuteNotNull></attibuteNotNull> | |
39 | -</configurations> |
impl/core/src/test/resources/configuration/field/notnull/without-field.properties
... | ... | @@ -1,36 +0,0 @@ |
1 | -# Demoiselle Framework | |
2 | -# Copyright (C) 2010 SERPRO | |
3 | -# ---------------------------------------------------------------------------- | |
4 | -# This file is part of Demoiselle Framework. | |
5 | -# | |
6 | -# Demoiselle Framework is free software; you can redistribute it and/or | |
7 | -# modify it under the terms of the GNU Lesser General Public License version 3 | |
8 | -# as published by the Free Software Foundation. | |
9 | -# | |
10 | -# This program is distributed in the hope that it will be useful, | |
11 | -# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -# GNU General Public License for more details. | |
14 | -# | |
15 | -# You should have received a copy of the GNU Lesser General Public License version 3 | |
16 | -# along with this program; if not, see <http://www.gnu.org/licenses/> | |
17 | -# or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
18 | -# Fifth Floor, Boston, MA 02110-1301, USA. | |
19 | -# ---------------------------------------------------------------------------- | |
20 | -# Este arquivo é parte do Framework Demoiselle. | |
21 | -# | |
22 | -# O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
23 | -# modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
24 | -# do Software Livre (FSF). | |
25 | -# | |
26 | -# Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
27 | -# GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
28 | -# APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
29 | -# para maiores detalhes. | |
30 | -# | |
31 | -# Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
32 | -# "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/> | |
33 | -# ou escreva para a Fundação do Software Livre (FSF) Inc., | |
34 | -# 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
35 | - | |
36 | -propertyNotNull=1 |
impl/core/src/test/resources/configuration/field/notnull/without-field.xml
... | ... | @@ -1,39 +0,0 @@ |
1 | -<!-- | |
2 | - Demoiselle Framework | |
3 | - Copyright (C) 2010 SERPRO | |
4 | - ============================================================================ | |
5 | - This file is part of Demoiselle Framework. | |
6 | - | |
7 | - Demoiselle Framework is free software; you can redistribute it and/or | |
8 | - modify it under the terms of the GNU Lesser General Public License version 3 | |
9 | - as published by the Free Software Foundation. | |
10 | - | |
11 | - This program is distributed in the hope that it will be useful, | |
12 | - but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | - GNU General Public License for more details. | |
15 | - | |
16 | - You should have received a copy of the GNU Lesser General Public License version 3 | |
17 | - along with this program; if not, see <http://www.gnu.org/licenses /> | |
18 | - or write to the Free Software Foundation, Inc., 51 Franklin Street, | |
19 | - Fifth Floor, Boston, MA 02110-1301, USA. | |
20 | - ============================================================================ | |
21 | - Este arquivo é parte do Framework Demoiselle. | |
22 | - | |
23 | - O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou | |
24 | - modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação | |
25 | - do Software Livre (FSF). | |
26 | - | |
27 | - Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA | |
28 | - GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou | |
29 | - APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português | |
30 | - para maiores detalhes. | |
31 | - | |
32 | - Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título | |
33 | - "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses /> | |
34 | - ou escreva para a Fundação do Software Livre (FSF) Inc., | |
35 | - 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | |
36 | ---> | |
37 | -<configurations> | |
38 | - <propertyNotNull>1</propertyNotNull> | |
39 | -</configurations> |