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 over 10 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Effort required:
Name check:
Fix check:
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É about 10 years ago

  • Status changed from 8 to 13
Actions #2

Updated by Vincent MEMBRÉ about 10 years ago

  • Status changed from 13 to 12
Actions #3

Updated by Vincent MEMBRÉ about 10 years ago

  • Status changed from 12 to Pending release
Actions #4

Updated by Benoît PECCATTE over 9 years ago

  • Target version set to 0.x
Actions #5

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from Pending release to Released
Actions #6

Updated by Alexis Mousset over 2 years ago

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

Updated by Alexis Mousset over 2 years ago

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

Also available in: Atom PDF