Changeset 8722 for trunk/greenstone3-extensions
- Timestamp:
- 2004-12-02T10:35:00+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/greenstone3-extensions/gsdl-as/test-src/org/greenstone/gsdlas/AlertingServiceTest.java
r8720 r8722 43 43 arguments.put("document_content", "albatros"); 44 44 45 String template = as. subscribe(arguments, context);45 String template = as.createSubscription(arguments, context); 46 46 47 47 StringWriter w = new StringWriter(); … … 110 110 arguments.put("host_url", "http://localhost:8080/soap/servlet/rpcrouter"); 111 111 112 String template = as.receiveEvent(arguments, context);112 as.receiveEvent(arguments); 113 113 114 StringWriter w = new StringWriter();115 boolean b = Velocity.mergeTemplate(template,116 org.apache.velocity.runtime.RuntimeSingleton.getString(Velocity.INPUT_ENCODING, Velocity.ENCODING_DEFAULT),117 context,118 w);119 assertTrue(b);120 System.out.println(w);121 114 } catch (ResourceNotFoundException e) { 122 115 e.printStackTrace();
Note:
See TracChangeset
for help on using the changeset viewer.