Project

General

Profile

« Previous | Next » 

Revision f1a25720

Added by Katja Luther over 6 years ago

  • ID f1a25720755daa96e8838a617a660dfced7b9f31
  • Parent 23e50194

first implementation for change from joda time to java8 time

View differences:

cdmlib-model/src/test/java/eu/etaxonomy/cdm/strategy/cache/agent/PersonDefaultCacheStrategyTest.java
121 121
		//don't take to serious, may be also something different, but not empty
122 122
		Assert.assertEquals("Person3 title cache should start with Person#0", "Person#0", person3.getTitleCache().substring(0, 8));
123 123
		person3.setFirstname("Klaus");
124
		person3.setTitleCache(null, false);
124 125
		Assert.assertEquals("Person3 title cache should be Klaus", "K.", person3.getTitleCache());
125 126
	}
126 127

  
......
147 148
                expected, pers.getTitleCache());
148 149

  
149 150
        pers.setInitials(null);
151
        pers.setTitleCache(null, false);
150 152
        expected = "Last, F.";
151 153
        Assert.assertEquals("Initials should be computed from firstname if not set manually",
152 154
                expected, pers.getTitleCache());

Also available in: Unified diff