GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Wrong Format of utPLSQL Code Templates · Issue #113 · utPLSQL/utPLSQL-SQLDeveloper

Wrong Format of utPLSQL Code Templates #113

New issue
Copy link
New issue
Copy link
Closed
Closed
Wrong Format of utPLSQL Code Templates#113
Copy link
Assignees
PhilippSalvisberg
Labels
bug
Milestone
v1.2.1

Description

@PhilippSalvisberg
PhilippSalvisberg
opened on Oct 18, 2020
Issue body actions

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];

Activity

  1. PhilippSalvisberg
    self-assigned this
    on Oct 18, 2020
  2. PhilippSalvisberg
    added
    bug
    on Oct 18, 2020
  3. PhilippSalvisberg
    closed this as completedin 2bcdc01on Oct 18, 2020
  4. PhilippSalvisberg
    added this to the v1.2.1 milestone on Oct 18, 2020
  5. PhilippSalvisberg
    changed the title [-]Wrong Format of utPLSQL Code Templats[/-] [+]Wrong Format of utPLSQL Code Templates[/+] on Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @PhilippSalvisberg
    PhilippSalvisberg

Labels

bug

Type

No type

Projects

No projects

    Milestone

    • v1.2.1

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.