HomeSort by relevance Sort by last modified time
    Searched defs:Water (Results 1 - 2 of 2) sorted by null

  /external/chromium/testing/gtest/samples/
sample10_unittest.cc 51 class Water {
53 // Normal Water declarations go here.
55 // operator new and operator delete help us control water allocation.
72 int Water::allocated_ = 0;
74 // This event listener monitors how many Water objects are created and
75 // destroyed by each test, and reports a failure if a test leaks some Water
76 // objects. It does this by comparing the number of live Water objects at
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
93 << "Leaked " << difference << " unit(s) of Water!";
100 Water* water = new Water; local
107 Water* water = new Water; local
    [all...]
  /external/protobuf/gtest/samples/
sample10_unittest.cc 51 class Water {
53 // Normal Water declarations go here.
55 // operator new and operator delete help us control water allocation.
72 int Water::allocated_ = 0;
74 // This event listener monitors how many Water objects are created and
75 // destroyed by each test, and reports a failure if a test leaks some Water
76 // objects. It does this by comparing the number of live Water objects at
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
93 << "Leaked " << difference << " unit(s) of Water!";
100 Water* water = new Water; local
107 Water* water = new Water; local
    [all...]

Completed in 284 milliseconds