Details
-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b105
-
Verified
Description
This test is being reported as passing but it is not actually running.
#Test Results (version 2)
#Thu Aug 15 19:01:43 PDT 2013
#checksum:3589fa962fbbb892
#-----testdescription-----
$file=/Users/aurora/sandbox/testbase/test/java/util/Comparator/TypeTest.java
$root=/Users/aurora/sandbox/testbase/test
run=USER_SPECIFIED testng TypeTest\n
source=TypeTest.java
title=Comparator API narrowing type test
#-----environment-----
#-----testresult-----
description=file\:/Users/aurora/sandbox/testbase/test/java/util/Comparator/TypeTest.java
elapsed=74 0\:00\:00.074
end=Thu Aug 15 19\:01\:43 PDT 2013
environment=regtest
execStatus=Passed. Execution successful
hostname=sc14160057.us.oracle.com
javatestOS=Linux 2.6.18-238.0.0.0.1.el5xen (i386)
javatestVersion=4.4
jtregVersion=jtreg 4.1 fcs b06
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile testng
start=Thu Aug 15 19\:01\:43 PDT 2013
test=java/util/Comparator/TypeTest.java
user.name=aurora
work=/Users/aurora/sandbox/gresults/testoutput/jdk_util/JTwork/java/util/Comparator
#section:script_messages
----------messages:(5/216)----------
JDK under test: (/Users/aurora/sandbox/jdk)
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-langtools-nightly-h5415-20130815-b104-b00)
Java HotSpot(TM) Server VM (build 25.0-b45, mixed mode)
#section:build
----------messages:(3/93)----------
command: build TypeTest
reason: Named class compiled on demand
elapsed time (seconds): 0.019
result: Passed. Build successful
#section:compile
----------messages:(3/195)----------
command: compile -XDignore.symbol.file=true /Users/aurora/sandbox/testbase/test/java/util/Comparator/TypeTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.019
result: Passed. Compilation successful
#section:testng
----------messages:(3/107)----------
command: testng TypeTest
reason: User specified action: run testng TypeTest
elapsed time (seconds): 0.054
----------System.out:(39/2195)----------
[TestNG] Running:
java/util/Comparator/TypeTest.java
test public static void TypeTest.main(java.lang.String[]): skip
org.testng.TestNGException:
Method main requires 1 parameters but 0 were supplied in the @Test annotation.
at org.testng.internal.Parameters.checkParameterTypes(Parameters.java:198)
at org.testng.internal.Parameters.createParameters(Parameters.java:134)
at org.testng.internal.Parameters.createParameters(Parameters.java:370)
at org.testng.internal.Parameters.handleParameters(Parameters.java:447)
at org.testng.internal.Invoker.handleParameters(Invoker.java:1389)
at org.testng.internal.Invoker.createParameters(Invoker.java:1081)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1186)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:51)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
at org.testng.TestNG.run(TestNG.java:1030)
at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:728)
at java.lang.Thread.run(Thread.java:724)
===============================================
java/util/Comparator/TypeTest.java
Total tests run: 1, Failures: 1, Skips: 0
===============================================
----------System.err:(3/36)----------
JavaTest Message: Test complete.
result: Passed. Execution successful
test result: Passed. Execution successful