Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
daaexample
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
David Santiago Colmenares González
daaexample
Commits
8b8befd6
Commit
8b8befd6
authored
Mar 22, 2021
by
DavidSholito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Proyecto Mascotas Acabado
Proyecto de mascotas para subir a GitHub
parent
1fca9d13
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
12 deletions
+11
-12
people.js
src/main/webapp/js/view/people.js
+3
-3
pets.js
src/main/webapp/js/view/pets.js
+4
-4
PetUnitTest.java
src/test/java/es/uvigo/esei/daa/entities/PetUnitTest.java
+4
-5
No files found.
src/main/webapp/js/view/people.js
View file @
8b8befd6
...
...
@@ -129,10 +129,10 @@ var PeopleView = (function() {
$
(
'#btnSubmit'
).
val
(
'Crear'
);
};
this
.
detachForms
=
function
(
person
)
{
$
(
formQuery
).
remove
();
this
.
detachForms
=
function
(
person
)
{
$
(
formQuery
).
remove
();
$
(
listQuery
).
remove
();
$
(
'#titulo'
).
text
(
'Mascotas de '
+
person
.
name
+
' '
+
person
.
surname
);
$
(
'#titulo'
).
text
(
'Mascotas de '
+
person
.
name
+
' '
+
person
.
surname
);
};
};
...
...
src/main/webapp/js/view/pets.js
View file @
8b8befd6
...
...
@@ -137,10 +137,10 @@ var PetsView = (function() {
$
(
'#btnSubmit'
).
val
(
'Crear'
);
};
this
.
detachForms
=
function
()
{
$
(
formQuery
).
detach
();
$
(
listQuery
).
detach
();
$
(
'#titulo'
).
text
(
'Personas'
);
this
.
detachForms
=
function
()
{
$
(
formQuery
).
remove
();
$
(
listQuery
).
remove
();
$
(
'#titulo'
).
text
(
'Personas'
);
};
};
...
...
src/test/java/es/uvigo/esei/daa/entities/PetUnitTest.java
View file @
8b8befd6
...
...
@@ -93,14 +93,13 @@ public class PetUnitTest {
assertTrue
(
petA
.
equals
(
petB
));
}
/*
@Test
public
void
testEqualsHashcode
()
{
EqualsVerifier.forClass(Pe
rson
.class)
EqualsVerifier
.
forClass
(
Pe
t
.
class
)
.
withIgnoredFields
(
"name"
,
"surname"
)
.
suppress
(
Warning
.
STRICT_INHERITANCE
)
.suppress(Warning.NONFINAL_FIELDS)
.verify();
.
suppress
(
Warning
.
NONFINAL_FIELDS
).
verify
();
}
*/
}
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