blob: 95c28fb10b7e5127472b10ce5c2dafa8963369ba (
plain)
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
57
58
59
60
61
62
63
64
|
/*
* Valadate - Unit testing library for GObject-based libraries.
* Copyright (C) 2016 Chris Daley <chebizarro@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* Authors:
* Chris Daley <chebizarro@gmail.com>
*/
public class Valadate.Tests.TestFixture : Valadate.TestCase {
public void test_testcase () {
bug_base = "http://bugzilla.gnome.org/";
bug ("555666");
stdout.puts ("This is a test of the system");
}
public void test_testcase_1 () {
string key = "XDG_DATA_DIRS";
var val = Environment.get_variable (key);
message ("%s = %s",key, val);
foreach (var item in Environment.get_system_data_dirs ())
message ("%s",item);
}
public void test_testcase_2 () {
message (Valadate.get_current_test_path ());
skip ("No reason");
debug ("This is a second test of the system");
}
public void test_testcase_3 () {
//stdout.puts ("Before");
//assert (false);
//fail ("after");
void* nullisland = null;
Object nullobj = nullisland as Object;
//nullobj.get_type ().name ();
}
}
public class Valadate.Tests.TestFixtureTwo : Valadate.TestCase {
public void test_testcase () {
bug_base = "http://bugzilla.gnome.org/";
bug ("555999");
stdout.puts ("This is a test of the system");
}
}
|