Event Dispatcher
v0.1.6-beta.1
Project that offers a small library that allows to subscribe and fire events.
|
Definition at line 41 of file ObservableValueTest.java.
Package Functions | |
void | beforeEach () |
void | testUnregisterEvent (int value, TestInfo testInfo) |
void | testUnregisterAllEvents (int value, TestInfo testInfo) |
void | testEventMethodInvocation (int expected, int value, TestInfo testInfo) |
void | testEventMethodInvocation (String name, String newName, int age) |
void | testEventMethodValueChange (String name, String newName, int age) |
void | testEventMethodNotInvoqued (int value, TestInfo testInfo) |
void | testEventNotification (boolean notifyChange, TestInfo testInfo) |
void | testSerialization (boolean expected, @TempDir Path tempDir) |
void | testSerialization (byte expected, @TempDir Path tempDir) |
void | testSerialization (char expected, @TempDir Path tempDir) |
void | testSerialization (short expected, @TempDir Path tempDir) |
void | testSerialization (int expected, @TempDir Path tempDir) |
void | testSerialization (long expected, @TempDir Path tempDir) |
void | testSerialization (float expected, @TempDir Path tempDir) |
void | testSerialization (double expected, @TempDir Path tempDir) |
void | testSerialization (String expected, @TempDir Path tempDir) |
void | testSerialization (String name, int age, @TempDir Path tempDir) |
void | testSerialization (int[] expected, @TempDir Path tempDir) |
private< T extends Serializable > void | serialiceToTempFile (T value, String fileName, Path tempDir) |
private< T > T | deserialiceFromTempFile (Class< T > cls, String fileName, Path tempDir) |
private< T > T | convertInstanceOfObject (Object obj, Class< T > cls) |
Static Package Functions | |
static void | beforeAll () |
Static Package Attributes | |
static String | fileName |
static boolean | eventMethodInvoked |
static boolean | listenerMethodInvoked |
Static Private Member Functions | |
static< T > void | valueChangedTest (T oldValue, T newValue) |
Static Private Attributes | |
static final Logger | LOGGER = LogManager.getLogger(ObservableValueTest.class) |
|
staticpackage |
Definition at line 50 of file ObservableValueTest.java.
|
package |
Definition at line 55 of file ObservableValueTest.java.
|
package |
Test for a unregister event.
value | A integer number. |
testInfo | The info of the test. |
Definition at line 69 of file ObservableValueTest.java.
|
package |
Test for a unregister all events.
value | A integer number. |
testInfo | The info of the test. |
Definition at line 105 of file ObservableValueTest.java.
|
package |
Test for notify a change in the input integer value.
expected | The expected value. |
value | A integer number. |
testInfo | The info of the test. |
Definition at line 148 of file ObservableValueTest.java.
|
package |
Test for notify a change in the name of the input person object.
name | The name of the object person. |
newName | The expected new name. |
age | The age of the object person. |
Definition at line 178 of file ObservableValueTest.java.
|
package |
Test for notify a change in the name of the input person object.
name | The name of the object person. |
newName | The expected new name. |
age | The age of the object person. |
Definition at line 204 of file ObservableValueTest.java.
|
package |
Test for a event not fired.
value | A integer number. |
testInfo | The info of the test. |
Definition at line 231 of file ObservableValueTest.java.
|
package |
Test of enable/disable of value change notification.
notifyChange | Boolean value for change notification. |
testInfo | The info of the test. |
Definition at line 255 of file ObservableValueTest.java.
|
package |
Test of the serialization of a boolean.
expected | The boolean expected. |
tempDir | Temporal dir of JUnit. |
Definition at line 279 of file ObservableValueTest.java.
|
package |
Test of the serialization of a byte.
expected | The byte expected. |
tempDir | Temporal dir of JUnit. |
Definition at line 300 of file ObservableValueTest.java.
|
package |
Test of the serialization of a char.
expected | The char expected. |
tempDir | Temporal dir of JUnit. |
Definition at line 320 of file ObservableValueTest.java.
|
package |
Test of the serialization of a short.
expected | The short expected. |
tempDir | Temporal dir of JUnit. |
Definition at line 341 of file ObservableValueTest.java.
|
package |
Test of the serialization of a int.
expected | The int expected. |
tempDir | Temporal dir of JUnit. |
Definition at line 362 of file ObservableValueTest.java.
|
package |
Test of the serialization of a long.
expected | The long expected. |
tempDir | Temporal dir of JUnit. |
Definition at line 383 of file ObservableValueTest.java.
|
package |
Test of the serialization of a float.
expected | The float expected. |
tempDir | Temporal dir of JUnit. |
Definition at line 404 of file ObservableValueTest.java.
|
package |
Test of the serialization of a double.
expected | The double expected. |
tempDir | Temporal dir of JUnit. |
Definition at line 425 of file ObservableValueTest.java.
|
package |
Test of the serialization of a string.
expected | The string expected. |
tempDir | Temporal dir of JUnit. |
Definition at line 446 of file ObservableValueTest.java.
|
package |
Test of the serialization of a object.
name | The name data of the expected object. |
age | The age data of the expected object. |
tempDir | Temporal dir of JUnit. |
Definition at line 468 of file ObservableValueTest.java.
|
package |
Test of the serialization of a array of integers.
expected | The expected array of integers. |
tempDir | Temporal dir of JUnit. |
Definition at line 494 of file ObservableValueTest.java.
|
staticprivate |
Method for values changes.
oldValue | The old value. |
newValue | The new value of the change. |
Definition at line 512 of file ObservableValueTest.java.
|
package |
Method for serialization to temp file.
value | The value to serialization. |
fileName | The temp file. |
tempDir | Temporal dir of JUnit. |
Definition at line 524 of file ObservableValueTest.java.
|
package |
Method for deserialization from a temp file.
cls | The class deserializated. |
fileName | The temp file. |
tempDir | Temporal dir of JUnit. |
Definition at line 550 of file ObservableValueTest.java.
|
package |
Method for convert a instance of a object.
obj | The object to instance. |
cls | The class for instance. |
Definition at line 576 of file ObservableValueTest.java.
|
staticprivate |
Definition at line 43 of file ObservableValueTest.java.
|
staticpackage |
Definition at line 45 of file ObservableValueTest.java.
|
staticpackage |
Definition at line 46 of file ObservableValueTest.java.
|
staticpackage |
Definition at line 47 of file ObservableValueTest.java.