~mhr3/unity-lens-files/fix-947856

« back to all changes in this revision

Viewing changes to tests/assertions.vapi

  • Committer: Michal Hruby
  • Date: 2012-04-05 14:55:43 UTC
  • mfrom: (220.2.5 unity-lens-files)
  • Revision ID: michal.mhr@gmail.com-20120405145543-8w985bif5nlkm4wo
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[CCode (cprefix = "G", lower_case_cprefix = "g_", cheader_filename = "glib.h")]
 
2
namespace Assertions {
 
3
  public enum OperatorType {
 
4
    [CCode (cname = "==")]
 
5
    EQUAL,
 
6
    [CCode (cname = "!=")]
 
7
    NOT_EQUAL,
 
8
    [CCode (cname = "<")]
 
9
    LESS_THAN,
 
10
    [CCode (cname = ">")]
 
11
    GREATER_THAN,
 
12
    [CCode (cname = "<=")]
 
13
    LESS_OR_EQUAL,
 
14
    [CCode (cname = ">=")]
 
15
    GREATER_OR_EQUAL
 
16
  }
 
17
 
 
18
  public void assert_cmpstr (string? s1, OperatorType op, string? s2);
 
19
  public void assert_cmpint (int n1, OperatorType op, int n2);
 
20
  public void assert_cmpuint (uint n1, OperatorType op, uint n2);
 
21
  public void assert_cmphex (uint n1, OperatorType op, uint n2);
 
22
  public void assert_cmpfloat (float n1, OperatorType op, float n2);
 
23
}