Search Results
OK to copy?
Examples 1 through 8 of
8 (0.0080 seconds)
Class:
org.springframework.beans.ConcurrentBeanWrapperTests
©,
Rating:
0% of 0,
C2
Class: org.springframework.beans.propertyeditors.PropertyEditorTests ©, Rating: 0% of 0, C1
Class: org.springframework.beans.propertyeditors.PropertyEditorTests ©, Rating: 0% of 0, C1
Class: org.springframework.beans.propertyeditors.PropertyEditorTests ©, Rating: 0% of 0, C1
Class: org.springframework.beans.propertyeditors.PropertyEditorTests ©, Rating: 0% of 0, C1
Class: org.springframework.beans.propertyeditors.PropertyEditorTests ©, Rating: 0% of 0, C1
Class: org.springframework.beans.propertyeditors.PropertyEditorTests ©, Rating: 0% of 0, C1
Class: org.springframework.ui.velocity.VelocityEngineFactory ©, Rating: 0% of 0, C3
080 assertTrue("The System properties must not be empty", p.size() != 0);
081
082 for (Iterator i = p.entrySet().iterator(); i.hasNext();) {
083 i.next();
084 if (Math.random() > 0.9) {
Class: org.springframework.beans.propertyeditors.PropertyEditorTests ©, Rating: 0% of 0, C1
102 pe.setAsText(s);
103 Properties p= (Properties) pe.getValue();
104 assertTrue("contains three entries", p.entrySet().size() == 3);
105 assertTrue("foo is bar", p.get("foo").equals("bar"));
106 assertTrue("me=mi", p.get("me").equals("mi"));
Class: org.springframework.beans.propertyeditors.PropertyEditorTests ©, Rating: 0% of 0, C1
084 pe.setAsText(s);
085 Properties p= (Properties) pe.getValue();
086 assertTrue("contains three entries", p.entrySet().size() == 3);
087 assertTrue("foo is empty", p.get("foo").equals(""));
088 assertTrue("me=mi", p.get("me").equals("mi"));
Class: org.springframework.beans.propertyeditors.PropertyEditorTests ©, Rating: 0% of 0, C1
073 pe.setAsText(s);
074 Properties p= (Properties) pe.getValue();
075 assertTrue("contains two entries", p.entrySet().size() == 3);
076 assertTrue("foo=bar", p.get("foo").equals("bar"));
077 assertTrue("me=mi", p.get("me").equals("mi"));
Class: org.springframework.beans.propertyeditors.PropertyEditorTests ©, Rating: 0% of 0, C1
062 pe.setAsText(s);
063 Properties p= (Properties) pe.getValue();
064 assertTrue("contains two entries", p.entrySet().size() == 3);
065 assertTrue("foo=bar", p.get("foo").equals("bar"));
066 assertTrue("me=mi", p.get("me").equals("mi"));
Class: org.springframework.beans.propertyeditors.PropertyEditorTests ©, Rating: 0% of 0, C1
050 pe.setAsText(s);
051 Properties p= (Properties) pe.getValue();
052 assertTrue("contains two entries", p.entrySet().size() == 2);
053 assertTrue("foo=bar with whitespace", p.get("foo").equals("bar with whitespace"));
054 assertTrue("me=mi", p.get("me").equals("mi"));
Class: org.springframework.beans.propertyeditors.PropertyEditorTests ©, Rating: 0% of 0, C1
040 pe.setAsText(s);
041 Properties p= (Properties) pe.getValue();
042 assertTrue("contains one entry", p.entrySet().size() == 1);
043 assertTrue("foo=bar", p.get("foo").equals("bar"));
044 }
Class: org.springframework.ui.velocity.VelocityEngineFactory ©, Rating: 0% of 0, C3
259
260 // Apply properties to VelocityEngine.
261 for (Iterator it = props.entrySet().iterator(); it.hasNext();) {
262 Map.Entry entry = (Map.Entry) it.next();
263 if (!(entry.getKey() instanceof String)) {
Result Page:
1