D12587: Indentation script for R

Christoph Cullmann noreply at phabricator.kde.org
Sun Sep 2 19:31:42 BST 2018


cullmann added a comment.


  Ok,
  
  here the basic idea:
  
  in autotests/src/identtest.cpp and .h
  
  > in .h
  =======
  
  add some
  
    void testR_data();
    void testR();
  
  > in .cpp
  =========
  
  add some
  
  void IndentTest::testR_data()
  {
  
    getTestData("R");
  
  }
  
  void IndentTest::testR()
  {
  
    runTest(ExpectedFailures());
  
  }
  
  Then, after make, you should be able to run
  
  ./bin/kateindenttest
  
  and it should start to use the test data in the R dir

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D12587

To: devillemereuil, #ktexteditor, #rkward, cullmann
Cc: kwrite-devel, kde-frameworks-devel, cullmann, tfry, dhaumann, michaelh, kevinapavew, ngraham, bruns, demsking, sars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20180902/0df9822e/attachment.html>


More information about the KWrite-Devel mailing list