Content-Length: 272636 | pFad | https://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues/113

02 Wrong Format of utPLSQL Code Templates · Issue #113 · utPLSQL/utPLSQL-SQLDeveloper · GitHub
Skip to content

Wrong Format of utPLSQL Code Templates #113

@PhilippSalvisberg

Description

@PhilippSalvisberg

Since version 1.2.0 the generated code templates are wrongly formatted. I guess this happend during conversion from Xtend to Java.

ut_body

  • wrong indentation after first comment
  • missing line break before END END [procedure_name];
  • unnecessary line break before END test_[package_name];
CREATE OR REPLACE PACKAGE BODY test_[package_name] IS

   --
-- test
--
PROCEDURE [procedure_name] IS
   l_actual   INTEGER := 0;
   l_expected INTEGER := 1;
BEGIN
   -- populate actual
   -- ...

   -- populate expected
   -- ...

   -- assert
   ut.expect(l_actual).to_equal(l_expected);END [procedure_name];


END test_[package_name];
/

ut_body_proc

missing line break before END END [procedure_name];

--
-- test
--
PROCEDURE [procedure_name] IS
   l_actual   INTEGER := 0;
   l_expected INTEGER := 1;
BEGIN
   -- populate actual
   -- ...

   -- populate expected
   -- ...

   -- assert
   ut.expect(l_actual).to_equal(l_expected);END [procedure_name];

ut_spec

missing indentation of PROCEDURE

CREATE OR REPLACE PACKAGE test_[package_name] IS

   --%suite
   --%suitepath(alltests)

   --%test
PROCEDURE [procedure_name];

END test_[package_name];
/

ut_spec_proc

looks good.

--%test
PROCEDURE [procedure_name];

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues/113

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy