I marked the failing JMS itest with @Ignore to continue my
build of the 1.4 RC4 source distro.  When building the vtest
directory, I got the following failure in the annotations
scope test.  Has anyone else seen this?

  Simon

Running org.apache.tuscany.sca.vtest.javaapi.annotations.scope.ScopeAnnotationTe
stCase
Setting up
05-Jan-2009 10:56:45 org.apache.tuscany.sca.node.impl.NodeImpl <init>
INFO: Creating node: scope.composite
05-Jan-2009 10:56:45 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
INFO: Loading contribution: file:/F:/tuscany-1.4-rc4/tuscany-sca-1.4-src/vtest/j
ava-api/annotations/scope/target/classes/
05-Jan-2009 10:56:46 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
INFO: Loading composite: file:/F:/tuscany-1.4-rc4/tuscany-sca-1.4-src/vtest/java
-api/annotations/scope/target/classes/scope.composite
05-Jan-2009 10:56:46 org.apache.tuscany.sca.node.impl.NodeImpl start
INFO: Starting node: scope.composite
GService->initGService
atScope1
ThreadB2->BService2
ThreadC1->CService4
ThreadC2->CService3
ThreadB1->BService9

atScope2
DService1->initDService
ThreadD1->DService1
DService3->initDService
ThreadD4->DService3
DService4->initDService
ThreadD0->DService4
DService2->initDService
ThreadD3->DService2
DService5->initDService
ThreadD2->DService5

atScope3
FService1->initFService
ThreadF1->FService1
ThreadF0->FService1
ThreadF3->FService1
ThreadF2->FService1
ThreadF4->FService1

atScope4
initCalledCounter=1
destroyCalledCounter=0

atScope5
IService2->initIService
IService3->initIService
IService1->initIService
IService4->initIService
IService3->endConversation
IService5->initIService
IService3->destroyIService
IService1->endConversation
IService1->destroyIService
IService2->endConversation
IService2->destroyIService
IService5->endConversation
IService5->destroyIService
IService4->endConversation
IService4->destroyIService
IService6->initIService
instanceCounter=6
initCalledCounter=5
destroyCalledCounter=5

atScope6
JService->initJService
KService1 calls LService 1st time:
LService1->initLService
    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
KService1 calls LService 2nd time:
    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
KService1 calls LService 3rd time:
    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
KService1 calls LService 4th time
    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
KService1 calls LService 5th time
    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
KService1 calls LService 6th time
    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
KService1 calls LService 7th time
    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
KService1 calls LService 8th time
    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
KService1 calls LService 9th time
    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
KService1 calls LService 10th time
    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0

Cleaning up
05-Jan-2009 10:56:48 org.apache.tuscany.sca.node.impl.NodeImpl stop
INFO: Stopping node: scope.composite
FService1->destroyFService
GService->destroyGService
JService->destroyJService
Tests run: 7, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 3.126 sec <<< FA
ILURE!
atScope5(org.apache.tuscany.sca.vtest.javaapi.annotations.scope.ScopeAnnotationT
estCase)  Time elapsed: 0.07 sec  <<< FAILURE!
junit.framework.ComparisonFailure: null expected:<[None]> but was:<[IncorrectIni
tCalledCounter]>
        at junit.framework.Assert.assertEquals(Assert.java:81)
        at junit.framework.Assert.assertEquals(Assert.java:87)
        at org.apache.tuscany.sca.vtest.javaapi.annotations.scope.ScopeAnnotatio
nTestCase.atScope5(ScopeAnnotationTestCase.java:243)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framework
Method.java:44)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCal
lable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMe
thod.java:41)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMet
hod.java:20)
        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.
java:28)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.ja
va:31)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun
ner.java:73)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun
ner.java:46)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
        at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.
java:28)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.ja
va:31)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
java:62)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:125)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:308)
        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:879)


Results :

Failed tests:
  atScope5(org.apache.tuscany.sca.vtest.javaapi.annotations.scope.ScopeAnnotatio
nTestCase)

Tests run: 7, Failures: 1, Errors: 0, Skipped: 1


Reply via email to