Searched refs:atf (Results 1 - 25 of 188) sorted by relevance

12345678

/bind-9.11.3/unit/atf-src/atf-sh/
H A DMakefile.am.inc26 libexec_PROGRAMS += atf-sh/atf-check
27 atf_sh_atf_check_SOURCES = atf-sh/atf-check.cpp
30 dist_man_MANS += atf-sh/atf-check.1
32 bin_PROGRAMS += atf-sh/atf-sh
33 atf_sh_atf_sh_SOURCES = atf-sh/atf
[all...]
H A Datf-sh.cpp35 #include "atf-c++/detail/application.hpp"
36 #include "atf-c++/detail/env.hpp"
37 #include "atf-c++/detail/fs.hpp"
38 #include "atf-c++/detail/sanity.hpp"
50 const atf::fs::path filepath(filename);
61 const std::string libexecdir = atf::env::get(
63 const std::string pkgdatadir = atf::env::get(
65 const std::string shell = atf::env::get("ATF_SHELL", ATF_SHELL);
69 (*command) += ("Atf_Check='" + libexecdir + "/atf-check' ; " +
108 class atf_sh : public atf
[all...]
/bind-9.11.3/unit/atf-src/atf-c++/
H A DMakefile.am.inc30 libatf_c___la_SOURCES = atf-c++/build.cpp \
31 atf-c++/build.hpp \
32 atf-c++/check.cpp \
33 atf-c++/check.hpp \
34 atf-c++/macros.hpp \
35 atf-c++/tests.cpp \
36 atf-c++/tests.hpp \
37 atf-c++/utils.cpp \
38 atf-c++/utils.hpp
41 include_HEADERS += atf
[all...]
H A Datf_c++_test.cpp26 #include <atf-c++.hpp>
28 #include "atf-c++/detail/test_helpers.hpp"
34 HEADER_TC(include, "atf-c++.hpp");
H A Dutils_test.cpp26 #include "atf-c++/utils.hpp"
43 #include <atf-c++.hpp>
70 atf::utils::create_file("file.txt", "");
71 atf::utils::redirect(STDOUT_FILENO, "captured.txt");
72 atf::utils::cat_file("file.txt", "PREFIX");
82 atf::utils::create_file("file.txt", "This is a single line\n");
83 atf::utils::redirect(STDOUT_FILENO, "captured.txt");
84 atf::utils::cat_file("file.txt", "PREFIX");
94 atf::utils::create_file("file.txt", "First\nSecond line\nAnd third\n");
95 atf
[all...]
H A Dcheck.hpp30 #include <atf-c/check.h>
38 namespace atf { namespace
74 friend std::auto_ptr< check_result > exec(const atf::process::argv_array&);
118 const atf::process::argv_array&);
120 const atf::process::argv_array&);
122 const atf::process::argv_array&);
123 std::auto_ptr< check_result > exec(const atf::process::argv_array&);
129 } // namespace atf
H A Dmacros_test.cpp26 #include "atf-c++/macros.hpp"
38 #include <atf-c++.hpp>
40 #include "atf-c++/detail/fs.hpp"
41 #include "atf-c++/detail/process.hpp"
42 #include "atf-c++/detail/sanity.hpp"
43 #include "atf-c++/detail/test_helpers.hpp"
44 #include "atf-c++/detail/text.hpp"
45 #include "atf-c++/utils.hpp"
105 bool condition = atf::text::to_bool(get_config_var("condition"));
119 long v1 = atf
[all...]
H A Dbuild.cpp26 #include "atf-c++/build.hpp"
29 #include "atf-c/build.h"
30 #include "atf-c/error.h"
31 #include "atf-c/utils.h"
34 #include "atf-c++/detail/exceptions.hpp"
35 #include "atf-c++/detail/process.hpp"
37 namespace impl = atf::build;
38 #define IMPL_NAME "atf::build"
45 atf::process::argv_array
54 return atf
[all...]
H A Dcheck_test.cpp26 #include "atf-c++/check.hpp"
42 #include <atf-c++.hpp>
44 #include "atf-c++/detail/fs.hpp"
45 #include "atf-c++/detail/process.hpp"
46 #include "atf-c++/detail/test_helpers.hpp"
47 #include "atf-c++/detail/text.hpp"
48 #include "atf-c++/utils.hpp"
55 std::auto_ptr< atf::check::check_result >
56 do_exec(const atf::tests::tc* tc, const char* helper_name)
63 atf
[all...]
/bind-9.11.3/unit/atf-src/
H A Datf-c.h29 #include <atf-c/error.h>
30 #include <atf-c/macros.h>
31 #include <atf-c/utils.h>
H A Datf-c++.hpp29 #include <atf-c++/macros.hpp>
30 #include <atf-c++/utils.hpp>
/bind-9.11.3/unit/atf-src/atf-c/
H A DMakefile.am.inc27 libatf_c_la_SOURCES = atf-c/build.c \
28 atf-c/build.h \
29 atf-c/check.c \
30 atf-c/check.h \
31 atf-c/error.c \
32 atf-c/error.h \
33 atf-c/error_fwd.h \
34 atf-c/macros.h \
35 atf-c/tc.c \
36 atf
[all...]
H A Datf_c_test.c26 #include <atf-c.h>
28 #include "atf-c/detail/test_helpers.h"
34 HEADER_TC(include, "atf-c.h");
H A Dbuild.h29 #include <atf-c/error_fwd.h>
/bind-9.11.3/unit/atf-src/atf-c++/detail/
H A DMakefile.am.inc26 libatf_c___la_SOURCES += atf-c++/detail/application.cpp \
27 atf-c++/detail/application.hpp \
28 atf-c++/detail/auto_array.hpp \
29 atf-c++/detail/env.cpp \
30 atf-c++/detail/env.hpp \
31 atf-c++/detail/exceptions.cpp \
32 atf-c++/detail/exceptions.hpp \
33 atf-c++/detail/fs.cpp \
34 atf-c++/detail/fs.hpp \
35 atf
[all...]
H A Denv_test.cpp26 #include "atf-c++/detail/env.hpp"
28 #include <atf-c++.hpp>
41 ATF_REQUIRE(atf::env::has("PATH"));
42 ATF_REQUIRE(!atf::env::get("PATH").empty());
44 ATF_REQUIRE(!atf::env::has("_UNDEFINED_VARIABLE_"));
54 ATF_REQUIRE(atf::env::has("PATH"));
55 ATF_REQUIRE(atf::env::get("PATH", "default value") != "default value");
57 ATF_REQUIRE_EQ(atf::env::get("_UNDEFINED_VARIABLE_", "foo bar"), "foo bar");
67 ATF_REQUIRE(atf::env::has("PATH"));
68 const std::string& oldval = atf
[all...]
H A Dsanity.hpp30 #include <atf-c/detail/sanity.h>
H A Dtest_helpers.hpp37 #include <atf-c++.hpp>
39 #include <atf-c++/detail/process.hpp>
65 namespace atf { namespace
73 bool build_check_cxx_o_srcdir(const atf::tests::tc&, const char*);
74 atf::fs::path get_process_helpers_path(const atf::tests::tc&, bool);
77 const atf::tests::vars_map& m_config;
79 run_h_tc_data(const atf::tests::vars_map& config) :
97 run_h_tc(atf::tests::vars_map config = atf argument
[all...]
H A Dtest_helpers.cpp26 #include "atf-c++/detail/test_helpers.hpp"
33 #include <atf-c++.hpp>
35 #include "atf-c++/check.hpp"
36 #include "atf-c++/detail/env.hpp"
37 #include "atf-c++/detail/fs.hpp"
38 #include "atf-c++/detail/process.hpp"
56 optargs.push_back("-I" + atf::env::get("ATF_INCLUDEDIR", ATF_INCLUDEDIR));
60 return atf::check::build_cxx_o(sfile, "test.o",
61 atf::process::argv_array(optargs));
65 build_check_cxx_o_srcdir(const atf
[all...]
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A DMakefile.am.inc26 libatf_c_la_SOURCES += atf-c/detail/dynstr.c \
27 atf-c/detail/dynstr.h \
28 atf-c/detail/env.c \
29 atf-c/detail/env.h \
30 atf-c/detail/fs.c \
31 atf-c/detail/fs.h \
32 atf-c/detail/list.c \
33 atf-c/detail/list.h \
34 atf-c/detail/map.c \
35 atf
[all...]
H A Dtext.h32 #include <atf-c/detail/list.h>
33 #include <atf-c/error_fwd.h>
/bind-9.11.3/unit/atf-src/doc/
H A DMakefile.am.inc26 dist_man_MANS += doc/atf-test-case.4 \
27 doc/atf-test-program.1
29 man_MANS += doc/atf.7
30 CLEANFILES += doc/atf.7
31 EXTRA_DIST += doc/atf.7.in
33 doc/atf.7: $(srcdir)/doc/atf.7.in
37 <$(srcdir)/doc/atf.7.in >doc/atf.7.tmp; \
38 mv doc/atf
[all...]
/bind-9.11.3/unit/atf-src/tools/sample/
H A Dcommon.conf1 Content-Type: application/X-atf-config; version="1"
/bind-9.11.3/unit/atf-src/tools/
H A Dzero_tcs_helper.c2 * Automated Testing Framework (atf)
30 #include <atf-c.h>
/bind-9.11.3/unit/
H A Dunittest.sh.in5 ATFRUN=`command -v atf-run 2>/dev/null`
14 atf-run > atf.out
18 atf-report < atf.out | cat
22 rm -f atf.out

Completed in 2411 milliseconds

12345678