changeset 15696:33f2f7c81459

8166450: smartcardio related tests failed on compilation during execution with jtreg tool Reviewed-by: weijun
author skovalev
date Wed, 21 Sep 2016 17:09:41 +0300
parents df20e8be623d
children 7580345fd131
files test/sun/security/smartcardio/TestChannel.java test/sun/security/smartcardio/TestConnect.java test/sun/security/smartcardio/TestConnectAgain.java test/sun/security/smartcardio/TestControl.java test/sun/security/smartcardio/TestDefault.java test/sun/security/smartcardio/TestDirect.java test/sun/security/smartcardio/TestExclusive.java test/sun/security/smartcardio/TestMultiplePresent.java test/sun/security/smartcardio/TestPresent.java test/sun/security/smartcardio/TestTransmit.java
diffstat 10 files changed, 20 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/security/smartcardio/TestChannel.java	Wed Sep 21 02:19:59 2016 -0700
+++ b/test/sun/security/smartcardio/TestChannel.java	Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
  * questions.
  */
 
-/**
+/*
  * @test
  * @bug 6239117
  * @summary test logical channels work
  * @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
  * @run main/manual TestChannel
  */
 
--- a/test/sun/security/smartcardio/TestConnect.java	Wed Sep 21 02:19:59 2016 -0700
+++ b/test/sun/security/smartcardio/TestConnect.java	Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
  * questions.
  */
 
-/**
+/*
  * @test
  * @bug 6293769 6294527 6309280
  * @summary test connect() works
  * @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
  * @run main/manual TestConnect
  */
 
--- a/test/sun/security/smartcardio/TestConnectAgain.java	Wed Sep 21 02:19:59 2016 -0700
+++ b/test/sun/security/smartcardio/TestConnectAgain.java	Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
  * questions.
  */
 
-/**
+/*
  * @test
  * @bug 6239117
  * @summary test connect works correctly if called multiple times/card removed
  * @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
  * @run main/manual TestConnectAgain
  */
 
--- a/test/sun/security/smartcardio/TestControl.java	Wed Sep 21 02:19:59 2016 -0700
+++ b/test/sun/security/smartcardio/TestControl.java	Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
  * questions.
  */
 
-/**
+/*
  * @test
  * @bug 6239117 6470320
  * @summary test if transmitControlCommand() works
  * @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
  * @run main/manual TestControl
  */
 
--- a/test/sun/security/smartcardio/TestDefault.java	Wed Sep 21 02:19:59 2016 -0700
+++ b/test/sun/security/smartcardio/TestDefault.java	Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
  * questions.
  */
 
-/**
+/*
  * @test
  * @bug 6327047
  * @summary verify that TerminalFactory.getDefault() works
  * @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
  * @run main/manual TestDefault
  */
 
--- a/test/sun/security/smartcardio/TestDirect.java	Wed Sep 21 02:19:59 2016 -0700
+++ b/test/sun/security/smartcardio/TestDirect.java	Wed Sep 21 17:09:41 2016 +0300
@@ -21,10 +21,11 @@
  * questions.
  */
 
-/**
+/*
  * @test
  * @bug 8046343
  * @summary Make sure that direct protocol is available
+ * @modules java.smartcardio/javax.smartcardio
  * @run main/manual TestDirect
  */
 
--- a/test/sun/security/smartcardio/TestExclusive.java	Wed Sep 21 02:19:59 2016 -0700
+++ b/test/sun/security/smartcardio/TestExclusive.java	Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
  * questions.
  */
 
-/**
+/*
  * @test
  * @bug 6239117
  * @summary verify that beginExclusive()/endExclusive() works
  * @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
  * @run main/manual TestExclusive
  */
 
--- a/test/sun/security/smartcardio/TestMultiplePresent.java	Wed Sep 21 02:19:59 2016 -0700
+++ b/test/sun/security/smartcardio/TestMultiplePresent.java	Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
  * questions.
  */
 
-/**
+/*
  * @test
  * @bug 6239117 6445367
  * @summary test that CardTerminals.waitForCard() works
  * @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
  * @run main/manual TestMultiplePresent
  */
 
--- a/test/sun/security/smartcardio/TestPresent.java	Wed Sep 21 02:19:59 2016 -0700
+++ b/test/sun/security/smartcardio/TestPresent.java	Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
  * questions.
  */
 
-/**
+/*
  * @test
  * @bug 6293769 6294527
  * @summary test that the isCardPresent()/waitForX() APIs work correctly
  * @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
  * @run main/manual TestPresent
  */
 
--- a/test/sun/security/smartcardio/TestTransmit.java	Wed Sep 21 02:19:59 2016 -0700
+++ b/test/sun/security/smartcardio/TestTransmit.java	Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
  * questions.
  */
 
-/**
+/*
  * @test
  * @bug 6293769 6294527
  * @summary test transmit() works
  * @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
  * @run main/manual TestTransmit
  */