river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Firmstone <j...@zeus.net.au>
Subject Re: [jira] Updated: (RIVER-304) Reactivate River jtreg tests
Date Thu, 23 Apr 2009 11:26:49 GMT
Playing around with jtreg, this is something like how you work it, hey 
some tests are even passing ;)

To put it simply, jtreg is primarily for Regression testing, to make 
sure bugs don't reoccur, although it does unit tests also, seems quite 
simple, doesn't look too difficult, be good to have some more 
information on setting up these tests though.

bash-3.00$ jtreg -verbose:summary -jdk /usr/jdk/latest 
-cpa:../../build/classes/ ./
Passed: 
com/sun/jini/action/catchSecurityException/CatchSecurityException.java
Passed: com/sun/jini/config/KeyStores/TestGetKeyStore.java
Passed: com/sun/jini/config/KeyStores/TestGetX500Principal.java
Passed: com/sun/jini/phoenix/ExecOptionPermission/Operations.java
Passed: com/sun/jini/tool/CheckConfigurationFile/TestCheck.java
FAILED: 
java/rmi/server/RMIClassLoader/loadProxyClasses/PreferredLoadProxyClasses.java
Passed: 
java/rmi/server/Unreferenced/marshalledObjectGet/MarshalledObjectGet.java
Passed: java/rmi/server/Unreferenced/whenOnUnexport/WhenOnUnexport.java
FAILED: 
net/jini/activation/Activatable/activateExceptionTest/ActivateExceptionTest.java
FAILED: net/jini/activation/Activatable/activateFailure/ActivateFailure.java
FAILED: 
net/jini/activation/Activatable/checkImplClassLoader/CheckImplClassLoader.java
FAILED: 
net/jini/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java
FAILED: 
net/jini/activation/Activatable/createPrivateActivable/CreatePrivateActivatable.java
FAILED: 
net/jini/activation/Activatable/downloadParameterClass/DownloadParameterClass.java
FAILED: 
net/jini/activation/Activatable/downloadSecurityManager/DownloadSecurityManager.java
FAILED: 
net/jini/activation/Activatable/forceLogSnapshot/ForceLogSnapshot.java
FAILED: net/jini/activation/Activatable/inactiveGroup/InactiveGroup.java
FAILED: net/jini/activation/Activatable/nestedActivate/NestedActivate.java
FAILED: 
net/jini/activation/Activatable/nonExistentActivatable/NonExistentActivatable.java
FAILED: 
net/jini/activation/Activatable/restartCrashedService/RestartCrashedService.java
FAILED: net/jini/activation/Activatable/restartService/RestartService.java
FAILED: net/jini/activation/Activatable/terminateGroup/TerminateGroup.java
FAILED: 
net/jini/activation/Activatable/unregisterInactive/UnregisterInactive.java
FAILED: 
net/jini/activation/Activatable/useProxyAccessor/UseProxyAccessor.java
Passed: 
net/jini/activation/ActivatableInvocationHandler/readObject/ReadObject.java
FAILED: 
net/jini/activation/ActivationAdmin/getGroupsObjects/GetGroupsObjects.java
FAILED: 
net/jini/activation/ActivationSystem/accessControl/AccessControl.java
FAILED: 
net/jini/activation/ActivationSystem/bootstrapAttack/BootstrapAttack.java
FAILED: 
net/jini/activation/ActivationSystem/ensureRestart/EnsureRestart.java
FAILED: 
net/jini/activation/ActivationSystem/unregisterGroup/UnregisterGroup.java
FAILED: net/jini/config/ConfigurationFile/TestParser/TestParser.java
FAILED: net/jini/config/TestAPI/TestConstructor.java
FAILED: net/jini/config/TestAPI/TestGetEntryType.java
FAILED: net/jini/config/TestAPI/TestGetInstance.java
Passed: net/jini/config/TestAPI/TestOverrides.java
Passed: net/jini/config/TestAPI/TestUnicodeEscapesDecodingReader.java
Passed: net/jini/config/TestAbstractConfiguration.java
Passed: net/jini/config/TestEmptyConfiguration.java
Passed: 
net/jini/constraints/BasicMethodConstraints/getConstraints/GetConstraints.java
Passed: net/jini/constraints/BasicMethodConstraints/ordering/Ordering.java
Passed: net/jini/constraints/basicOperations/BasicOperations.java
Passed: net/jini/constraints/readObject/ReadObject.java
Passed: net/jini/iiop/echo/ConnectedExport.java
Passed: net/jini/iiop/echo/NonIiopExport.java
Passed: net/jini/iiop/echo/UnconnectedExport.java
FAILED: 
net/jini/io/MarshalInputStream/verifyWithEqualLoaders/VerifyWithEqualLoaders.java
Passed: 
net/jini/jeri/BasicInvocationDispatcher/checkClientPermission/CheckClientPermission.java
Passed: 
net/jini/jeri/BasicInvocationDispatcher/suppressStackTraces/SuppressStackTraces.java
Passed: 
net/jini/jeri/BasicInvocationHandler/serverStackTrace/ServerStackTrace.java
Passed: 
net/jini/jeri/BasicInvocationHandler/unmarshalUnexpectedException/UnmarshalUnexpectedException.java
FAILED: 
net/jini/jeri/BasicJeriExporter/dgcServerExposure/DgcServerExposure.java
Passed: 
net/jini/jeri/BasicJeriExporter/globalListenLock/GlobalListenLock.java
FAILED: net/jini/jeri/BasicJeriExporter/operations/Operations.java
Passed: net/jini/jeri/BasicJeriExporter/sameClassCheck/SameClassCheck.java
Passed: net/jini/jeri/BasicJeriTrustVerifier/BjtvSubclassTest.java
FAILED: 
net/jini/jeri/connection/ConnectionManager/overlocking/Overlocking.java
Passed: 
net/jini/jeri/connection/ConnectionManager/saturation/Saturation.java
Passed: net/jini/jeri/http/connectionReuse/Test.java
FAILED: net/jini/jeri/http/echo/EchoImpl.java
Passed: 
net/jini/jeri/internal/runtime/getRemoteInterfaces/GetRemoteInterfaces.java
Passed: 
net/jini/jeri/internal/runtime/runtimeThreadInheritanceLeak/RuntimeThreadInheritanceLeak.java
FAILED: net/jini/jeri/kerberos/RegressionTests/runListenEndpointTest.sh
FAILED: net/jini/jeri/kerberos/UnitTests/runTestEndpoints.sh
FAILED: net/jini/jeri/kerberos/UnitTests/runTestPerformance.sh
Passed: net/jini/jeri/kerberos/UnitTests/TestVerifier.java
FAILED: net/jini/jeri/ssl/UnitTests/TestConnectionContext.java
FAILED: net/jini/jeri/ssl/UnitTests/TestEndpoint.java
FAILED: net/jini/jeri/ssl/UnitTests/TestEndpointHttps.sh
FAILED: net/jini/jeri/ssl/UnitTests/TestEndpointInternal.java
FAILED: net/jini/jeri/ssl/UnitTests/TestEndpointInternalHttps.sh
FAILED: net/jini/jeri/ssl/UnitTests/TestPerformance.java
FAILED: net/jini/jeri/ssl/UnitTests/TestPerformanceHttps.sh
FAILED: net/jini/jeri/ssl/UnitTests/TestRMI.java
FAILED: net/jini/jeri/ssl/UnitTests/TestRMIHttps.sh
FAILED: net/jini/jeri/ssl/UnitTests/TestServerEndpoint.java
FAILED: net/jini/jeri/ssl/UnitTests/TestServerEndpointHttps.sh
FAILED: net/jini/jeri/ssl/UnitTests/TestTwoEndpoints.java
FAILED: net/jini/jeri/ssl/UnitTests/TestUtilities.java
FAILED: net/jini/jeri/ssl/UnitTests/TestVerifier.java
FAILED: net/jini/jeri/ssl/UnitTests/TestWeakSoftTable.java
Passed: net/jini/jeri/tcp/connectTimeout/TestConnectTimeout.java
FAILED: net/jini/jeri/tcp/localHostExposure/LocalHostExposure.java
Passed: net/jini/jeri/tcp/outOfThreads/OutOfThreads.java

output cut.

Cheers,

Peter.

Mime
View raw message