Skip navigation links
D G I M S T U 

T

tests - package tests
 
TestSingleton1 - Class in tests
Test class for Singleton1
Construct two Singleton1 instances/objects using the Singleton1.instance() method Set the Singleton1.data value of the first instance and print information concerning both objects to the screen Check - on the screen output - that the references and values for both objects are the same
EXPECTED (TYPICAL) OUTPUT
TestSingleton1() - Constructor for class tests.TestSingleton1
 
TestSingleton2 - Class in tests
Test class for Singleton2
Construct two Singleton2 instances/objects using the Singleton2.uniqueinstance attribute Set the Singleton2.data value of the first instance and print information concerning both objects to the screen Check - on the screen output - that the references and values for both objects are the same
EXPECTED (TYPICAL) OUTPUT
TestSingleton2() - Constructor for class tests.TestSingleton2
 
TestSingleton3 - Class in tests
Test class for Singleton3
Construct two Singleton3 instances/objects using the Singleton3.instance() method Set the Singleton3.data value of the first instance and print information concerning both objects to the screen Check - on the screen output - that the references and values for both objects are the same
EXPECTED (TYPICAL) OUTPUT
TestSingleton3() - Constructor for class tests.TestSingleton3
 
TestSingleton4 - Class in tests
Test class for Singleton4
Construct two Singleton4 instances/objects using the Singleton4.getInstance() method Set the Singleton4.data value of the first instance and print information concerning both objects to the screen Check - on the screen output - that the references and values for both objects are the same
EXPECTED (TYPICAL) OUTPUT
TestSingleton4() - Constructor for class tests.TestSingleton4
 
D G I M S T U 
Skip navigation links