Project

General

Profile

Actions

Architecture #5448

closed

Add test to ensure that all generic_methods use normal ordering for promise types

Added by Jonathan CLARKE about 8 years ago. Updated 4 months ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Effort required:
Regression:

Description

A good convention when writing CFEngine code is to always put the promises in a bundle in the normal ordering (vars, classes, etc). This makes it clear when a normal ordering problem can hit you (for example #5443).

Everything is test-based in ncf, so we should add a test in tests/style to check this. Benoît, I know you have written one for rudder-techniques, can you add/port it to ncf please?


Subtasks 1 (0 open1 closed)

Architecture #5901: Implementation of #5448 normal ordering testReleasedJonathan CLARKEActions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #5309: We need a script to check ordering in techniquesReleasedJonathan CLARKE2014-07-24Actions
Actions #1

Updated by Vincent MEMBRÉ almost 8 years ago

  • Status changed from 8 to 13
Actions #2

Updated by Vincent MEMBRÉ almost 8 years ago

  • Status changed from 13 to 12
Actions #3

Updated by Vincent MEMBRÉ almost 8 years ago

  • Status changed from 12 to Pending release
Actions #4

Updated by Benoît PECCATTE over 7 years ago

  • Target version set to 0.x
Actions #5

Updated by Vincent MEMBRÉ about 6 years ago

  • Status changed from Pending release to Released
Actions #6

Updated by Alexis Mousset 4 months ago

  • Target version changed from 0.x to ncf-0.x
Actions #7

Updated by Alexis Mousset 4 months ago

  • Project changed from 41 to Rudder
  • Category set to Generic methods
Actions

Also available in: Atom PDF