fail("This MUST have succeeded because the given custom TAPFactory exists and have the required constructor! \nCaught exception: "+getPertinentMessage(e));
fail("This MUST have succeeded because the given custom TAPFactory exists and have the required constructor (ServiceConnection)! \nCaught exception: "+getPertinentMessage(e));
fail("This MUST have succeeded because the given custom configurable TAPFactory exists and have the required constructor (ServiceConnection, Properties)! \nCaught exception: "+getPertinentMessage(e));
}
}
// Bad custom TAPFactory (required constructor missing):
// Bad custom TAPFactory (required constructor missing):
...
@@ -1214,6 +1227,39 @@ public class TestConfigurableServiceConnection {
...
@@ -1214,6 +1227,39 @@ public class TestConfigurableServiceConnection {
}
}
/**
* ConfigurableTAPFactory just to test whether the property tap_factory allows TAPFactory
* with a constructor (ServiceConnection, Properties).