コード例 #1
0
 @Before
 public void setUp() throws Exception {
   super.setUp();
   runner = SonarLintTestUtils.mockRunner(getProject());
   action = new UpdateAction();
   getProject().getComponent(SonarLintStatus.class).stopRun();
 }
コード例 #2
0
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   ResourceBundleManager.getInstance(getProject()).loadState(new ResourceBundleManagerState());
 }
コード例 #3
0
 @Override
 public void tearDown() throws Exception {
   AutoFormatTypedHandler.setEnabledInTests(false);
   //noinspection SuperTearDownInFinally
   super.tearDown();
 }
コード例 #4
0
 @Override
 public void setUp() throws Exception {
   super.setUp();
   AutoFormatTypedHandler.setEnabledInTests(true);
   useSpacesAroundAssignmentOperator(true, myFixture.getProject(), JavaLanguage.INSTANCE);
 }