Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | List of all members
dart::Expect Class Reference

#include <assert.h>

Inheritance diagram for dart::Expect:
dart::DynamicAssertionHelper

Public Member Functions

 Expect (const char *file, int line)
 
void Fail (const char *format,...) const PRINTF_ATTRIBUTE(2
 
- Public Member Functions inherited from dart::DynamicAssertionHelper
 DynamicAssertionHelper (const char *file, int line)
 

Static Public Member Functions

void static bool failed ()
 

Additional Inherited Members

- Protected Member Functions inherited from dart::DynamicAssertionHelper
void Print (const char *format, va_list arguments, bool will_abort=false) const
 
 DISALLOW_IMPLICIT_CONSTRUCTORS (DynamicAssertionHelper)
 
- Protected Attributes inherited from dart::DynamicAssertionHelper
const char *const file_
 
const int line_
 

Detailed Description

Definition at line 53 of file assert.h.

Constructor & Destructor Documentation

◆ Expect()

dart::Expect::Expect ( const char *  file,
int  line 
)
inline

Definition at line 55 of file assert.h.

Member Function Documentation

◆ Fail()

void dart::Expect::Fail ( const char *  format,
  ... 
) const

◆ failed()

void static bool dart::Expect::failed ( )
inlinestatic

Definition at line 94 of file assert.h.

94{ return failed_; }

The documentation for this class was generated from the following file: