e.g. Calendar Search Help
You must enter a value before pressing Search
Search Results OK to copy? Examples 1 through 10 of 13 (0.0020 seconds)
Class: org.springframework.jndi.JndiTemplateEditorTests  ©, Rating: 0% of 0, C1

49 je.setAsText("jndiInitialSomethingOrOther=org.springframework.myjndi.CompleteRubbish\nfoo=bar"); 50 JndiTemplate jt = (JndiTemplate) je.getValue(); 51 assertTrue(jt.getEnvironment().size() == 2); 52 assertTrue(jt.getEnvironment().getProperty("jndiInitialSomethingOrOther").equals("org.springframework.myjndi.CompleteRubbish")); 53 assertTrue(jt.getEnvironment().getProperty("foo").equals("bar"));

Class: org.springframework.beans.ConcurrentBeanWrapperTests  ©, Rating: 0% of 0, C2

078 Properties p = (Properties) System.getProperties().clone(); 079 080 assertTrue("The System properties must not be empty", p.size() != 0); 081 082 for (Iterator i = p.entrySet().iterator(); i.hasNext();) {

Class: org.springframework.beans.propertyeditors.PropertyEditorTests  ©, Rating: 0% of 0, C1

123 pe.setAsText(s); 124 Properties p= (Properties) pe.getValue(); 125 assertTrue("contains 3 entries, not " + p.size(), p.size() == 3); 126 assertTrue("foo is bar", p.get("foo").equals("bar")); 127 assertTrue("me=mi", p.get("me").equals("mi"));

Class: org.springframework.web.servlet.view.jasperreports.JasperReportsMultiFormatView  ©, Rating: 100% of 3, C2

202 */ 203 private void populateContentDispositionIfNecessary(String format, HttpServletResponse response) { 204 if(contentDispositionMappings != null && contentDispositionMappings.size() > 0) { 205 String header = contentDispositionMappings.getProperty(format); 206 if(header != null) {

Class: org.apache.tools.ant.types.selectors.modifiedselector.PropertiesfileCache  ©, Rating: 0% of 0, C1

211 buf.append("<PropertiesfileCache:"); 212 buf.append("cachefile=").append(cachefile); 213 buf.append(";noOfEntries=").append(cache.size()); 214 buf.append(">"); 215 return buf.toString();

Class: org.springframework.web.servlet.view.jasperreports.AbstractJasperReportsView  ©, Rating: 0% of 0, C2

264 throw new ApplicationContextException("'reportDataKey' for main report is required when specifying a value for 'subReportDataKeys'"); 265 } 266 this.subReports = new HashMap(this.subReportUrls.size()); 267 for (Enumeration urls = this.subReportUrls.propertyNames(); urls.hasMoreElements();) { 268 String key = (String) urls.nextElement();

Class: org.springframework.web.servlet.view.velocity.VelocityView  ©, Rating: 0% of 0, C1

135 */ 136 public void setToolAttributes(Properties toolAttributes) { 137 this.toolAttributes = new HashMap(toolAttributes.size()); 138 for (Enumeration attributeNames = toolAttributes.propertyNames(); attributeNames.hasMoreElements();) { 139 String attributeName = (String) attributeNames.nextElement();

Class: org.springframework.beans.factory.xml.XmlBeanCollectionTests  ©, Rating: 0% of 0, C1

337 338 HasMap hasMap2 = (HasMap) xbf.getBean("propsViaMap"); 339 assertEquals(2, hasMap2.getProps().size()); 340 assertEquals("bar", hasMap2.getProps().getProperty("foo")); 341 assertEquals("TWO", hasMap2.getProps().getProperty("2"));

Class: org.springframework.beans.factory.xml.XmlBeanCollectionTests  ©, Rating: 0% of 0, C1

332 333 HasMap hasMap = (HasMap) xbf.getBean("props"); 334 assertEquals(2, hasMap.getProps().size()); 335 assertEquals("bar", hasMap.getProps().getProperty("foo")); 336 assertEquals("TWO", hasMap.getProps().getProperty("2"));

Class: org.springframework.beans.factory.xml.XmlBeanCollectionTests  ©, Rating: 0% of 0, C1

298 XmlBeanFactory xbf = new XmlBeanFactory(new ClassPathResource("collections.xml", getClass())); 299 HasMap hasMap = (HasMap) xbf.getBean("props"); 300 assertTrue(hasMap.getProps().size() == 2); 301 assertTrue(hasMap.getProps().get("foo").equals("bar")); 302 assertTrue(hasMap.getProps().get("2").equals("TWO"));

Result Page:  1.0  |  2.0   Next