/external/google-breakpad/src/testing/gtest/samples/ |
H A D | sample5_unittest.cc | 58 // "QuickTest". QuickTest is intended to be the super fixture that 60 // the name "QuickTest". This is OK. 62 // Later, we will derive multiple test fixtures from QuickTest. 63 class QuickTest : public testing::Test { class in inherits:testing::Test 88 // We derive a fixture named IntegerFunctionTest from the QuickTest 91 class IntegerFunctionTest : public QuickTest { 92 // We don't need any more logic than already in the QuickTest fixture. 139 // we derive another fixture from QuickTest. 142 // addition to what's in QuickTest alread [all...] |
/external/googletest/googletest/samples/ |
H A D | sample5_unittest.cc | 58 // "QuickTest". QuickTest is intended to be the super fixture that 60 // the name "QuickTest". This is OK. 62 // Later, we will derive multiple test fixtures from QuickTest. 63 class QuickTest : public testing::Test { class in inherits:testing::Test 88 // We derive a fixture named IntegerFunctionTest from the QuickTest 91 class IntegerFunctionTest : public QuickTest { 92 // We don't need any more logic than already in the QuickTest fixture. 139 // we derive another fixture from QuickTest. 142 // addition to what's in QuickTest alread [all...] |
/external/v8/testing/gtest/samples/ |
H A D | sample5_unittest.cc | 58 // "QuickTest". QuickTest is intended to be the super fixture that 60 // the name "QuickTest". This is OK. 62 // Later, we will derive multiple test fixtures from QuickTest. 63 class QuickTest : public testing::Test { class in inherits:testing::Test 88 // We derive a fixture named IntegerFunctionTest from the QuickTest 91 class IntegerFunctionTest : public QuickTest { 92 // We don't need any more logic than already in the QuickTest fixture. 139 // we derive another fixture from QuickTest. 142 // addition to what's in QuickTest alread [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/samples/ |
H A D | sample5_unittest.cc | 58 // "QuickTest". QuickTest is intended to be the super fixture that 60 // the name "QuickTest". This is OK. 62 // Later, we will derive multiple test fixtures from QuickTest. 63 class QuickTest : public testing::Test { class in inherits:testing::Test 88 // We derive a fixture named IntegerFunctionTest from the QuickTest 91 class IntegerFunctionTest : public QuickTest { 92 // We don't need any more logic than already in the QuickTest fixture. 139 // we derive another fixture from QuickTest. 142 // addition to what's in QuickTest alread [all...] |
/external/protobuf/gtest/samples/ |
H A D | sample5_unittest.cc | 58 // "QuickTest". QuickTest is intended to be the super fixture that 60 // the name "QuickTest". This is OK. 62 // Later, we will derive multiple test fixtures from QuickTest. 63 class QuickTest : public testing::Test { class in inherits:testing::Test 88 // We derive a fixture named IntegerFunctionTest from the QuickTest 91 class IntegerFunctionTest : public QuickTest { 92 // We don't need any more logic than already in the QuickTest fixture. 139 // we derive another fixture from QuickTest. 142 // addition to what's in QuickTest alread [all...] |
/external/icu/icu4c/source/test/perf/howExpensiveIs/ |
H A D | howExpensiveIs.cpp | 260 #define QuickTest(n,c,r,d) class n : public HowExpensiveTest { public: n():HowExpensiveTest(#n,__FILE__,__LINE__) c int32_t run() r virtual ~n () d }; macro 695 QuickTest(NumParseTest,{ static UChar pattern[] = { 0x23 }; NumParseTest_fmt = unum_open(UNUM_PATTERN_DECIMAL, pattern, 1, TEST_LOCALE, 0, &setupStatus); },{ int32_t i; static UChar str[] = { 0x31 };double val; for(i=0;i<U_LOTS_OF_TIMES;i++) { val=unum_parse(NumParseTest_fmt,str,1,NULL,&setupStatus); } return i; },{unum_close(NumParseTest_fmt);}) 697 QuickTest(NumParseTestdot,{ static UChar pattern[] = { 0x23 }; NumParseTest_fmt = unum_open(UNUM_PATTERN_DECIMAL, pattern, 1, TEST_LOCALE, 0, &setupStatus); },{ int32_t i; double val; for(i=0;i<U_LOTS_OF_TIMES;i++) { val=unum_parse(NumParseTest_fmt,strdot,1,NULL,&setupStatus); } return i; },{unum_close(NumParseTest_fmt);}) 698 QuickTest(NumParseTestspc,{ static UChar pattern[] = { 0x23 }; NumParseTest_fmt = unum_open(UNUM_PATTERN_DECIMAL, pattern, 1, TEST_LOCALE, 0, &setupStatus); },{ int32_t i; double val; for(i=0;i<U_LOTS_OF_TIMES;i++) { val=unum_parse(NumParseTest_fmt,strspc,1,NULL,&setupStatus); } return i; },{unum_close(NumParseTest_fmt);}) 699 QuickTest(NumParseTestgrp,{ static UChar pattern[] = { 0x23 }; NumParseTest_fmt = unum_open(UNUM_PATTERN_DECIMAL, pattern, 1, TEST_LOCALE, 0, &setupStatus); },{ int32_t i; double val; for(i=0;i<U_LOTS_OF_TIMES;i++) { val=unum_parse(NumParseTest_fmt,strgrp,-1,NULL,&setupStatus); } return i; },{unum_close(NumParseTest_fmt);}) 701 QuickTest(NumParseTestbeng,{ static UChar pattern[] = { 0x23 }; NumParseTest_fmt = unum_open(UNUM_PATTERN_DECIMAL, pattern, 1, TEST_LOCALE, 0, &setupStatus); },{ int32_t i; double val; for(i=0;i<U_LOTS_OF_TIMES;i++) { val=unum_parse(NumParseTest_fmt,strbeng,-1,NULL,&setupStatus); } return i; },{unum_close(NumParseTest_fmt);}) 709 QuickTest(DateFormatTestBasic, \ 727 QuickTest(NullTest,{},{int j=U_LOTS_OF_TIMES;while(--j);return U_LOTS_OF_TIMES;},{}) 732 QuickTest(RandomTest,{},{timespec ts; ts.tv_sec=rand()%4; int j=U_LOTS_OF_TIMES;while(--j) { ts.tv_nsec=100000+(rand()%10000)*1000000; nanosleep(&ts,NULL); return j;} return U_LOTS_OF_TIMES;},{})
|