|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavapns.test.FeedbackTest
public class FeedbackTest
A command-line test facility for the Feedback Service.
Example: java -cp "[required libraries]" javapns.test.FeedbackTest keystore.p12 mypass
By default, this test uses the sandbox service. To switch, add "production" as a third parameter:
Example: java -cp "[required libraries]" javapns.test.FeedbackTest keystore.p12 mypass production
Method Summary | |
---|---|
static void |
configureBasicLogging()
Enable Log4J with a basic default configuration (console only). |
static void |
main(String[] args)
Execute this class from the command line to run tests. |
static void |
verifyKeystore(Object keystoreReference,
String password,
boolean production)
Validate a keystore reference and print the results to the console. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void main(String[] args)
args
- public static void configureBasicLogging()
public static void verifyKeystore(Object keystoreReference, String password, boolean production)
keystoreReference
- a reference to or an actual keystorepassword
- password for the keystoreproduction
- service to use
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |