オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Contents of /trunk/test/flagfile_invalid_path_tests.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1443 - (show annotations) (download) (as text)
Sat Sep 3 12:44:07 2022 UTC (21 months ago) by srz_zumix
File MIME type: text/x-c++src
File size: 1718 byte(s)
Merge pull request #679 from srz-zumix/develop

Develop
git@1a5e5ea7ec123d3d90d4d0165c89faf4d285da29
https://github.com/srz-zumix/iutest/commit/1a5e5ea7ec123d3d90d4d0165c89faf4d285da29
---------------
Merge remote-tracking branch 'origin/develop'

git@953f9adfa059990885e5ec9211b256528d1717d8

---------------
fix gtest head (wa) (#652)


git@76d490c61419e6eb853548434bc78f1ec7cc3bab

---------------
Merge remote-tracking branch 'origin/develop'

git@a312dc550a658aa7857d3f60ef26f033f10e371c

---------------
update version

git@5baa060f947c27d8f93a0ae2148855650caa5d85

---------------
Merge pull request #650 from srz-zumix/circleci/machine_ubuntu-2004-current

machine ubuntu-2004:current
git@17b939c4d82a909aa2ad6df38ebdb24bcdef146d

---------------
machine ubuntu-2004:current

git@a713897dbd56b1d54b5aed84d124165923b7d13d

---------------
fix iwyu (#647)


git@e56ae1a288b2f2ecf177b21cdfddfd6fb5c0c18a

---------------
Merge pull request #649 from srz-zumix/feature/checkout@v3

checkout@v3
git@0ddaf4f939898567bbf3e4343dbf063f9ca8a971

---------------
Merge pull request #648 from srz-zumix/feature/remove_shippable_badge

remove shippable badge
git@893da50104ce734c17ba65c1aa7c5d75da0cc15c

---------------
checkout@v3

git@33cd92eddf79de839aa6ac520f9fbd196f73760d

---------------
remove shippable badge

git@0a5e8f99a0df7180c1e7dda43c5ae5a2eebc37b4

---------------
fix AzurePipelines set-locale (#645)


git@e444f55f04ad83ca233f434ca2a8c695136e1a04

---------------
Merge remote-tracking branch 'origin/develop'

git@55ee55537b1b3c1af8d09373e2a6414391594d95

---------------
travisci focal and gcc -fanalyzer (#644)


git@81c68b20757fdbae57c4751ffeeebe81e60863be

---------------
pre-configuration gcc -fanalyzer (#564)


git@a0cb0ff60fcbe99e37677079b7fa98ece3d84263

---------------
CentOS EoL (#641)


git@f4c5ea9373310dbd2e8d1abd7c7aad7f9d56e7e2

---------------
update wandbox compiler (#634)


git@68808e35b786e56161aa51d18a464f0e1f23e8ca

---------------
update buddy workspace (#637)


git@7d59f6e77353d7835795b6668fde7d3d540e8239

---------------
Merge pull request #640 from srz-zumix/fix/googletest_compat

fix googletest setup testcase failure comaptible
git@67dfd73cecda10d61aeef20f0c30cf89378784ca

---------------
Merge pull request #639 from srz-zumix/feature/auto_labeler

add labeler
git@b58611be73f882cff185722d28964fec99d69e8a

---------------
fix googletest setup testcase failure comaptible

git@588600c116dfbb8937833735dfb81e3ac8364ad5

---------------
add labeler

git@c4c5c7397c25274ced6e5f1aa850373606cca3b5

---------------
Merge remote-tracking branch 'origin/develop'

git@53cba19a2ae6cffa6376b54b3f7292e8ca9d9866

---------------
Merge pull request #632 from srz-zumix/feature/fix_inferconfig

fix reviewdog-action-infer
git@416b2e15da2ff9103136cde620330166615278e7

---------------
fix rename

git@f5cbe58587d907fea1e83fd3657b75a3e58720d3


1 //======================================================================
2 //-----------------------------------------------------------------------
3 /**
4 * @file flagfile_invalid_path_tests.cpp
5 * @brief flag file invalid path test
6 *
7 * @author t.shirayanagi
8 * @par copyright
9 * Copyright (C) 2015-2022, Takazumi Shirayanagi\n
10 * This software is released under the new BSD License,
11 * see LICENSE
12 */
13 //-----------------------------------------------------------------------
14 //======================================================================
15
16 //======================================================================
17 // include
18 #include "iutest.hpp"
19
20 #if !defined(IUTEST_USE_GTEST) && IUTEST_HAS_FOPEN
21 # define FLAGFILE_TEST 1
22 #else
23 # define FLAGFILE_TEST 0
24 #endif
25
26 IUTEST(Foo, Bar)
27 {
28 IUTEST_ASSERT_EQ(3, 3);
29 }
30
31 #ifdef UNICODE
32 int wmain(int argc, wchar_t* argv[])
33 #else
34 int main(int argc, char* argv[])
35 #endif
36 {
37 #if FLAGFILE_TEST
38 ::std::vector< ::iutest::detail::iu_tstring > targv;
39 for( int i=0; i < argc; ++i )
40 {
41 targv.push_back(argv[i]);
42 }
43 targv.push_back(IU_TSTR("--iutest_flagfile=invalid_FLAGFILE_TEST.txt"));
44
45 {
46 #if IUTEST_HAS_STREAM_CAPTURE
47 ::iutest::detail::IUStreamCaptureStderr stderr_capture;
48 #endif
49 ::iutest::InitIrisUnitTest(targv);
50 #if IUTEST_HAS_STREAM_CAPTURE && IUTEST_HAS_ASSERTION_RETURN
51 IUTEST_ASSERT_STRIN("Unable to open flag file \"invalid_FLAGFILE_TEST.txt\".", stderr_capture.GetStreamString())
52 << ::iutest::AssertionReturn<int>(1);
53 #endif
54 }
55
56 return IUTEST_RUN_ALL_TESTS();
57 #else
58 (void)argc;
59 (void)argv;
60 printf("*** FLAGFILE_TEST=0 ***\n");
61 return 0;
62 #endif
63 }

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26