Revision d774802a
Added by Andreas Müller almost 8 years ago
cdmlib-model/src/test/java/eu/etaxonomy/cdm/strategy/cache/reference/NewDefaultReferenceCacheStrategyTest.java | ||
---|---|---|
90 | 90 |
public void setUp() throws Exception { |
91 | 91 |
//article |
92 | 92 |
article1 = ReferenceFactory.newArticle(); |
93 |
article1.setCacheStrategy(defaultStrategy); |
|
94 | 93 |
journal1 = ReferenceFactory.newJournal(); |
95 |
journal1.setCacheStrategy(defaultStrategy); |
|
96 | 94 |
articleTeam1 = Team.NewInstance(); |
97 | 95 |
articleTeam2 = Team.NewInstance(); |
98 | 96 |
articleTeam1.setTitleCache("Team1", true); |
... | ... | |
102 | 100 |
|
103 | 101 |
//book / section |
104 | 102 |
book1 = ReferenceFactory.newBook(); |
105 |
book1.setCacheStrategy(defaultStrategy); |
|
106 | 103 |
bookTeam1 = Team.NewTitledInstance("Book Author", "TT."); |
107 | 104 |
bookSection1 = ReferenceFactory.newBookSection(); |
108 | 105 |
bookSection1.setCacheStrategy(defaultStrategy); |
Also available in: Unified diff
Further clean up reference cache strategies #5833