@@ -65,9 +65,8 @@ public class DomainTest {
|
||||
User user = new User("ich","Micha","password").persist();
|
||||
Rating awesome = user.rate(movie, 5, "Awesome");
|
||||
|
||||
|
||||
User foundUser = userRepository.findByPropertyValue("login", "ich");
|
||||
Rating rating = user.getRatings().iterator().next();
|
||||
Rating rating = foundUser.getRatings().iterator().next();
|
||||
assertEquals(awesome,rating);
|
||||
assertEquals("Awesome",rating.getComment());
|
||||
assertEquals(5,rating.getStars());
|
||||
|
||||
@@ -50,8 +50,8 @@
|
||||
<ulink url="http://www.eclipse.org/ajdt/downloads/">http://www.eclipse.org/ajdt/downloads/</ulink>
|
||||
(it might be necessary to use the latest development snapshot of the plugin).
|
||||
The current version that does not show incorrect errors is AspectJ 1.6.12 (included in STS 2.8.0), previous versions are reported
|
||||
to mislead the user. Note that as of Spring Data Neo4j version 2.0.1 the AspectJ version 1.7.0 is not yet supported. This also
|
||||
means that AJDT 2.2.0 on Eclipse 4.2 is not yet supported as this version of AJDT internally uses AspectJ 1.7.0.
|
||||
to mislead the user. Note that AJDT (as of September 2012) requires projects to be rebuild after Eclipse is started to fully
|
||||
support all advanced features.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
|
||||
Reference in New Issue
Block a user