Differences between revisions 1 and 2
Revision 1 as of 2006-01-18 21:38:41
Size: 8132
Editor: TimEllison
Comment:
Revision 2 as of 2009-09-20 21:54:23
Size: 8134
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Using the Classlib [http://cvs.apache.org/dist/incubator/harmony/snapshots/ snapshot build] r38361. I downloaded Velocity release version 1.4, and ran the test suite which is really easy. There is a warning from Ant about the missing tools JAR, then the tests run and appear to pass OK. Using the Classlib [[http://cvs.apache.org/dist/incubator/harmony/snapshots/|snapshot build]] r38361. I downloaded Velocity release version 1.4, and ran the test suite which is really easy. There is a warning from Ant about the missing tools JAR, then the tests run and appear to pass OK.

Using the Classlib snapshot build r38361. I downloaded Velocity release version 1.4, and ran the test suite which is really easy. There is a warning from Ant about the missing tools JAR, then the tests run and appear to pass OK.

On Windows XP:

set JAVA_HOME=
set PATH=<path to harmony jre\bin>;%PATH%


c:\download\velocity-1.4\build>ant test
Unable to locate tools.jar. Expected to find it in c:\harmony\enhanced\classlib\trunk\deploy\lib\tools.jar
Buildfile: build.xml

env:
     [echo] java.home = c:\harmony\enhanced\classlib\trunk\deploy\jre
     [echo] user.home = C:\Documents and Settings\gb038073
     [echo] java.class.path = c:\download\apache-ant-1.6.5\bin\..\lib\ant-launcher.jar;C:\download\apache-ant-1.6.5\lib\ant-antlr.jar;C:\download\apache-ant-1.6.5\lib\ant-apache-bcel.jar;C:\download\ap
s-logging.jar;C:\download\apache-ant-1.6.5\lib\ant-commons-net.jar;C:\download\apache-ant-1.6.5\lib\ant-icontract.jar;C:\download\apache-ant-1.6.5\lib\ant-jai.jar;C:\download\apache-ant-1.6.5\lib\ant-j
:\download\apache-ant-1.6.5\lib\ant-nodeps.jar;C:\download\apache-ant-1.6.5\lib\ant-starteam.jar;C:\download\apache-ant-1.6.5\lib\ant-stylebook.jar;C:\download\apache-ant-1.6.5\lib\ant-swing.jar;C:\dow
lib\jdtCompilerAdapter.jar;C:\download\apache-ant-1.6.5\lib\junit.jar;C:\download\apache-ant-1.6.5\lib\org.eclipse.jdt.core_3.2.0.v_631.jar;C:\download\apache-ant-1.6.5\lib\xercesImpl.jar;C:\download\a


prepare:

compile:

compile-copy:

test:

test-template:
     [echo] Running Template tests...
     [java] Adding TemplateTestCase : arithmetic
     [java] Adding TemplateTestCase : array
     [java] Adding TemplateTestCase : block
     [java] Adding TemplateTestCase : comment
     [java] Adding TemplateTestCase : equality
     [java] Adding TemplateTestCase : escape
     [java] Adding TemplateTestCase : foreach-array
     [java] Adding TemplateTestCase : foreach-method
     [java] Adding TemplateTestCase : foreach-variable
     [java] Adding TemplateTestCase : formal
     [java] Adding TemplateTestCase : if
     [java] Adding TemplateTestCase : logical
     [java] Adding TemplateTestCase : loop
     [java] Adding TemplateTestCase : method
     [java] Adding TemplateTestCase : quotes
     [java] Adding TemplateTestCase : sample
     [java] Adding TemplateTestCase : shorthand
     [java] Adding TemplateTestCase : test
     [java] Adding TemplateTestCase : diabolical
     [java] Adding TemplateTestCase : pedantic
     [java] Adding TemplateTestCase : subclass
     [java] Adding TemplateTestCase : foreach-map
     [java] Adding TemplateTestCase : include
     [java] Adding TemplateTestCase : escape2
     [java] Adding TemplateTestCase : parse
     [java] Adding TemplateTestCase : velocimacro
     [java] Adding TemplateTestCase : reference
     [java] Adding TemplateTestCase : interpolation
     [java] Adding TemplateTestCase : vm_test1
     [java] Adding TemplateTestCase : map
     [java] Adding TemplateTestCase : literal
     [java] Adding TemplateTestCase : ifstatement
     [java] Adding TemplateTestCase : math
     [java] Adding TemplateTestCase : range
     [java] Adding TemplateTestCase : get
     [java] Adding TemplateTestCase : velocimacro2
     [java] Adding TemplateTestCase : foreach-type
     [java] Adding TemplateTestCase : foreach-introspect
     [java] Adding TemplateTestCase : settest
     [java] .......................................
     [java] Time: 3.313

     [java] OK (39 tests)


test-velocityapp:
     [echo] Running app.Velocity tests...
     [java] .
     [java] Time: 0

     [java] OK (1 tests)


test-introspect:
     [echo] Running Introspector tests...
     [java] .
     [java] Time: 0.18

     [java] OK (1 tests)


test-introspect2:
     [echo] Running Introspector2 tests...
     [java] .
     [java] Time: 0.53

     [java] OK (1 tests)


test-classloaderchange:
     [java] .
     [java] Time: 0.051

     [java] OK (1 tests)


test-inlinevmscope:
     [echo] Running Inline VM Scope tests...
     [java] .
     [java] Time: 0.19

     [java] OK (1 tests)


test-multi:
     [echo] Running Multiple File Resource Path tests...
     [java] .
     [java] Time: 0.09

     [java] OK (1 tests)


test-cpload:
     [echo] Running Classpath Resource tests...
     [java] .
     [java] Time: 0.07

     [java] OK (1 tests)


test-contextsafety:
     [echo] Running Context Safety tests...
     [java] .
     [java] Time: 0.04

     [java] OK (1 tests)


test-configuration:
     [java] .
     [java] Time: 0.361

     [java] OK (1 tests)


test-commonsextprop:
     [java] .
     [java] Time: 0.201

     [java] OK (1 tests)


test-externallogger:
     [echo] Running external logger tests...
     [java] .
     [java] Time: 0

     [java] OK (1 tests)


test-methodinvocationexception:
     [echo] Running MethodInvocationException tests...
     [java] .Caught MIE (good!) :
     [java]   reference = woogie
     [java]   method    = doException
     [java]   throwable = java.lang.NullPointerException
     [java]   exception = null
     [java] Caught MIE (good!) :
     [java]   reference = woogie
     [java]   method    = getFoo
     [java]   throwable = java.lang.Exception: Hello from getFoo()
     [java]   exception = Hello from getFoo()
     [java] Caught MIE (good!) :
     [java]   reference = woogie
     [java]   method    = getFoo
     [java]   throwable = java.lang.Exception: Hello from getFoo()
     [java]   exception = Hello from getFoo()
     [java] Caught MIE (good!) :
     [java]   reference =
     [java]   method    = foo
     [java]   throwable = java.lang.Exception: Hello from setFoo()
     [java]   exception = Hello from setFoo()

     [java] Time: 0.1

     [java] OK (1 tests)


test-multiloader:
     [echo] Running MultiLoader tests...
     [java] .
     [java] Time: 0.06

     [java] OK (1 tests)


test-encoding:
     [echo] Running Template encoding test...
     [java] .
     [java] Time: 0.211

     [java] OK (1 tests)


test-eventhandling:
     [echo] Running Event Handler tests...
     [java] .
     [java] Time: 0.07

     [java] OK (1 tests)


test-velocimacro:
     [echo] Running Velocimacro tests...
     [java] .
     [java] Time: 0.08

     [java] OK (1 tests)


test-anakia:
     [echo] Running Anakia tests...
   [anakia] Transforming into: C:\download\velocity-1.4\test\anakia\results
   [anakia] Input:  index.xml
   [anakia] Output: C:\download\velocity-1.4\test\anakia\results\index.html
     [java] .Passed!

     [java] Time: 0.03

     [java] OK (1 tests)


test-texen:
    [texen] Using contextProperties file: C:\download\velocity-1.4\test\texen\service.props
    [texen] Using contextProperties file: C:\download\velocity-1.4\test\texen\additional.props
    [texen] ../test/texen/templates
    [texen] Generating to file C:\download\velocity-1.4\test\texen\results\report
     [java] .
     [java] Time: 0.801

     [java] OK (1 tests)


test-texen-classpath:
  [taskdef] The reverseloader attribute is DEPRECATED. It will be removed
Trying to override old definition of task texen
    [texen] Using contextProperties file: C:\download\velocity-1.4\build\service.props
    [texen] Using classpath
    [texen] Generating to file C:\download\velocity-1.4\test\texen-classpath\results\report
     [java] .
     [java] Time: 0.32

     [java] OK (1 tests)


test-misc:
     [echo] Running misc tests...
     [java] .
     [java] Time: 0

     [java] OK (1 tests)


test-servlet:
     [echo] Running VelocityServlet tests...
     [java] .output.encoding=UTF-8

     [java] Time: 1.021

     [java] OK (1 tests)


test-parser:
     [echo] Running special parser tests...
     [java] ...Caught pee!

     [java] Time: 1.041

     [java] OK (3 tests)


test-all:

BUILD SUCCESSFUL
Total time: 58 seconds
c:\download\velocity-1.4\build>

Apache_Velocity (last edited 2009-09-20 21:54:23 by localhost)