File: test-example.vala

package info (click to toggle)
minder 2.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 9,624 kB
  • sloc: xml: 799; sh: 104; python: 87; ansic: 78; makefile: 5; tcl: 4
file content (56 lines) | stat: -rw-r--r-- 1,454 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
 * This file is part of GNOME Pomodoro
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Authors: Kamil Prusko <kamilprusko@gmail.com>
 *
 */

namespace MinderTest {

  public class ExampleTest : TestSuite {

    private int enable_count;
    private int disable_count;

    public ExampleTest() {
      this.add_test( "example1", test_example1 );
      this.add_test( "example2", test_example2 );
      this.add_test( "example3", test_example3 );
    }

    public override void setup() {
      // ADD SETUP CODE HERE
    }

    public override void teardown() {
      // ADD TEARDOWN CODE HERE
    }

    public void test_example1() {
      Assert.true( true );
    }

    public void test_example2() {
      Assert.false( false );
    }

    public void test_example3() {
      Assert.string_compare( "foobar", "barfoo", "!=" );
    }

  }

}