Home
last modified time | relevance | path

Searched refs:totals (Results 1 – 25 of 50) sorted by relevance

12

/external/catch2/include/reporters/
Dcatch_reporter_compact.cpp42 void printTotals(std::ostream& out, const Totals& totals) { in printTotals() argument
43 if (totals.testCases.total() == 0) { in printTotals()
45 } else if (totals.testCases.failed == totals.testCases.total()) { in printTotals()
48 totals.assertions.failed == totals.assertions.total() ? in printTotals()
49 bothOrAll(totals.assertions.failed) : std::string(); in printTotals()
51 "Failed " << bothOrAll(totals.testCases.failed) in printTotals()
52 << pluralise(totals.testCases.failed, "test case") << ", " in printTotals()
54 pluralise(totals.assertions.failed, "assertion") << '.'; in printTotals()
55 } else if (totals.assertions.total() == 0) { in printTotals()
57 "Passed " << bothOrAll(totals.testCases.total()) in printTotals()
[all …]
Dcatch_reporter_console.cpp113 if (stats.totals.assertions.total() > 0) { in print()
433 printTotals(_testGroupStats.totals); in testGroupEnded()
439 printTotalsDivider(_testRunStats.totals); in testRunEnded()
440 printTotals(_testRunStats.totals); in testRunEnded()
553 void ConsoleReporter::printTotals( Totals const& totals ) { in printTotals() argument
554 if (totals.testCases.total() == 0) { in printTotals()
556 } else if (totals.assertions.total() > 0 && totals.testCases.allPassed()) { in printTotals()
559 << pluralise(totals.assertions.passed, "assertion") << " in " in printTotals()
560 << pluralise(totals.testCases.passed, "test case") << ')' in printTotals()
566 .addRow(totals.testCases.total()) in printTotals()
[all …]
Dcatch_reporter_xml.cpp188 e.writeAttribute( "success", testCaseStats.totals.assertions.allOk() ); in testCaseEnded()
205 .writeAttribute( "successes", testGroupStats.totals.assertions.passed ) in testGroupEnded()
206 .writeAttribute( "failures", testGroupStats.totals.assertions.failed ) in testGroupEnded()
207 .writeAttribute( "expectedFailures", testGroupStats.totals.assertions.failedButOk ); in testGroupEnded()
214 .writeAttribute( "successes", testRunStats.totals.assertions.passed ) in testRunEnded()
215 .writeAttribute( "failures", testRunStats.totals.assertions.failed ) in testRunEnded()
216 .writeAttribute( "expectedFailures", testRunStats.totals.assertions.failedButOk ); in testRunEnded()
Dcatch_reporter_automake.hpp37 if (_testCaseStats.totals.assertions.allPassed()) { in testCaseEnded()
39 } else if (_testCaseStats.totals.assertions.allOk()) { in testCaseEnded()
Dcatch_reporter_console.h67 void printTotals(Totals const& totals);
70 void printTotalsDivider(Totals const& totals);
Dcatch_reporter_tap.hpp54 printTotals( _testRunStats.totals ); in testRunEnded()
236 void printTotals( const Totals& totals ) const { in printTotals()
237 if( totals.testCases.total() == 0 ) { in printTotals()
/external/toybox/toys/posix/
Dls.c293 unsigned width, flags = toys.optflags, totals[8], len[8], totpad = 0, in listfiles() local
303 memset(totals, 0, sizeof(totals)); in listfiles()
353 if (len[width]>totals[width]) totals[width] = len[width]; in listfiles()
356 totpad = totals[1]+!!totals[1]+totals[6]+!!totals[6]+totals[7]+!!totals[7]; in listfiles()
424 if (flags & FLAG_i) printf("%*lu ", totals[1], (unsigned long)st->st_ino); in listfiles()
428 printf("%*s ", totals[6], tmp); in listfiles()
436 printf("%s% *ld", tmp, totals[2]+1, (long)st->st_nlink); in listfiles()
441 ii = -totals[3]; in listfiles()
450 ii = -totals[4]; in listfiles()
457 printf(" %-*s", -(int)totals[7], (char *)sort[next]->extra); in listfiles()
[all …]
Dwc.c31 unsigned long totals[4]; in GLOBALS()
53 TT.totals[i] += lengths[i];
119 if (toys.optc>1) show_lengths(TT.totals, "total"); in wc_main()
/external/pdfium/testing/tools/
Dsafetynet_conclusions.py283 totals = conclusions_dict['summary']
285 print 'Test cases run: %d' % totals['total']
288 color = FORMAT_MAGENTA if totals[RATING_FAILURE] else FORMAT_GREEN
290 % color.format(totals[RATING_FAILURE]))
293 color = FORMAT_RED if totals[RATING_REGRESSION] else FORMAT_GREEN
295 % color.format(totals[RATING_REGRESSION]))
298 color = FORMAT_CYAN if totals[RATING_IMPROVEMENT] else FORMAT_GREEN
300 % color.format(totals[RATING_IMPROVEMENT]))
/external/catch2/include/internal/
Dcatch_session.cpp67 Totals totals; in runTests() local
76 totals += context.runTest(testCase); in runTests()
81 if (config->warnAboutNoTests() && totals.testCases.total() == 0) { in runTests()
92 totals.error = -1; in runTests()
95 context.testGroupEnded(config->name(), totals, 1, 1); in runTests()
96 return totals; in runTests()
271 auto totals = runTests( m_config ); in runInternal()
275 …return (std::min) (MaxExitCode, (std::max) (totals.error, static_cast<int>(totals.assertions.faile… in runInternal()
Dcatch_interfaces_reporter.cpp38 totals( _totals ) in AssertionStats()
74 totals( _totals ), in TestCaseStats()
87 totals( _totals ), in TestGroupStats()
102 totals( _totals ), in TestRunStats()
Dcatch_interfaces_reporter.h89 Totals totals; member
123 Totals totals; member
142 Totals totals; member
158 Totals totals; member
/external/deqp/executor/tools/
DxeBatchResultToXml.cpp144 ResultToSingleXmlLogHandler (xe::xml::Writer& writer, BatchResultTotals& totals) in ResultToSingleXmlLogHandler() argument
146 , m_totals (totals) in ResultToSingleXmlLogHandler()
183 static void writeTotals (xe::xml::Writer& writer, const BatchResultTotals& totals) in writeTotals() argument
193 …ribute(xe::getTestStatusCodeName((xe::TestStatusCode)code), de::toString(totals.countByCode[code])… in writeTotals()
194 totalCases += totals.countByCode[code]; in writeTotals()
205 BatchResultTotals totals; in batchResultToSingleXmlFile() local
206 ResultToSingleXmlLogHandler handler (writer, totals); in batchResultToSingleXmlFile()
221 writeTotals(writer, totals); in batchResultToSingleXmlFile()
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/
Dtree_utils_test.cc99 Tensor totals = test::AsTensor<float>( in TEST() local
110 EXPECT_EQ(BestFeatureClassification(totals, splits, 2), 1); in TEST()
118 Tensor totals = in TEST() local
129 EXPECT_EQ(BestFeatureClassification(totals, splits, 2), 0); in TEST()
/external/ltp/utils/ffsb-6.0-rc2/
Dffsb_stats.c87 fsd->totals[i] = 0; in ffsb_statsd_init()
120 fsd->totals[s] += value; in ffsb_add_data()
155 dest->totals[i] += src->totals[i]; in ffsb_statsd_add()
193 (fsd->totals[i] / (1000.0f * in ffsb_statsd_print()
/external/tensorflow/tensorflow/contrib/specs/python/
Dsummaries.py163 totals = [tf_num_params(y) for y in x.inputs]
164 return sum(totals)
202 totals = [tf_num_params(y) for y in right]
203 total = sum(totals)
/external/perfetto/tools/
Dprofiling_sample_distribution.cc131 std::map<std::string, uint64_t> totals; in ProfilingSampleDistributionMain() local
138 totals[pair.first] += sample_size; in ProfilingSampleDistributionMain()
141 for (const auto& pair : totals) in ProfilingSampleDistributionMain()
/external/cldr/tools/java/org/unicode/cldr/util/
DVoteResolver.java298 private final Counter<T> totals = new Counter<T>(true); field in VoteResolver.OrganizationToValueAndVote
418 totals.clear(); in getTotals()
482 totals.add(considerItem, considerCount, considerTime); in getTotals()
485 …System.out.println("Totals: " + totals.toString() + " : " + new Timestamp(considerTime).toString()… in getTotals()
491 System.out.println("FINALTotals: " + totals.toString()); in getTotals()
493 return totals; in getTotals()
582 private Counter<T> totals = null; field in VoteResolver
835 totals = organizationToValueAndVote.getTotals(conflictedOrganizations); in resolveVotes()
837 final Set<T> sortedValues = totals.getKeysetSortedByCount(false, votesThenUcaCollator); in resolveVotes()
911 map.put(value, totals.getCount(value)); in makeVoteCountMap()
[all …]
/external/catch2/single_include/catch2/
Dcatch_reporter_automake.hpp37 if (_testCaseStats.totals.assertions.allPassed()) { in testCaseEnded()
39 } else if (_testCaseStats.totals.assertions.allOk()) { in testCaseEnded()
Dcatch_reporter_tap.hpp54 printTotals( _testRunStats.totals ); in testRunEnded()
236 void printTotals( const Totals& totals ) const { in printTotals()
237 if( totals.testCases.total() == 0 ) { in printTotals()
Dcatch.hpp4927 Totals totals; member
4961 Totals totals; member
4980 Totals totals; member
4996 Totals totals; member
5541 void printTotals(Totals const& totals);
5544 void printTotalsDivider(Totals const& totals);
6146 …void testGroupEnded( std::string const& testSpec, Totals const& totals, std::size_t groupIndex, st…
8939 totals( _totals ) in AssertionStats()
8974 totals( _totals ), in TestCaseStats()
8986 totals( _totals ), in TestGroupStats()
[all …]
/external/bcc/tests/cc/
Dcatch.hpp5106 totals( _totals ) in AssertionStats()
5129 Totals totals; member
5163 totals( _totals ), in TestCaseStats()
5178 Totals totals; member
5189 totals( _totals ), in TestGroupStats()
5206 Totals totals; member
5215 totals( _totals ), in TestRunStats()
5223 totals( _other.totals ), in TestRunStats()
5234 Totals totals; member
5884 …void testGroupEnded( std::string const& testSpec, Totals const& totals, std::size_t groupIndex, st… in testGroupEnded() argument
[all …]
/external/python/google-api-python-client/samples/analytics/
Dcore_reporting_v3_reference.py238 totals = results.get('totalsForAllResults')
240 for metric_name, metric_total in totals.iteritems():
/external/antlr/runtime/Perl5/
DMakefile.PL8 ctags -f tags --recurse --totals \
/external/catch2/examples/
D210-Evt-EventListeners.cpp118 print( os, level+1 , "- totals" , info.totals ); in print()
176 print( os, level+1 , "- totals" , info.totals ); in print()
290 print( os, level+1 , "- totals", info.totals ); in print()

12