javapns.test
Class SpecificNotificationTests

java.lang.Object
  extended by javapns.test.SpecificNotificationTests

public class SpecificNotificationTests
extends Object

Specific test cases intended for the project's developers.

Author:
Sylvain Pedneault

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

main

public static void main(String[] args)
Execute this class from the command line to run tests.

Parameters:
args -

configureBasicLogging

public static void configureBasicLogging()
Enable Log4J with a basic default configuration (console only).


verifyKeystore

public static void verifyKeystore(Object keystoreReference,
                                  String password,
                                  boolean production)
Validate a keystore reference and print the results to the console.

Parameters:
keystoreReference - a reference to or an actual keystore
password - password for the keystore
production - service to use