Ignore:
Timestamp:
2004-12-02T10:35:00+13:00 (19 years ago)
Author:
schweer
Message:

fix compile errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/greenstone3-extensions/gsdl-as/test-src/org/greenstone/gsdlas/AlertingServiceTest.java

    r8720 r8722  
    4343            arguments.put("document_content", "albatros");
    4444           
    45             String template = as.subscribe(arguments, context);
     45            String template = as.createSubscription(arguments, context);
    4646           
    4747            StringWriter w = new StringWriter();
     
    110110            arguments.put("host_url", "http://localhost:8080/soap/servlet/rpcrouter");
    111111           
    112             String template = as.receiveEvent(arguments, context);
     112            as.receiveEvent(arguments);
    113113           
    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);
    121114        } catch (ResourceNotFoundException e) {
    122115            e.printStackTrace();
Note: See TracChangeset for help on using the changeset viewer.