View Javadoc
1   /*
2    * Licensed under the GPL License. You may not use this file except in compliance with the License.
3    * You may obtain a copy of the License at
4    *
5    *   https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
6    *
7    * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
8    * WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
9    * PURPOSE.
10   */
11  package psiprobe.controllers.logs;
12  
13  import com.codebox.bean.JavaBeanTester;
14  
15  import org.junit.jupiter.api.Test;
16  
17  /**
18   * The Class LogHandlerControllerTest.
19   */
20  class LogHandlerControllerTest {
21  
22    /**
23     * Javabean tester change log level.
24     */
25    @Test
26    void javabeanTesterChangeLogLevel() {
27      JavaBeanTester.builder(ChangeLogLevelController.class)
28          .skip("applicationContext", "supportedMethods").test();
29    }
30  
31    /**
32     * Javabean tester download log.
33     */
34    @Test
35    void javabeanTesterDownloadLog() {
36      JavaBeanTester.builder(DownloadLogController.class)
37          .skip("applicationContext", "supportedMethods").test();
38    }
39  
40    /**
41     * Javabean tester follow.
42     */
43    @Test
44    void javabeanTesterFollow() {
45      JavaBeanTester.builder(FollowController.class).skip("applicationContext", "supportedMethods")
46          .test();
47    }
48  
49    /**
50     * Javabean tester followed file info.
51     */
52    @Test
53    void javabeanTesterFollowedFileInfo() {
54      JavaBeanTester.builder(FollowedFileInfoController.class)
55          .skip("applicationContext", "supportedMethods").test();
56    }
57  
58    /**
59     * Javabean tester setup follow.
60     */
61    @Test
62    void javabeanTesterSetupFollow() {
63      JavaBeanTester.builder(SetupFollowController.class)
64          .skip("applicationContext", "supportedMethods").test();
65    }
66  
67  }