File tree Expand file tree Collapse file tree
dbus-java-tests/src/test/java Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313
1414import java .io .IOException ;
1515
16- public class SASLTest extends AbstractBaseTest {
16+ class SASLTest extends AbstractBaseTest {
1717
1818 @ Test
19- public void testCommandNoData () throws IOException {
19+ void testCommandNoData () throws IOException {
2020 Command cmdData = new Command ("DATA " );
2121 assertEquals (SaslCommand .DATA , cmdData .getCommand ());
2222 assertNull (cmdData .getData ());
2323 }
2424
2525 @ Test
26- public void testCommandWithData () throws IOException {
26+ void testCommandWithData () throws IOException {
2727 Command cmdData = new Command ("DATA blafasel" );
2828 assertEquals (SaslCommand .DATA , cmdData .getCommand ());
2929 assertEquals ("blafasel" , cmdData .getData ());
3030 }
3131
3232 @ Test
33- public void testCommandAuth () throws IOException {
33+ void testCommandAuth () throws IOException {
3434 Command cmdData = new Command ("AUTH " );
3535 assertEquals (SaslCommand .AUTH , cmdData .getCommand ());
3636 assertNull (cmdData .getData ());
3737 }
3838
3939 @ Test
40- public void testAnonymousAuthentication () throws DBusException {
40+ void testAnonymousAuthentication () throws DBusException {
4141 String protocolType = TransportBuilder .getRegisteredBusTypes ().getFirst ();
4242 String newAddress = TransportBuilder .createDynamicSession (protocolType , false );
4343
Original file line number Diff line number Diff line change 77import org .freedesktop .dbus .interfaces .DBusInterface ;
88import org .junit .jupiter .api .Test ;
99
10- import java .io .IOException ;
1110import java .util .ArrayList ;
1211import java .util .Arrays ;
1312import java .util .List ;
1413
15- public class ExportNestedTest extends AbstractDBusDaemonBaseTest {
14+ class ExportNestedTest extends AbstractDBusDaemonBaseTest {
1615
1716 @ Test
18- public void testExportNested () throws IOException , DBusException {
17+ void testExportNested () throws DBusException {
1918 try (DBusConnection conn = DBusConnectionBuilder .forSessionBus ().build ()) {
2019 MyObjectPart part1 = new MyObjectPart ();
2120 part1 .setVal1 ("ABC" );
Original file line number Diff line number Diff line change 1414
1515import java .lang .reflect .Proxy ;
1616
17- public class Issue196Test extends AbstractBaseTest {
17+ class Issue196Test extends AbstractBaseTest {
1818
1919 @ Test
20- public void testCorrectInterfaceCreation () throws Exception {
20+ void testCorrectInterfaceCreation () throws Exception {
2121 String protocolType = TransportBuilder .getRegisteredBusTypes ().getFirst ();
2222 BusAddress busAddress = TransportBuilder .createWithDynamicSession (protocolType ).configure ().build ()
2323 .getBusAddress ();
Original file line number Diff line number Diff line change 1414 * the daemon disappears, the shared connection should no longer be used.
1515 * Instead this broken connection should be cleaned from the internal connection map.
1616 */
17- public class Issue244Test extends AbstractBaseTest {
17+ class Issue244Test extends AbstractBaseTest {
1818
1919 @ Test
20- public void testSharedConnection () {
20+ void testSharedConnection () {
2121 String busType = TransportBuilder .getRegisteredBusTypes ().getFirst ();
2222 String addr = TransportBuilder .createDynamicSession (busType , false );
2323 BusAddress clientAddress = BusAddress .of (addr );
You can’t perform that action at this time.
0 commit comments