Changes
Page history
Update wiki to match gradle conversion
authored
Dec 17, 2020
by
Derek Williams
Hide whitespace changes
Inline
Side-by-side
Message.md
View page @
a3490d47
...
@@ -5,7 +5,7 @@ Given that, things are a little more complex for us. For consistency, we want a
...
@@ -5,7 +5,7 @@ Given that, things are a little more complex for us. For consistency, we want a
1.
The name number end in "Message"
1.
The name number end in "Message"
1.
The class must implement both Serializable and Message (both for marking purposes)
1.
The class must implement both Serializable and Message (both for marking purposes)
1.
The class must be in the communication.messages package in the GameShared project
1.
The class must be in the communication.messages package in the GameShared project
1.
The class must contain a toString that returns the name of the class, a colon, and the instance variables it contains.
1.
The class must contain a toString that returns the name of the class, a colon, and the instance variables it contains.
1.
There is a getter for each instance variable
1.
There is a getter for each instance variable
In addition, we should try to meet these objectives:
In addition, we should try to meet these objectives:
...
@@ -41,6 +41,6 @@ public class LoginMessageTest
...
@@ -41,6 +41,6 @@ public class LoginMessageTest
assertEquals
(
"fred"
,
msg
.
getUserName
());
assertEquals
(
"fred"
,
msg
.
getUserName
());
assertEquals
(
"xxx"
,
msg
.
getPassword
());
assertEquals
(
"xxx"
,
msg
.
getPassword
());
}
}
}
}
```
```