Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Functions
text_input_model_unittests.cc File Reference
#include "flutter/shell/platform/common/text_input_model.h"
#include <limits>
#include <map>
#include <vector>
#include "gtest/gtest.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 

Functions

 flutter::TEST (TextInputModel, SetText)
 
 flutter::TEST (TextInputModel, SetTextWideCharacters)
 
 flutter::TEST (TextInputModel, SetTextEmpty)
 
 flutter::TEST (TextInputModel, SetTextReplaceText)
 
 flutter::TEST (TextInputModel, SetTextResetsSelection)
 
 flutter::TEST (TextInputModel, SetSelectionStart)
 
 flutter::TEST (TextInputModel, SetSelectionComposingStart)
 
 flutter::TEST (TextInputModel, SetSelectionMiddle)
 
 flutter::TEST (TextInputModel, SetSelectionComposingMiddle)
 
 flutter::TEST (TextInputModel, SetSelectionEnd)
 
 flutter::TEST (TextInputModel, SetSelectionComposingEnd)
 
 flutter::TEST (TextInputModel, SetSelectionWthExtent)
 
 flutter::TEST (TextInputModel, SetSelectionWthExtentComposing)
 
 flutter::TEST (TextInputModel, SetSelectionReverseExtent)
 
 flutter::TEST (TextInputModel, SetSelectionReverseExtentComposing)
 
 flutter::TEST (TextInputModel, SetSelectionOutsideString)
 
 flutter::TEST (TextInputModel, SetSelectionOutsideComposingRange)
 
 flutter::TEST (TextInputModel, SetComposingRangeStart)
 
 flutter::TEST (TextInputModel, SetComposingRangeMiddle)
 
 flutter::TEST (TextInputModel, SetComposingRangeEnd)
 
 flutter::TEST (TextInputModel, SetComposingRangeWithExtent)
 
 flutter::TEST (TextInputModel, SetComposingRangeReverseExtent)
 
 flutter::TEST (TextInputModel, SetComposingRangeOutsideString)
 
 flutter::TEST (TextInputModel, CommitComposingNoTextWithNoSelection)
 
 flutter::TEST (TextInputModel, CommitComposingNoTextWithSelection)
 
 flutter::TEST (TextInputModel, CommitComposingTextWithNoSelection)
 
 flutter::TEST (TextInputModel, CommitComposingTextWithSelection)
 
 flutter::TEST (TextInputModel, UpdateComposingRemovesLastComposingCharacter)
 
 flutter::TEST (TextInputModel, UpdateSelectionWhileComposing)
 
 flutter::TEST (TextInputModel, AddCodePoint)
 
 flutter::TEST (TextInputModel, AddCodePointSelection)
 
 flutter::TEST (TextInputModel, AddCodePointReverseSelection)
 
 flutter::TEST (TextInputModel, AddCodePointSelectionWideCharacter)
 
 flutter::TEST (TextInputModel, AddCodePointReverseSelectionWideCharacter)
 
 flutter::TEST (TextInputModel, AddText)
 
 flutter::TEST (TextInputModel, AddTextSelection)
 
 flutter::TEST (TextInputModel, AddTextReverseSelection)
 
 flutter::TEST (TextInputModel, AddTextSelectionWideCharacter)
 
 flutter::TEST (TextInputModel, AddTextReverseSelectionWideCharacter)
 
 flutter::TEST (TextInputModel, DeleteStart)
 
 flutter::TEST (TextInputModel, DeleteMiddle)
 
 flutter::TEST (TextInputModel, DeleteEnd)
 
 flutter::TEST (TextInputModel, DeleteWideCharacters)
 
 flutter::TEST (TextInputModel, DeleteSelection)
 
 flutter::TEST (TextInputModel, DeleteReverseSelection)
 
 flutter::TEST (TextInputModel, DeleteStartComposing)
 
 flutter::TEST (TextInputModel, DeleteStartReverseComposing)
 
 flutter::TEST (TextInputModel, DeleteMiddleComposing)
 
 flutter::TEST (TextInputModel, DeleteMiddleReverseComposing)
 
 flutter::TEST (TextInputModel, DeleteEndComposing)
 
 flutter::TEST (TextInputModel, DeleteEndReverseComposing)
 
 flutter::TEST (TextInputModel, DeleteSurroundingAtCursor)
 
 flutter::TEST (TextInputModel, DeleteSurroundingAtCursorComposing)
 
 flutter::TEST (TextInputModel, DeleteSurroundingAtCursorAll)
 
 flutter::TEST (TextInputModel, DeleteSurroundingAtCursorAllComposing)
 
 flutter::TEST (TextInputModel, DeleteSurroundingAtCursorGreedy)
 
 flutter::TEST (TextInputModel, DeleteSurroundingAtCursorGreedyComposing)
 
 flutter::TEST (TextInputModel, DeleteSurroundingBeforeCursor)
 
 flutter::TEST (TextInputModel, DeleteSurroundingBeforeCursorComposing)
 
 flutter::TEST (TextInputModel, DeleteSurroundingBeforeCursorAll)
 
 flutter::TEST (TextInputModel, DeleteSurroundingBeforeCursorAllComposing)
 
 flutter::TEST (TextInputModel, DeleteSurroundingBeforeCursorGreedy)
 
 flutter::TEST (TextInputModel, DeleteSurroundingBeforeCursorGreedyComposing)
 
 flutter::TEST (TextInputModel, DeleteSurroundingAfterCursor)
 
 flutter::TEST (TextInputModel, DeleteSurroundingAfterCursorComposing)
 
 flutter::TEST (TextInputModel, DeleteSurroundingAfterCursorAll)
 
 flutter::TEST (TextInputModel, DeleteSurroundingAfterCursorAllComposing)
 
 flutter::TEST (TextInputModel, DeleteSurroundingAfterCursorGreedy)
 
 flutter::TEST (TextInputModel, DeleteSurroundingAfterCursorGreedyComposing)
 
 flutter::TEST (TextInputModel, DeleteSurroundingSelection)
 
 flutter::TEST (TextInputModel, DeleteSurroundingReverseSelection)
 
 flutter::TEST (TextInputModel, BackspaceStart)
 
 flutter::TEST (TextInputModel, BackspaceMiddle)
 
 flutter::TEST (TextInputModel, BackspaceEnd)
 
 flutter::TEST (TextInputModel, BackspaceWideCharacters)
 
 flutter::TEST (TextInputModel, BackspaceSelection)
 
 flutter::TEST (TextInputModel, BackspaceReverseSelection)
 
 flutter::TEST (TextInputModel, BackspaceStartComposing)
 
 flutter::TEST (TextInputModel, BackspaceStartReverseComposing)
 
 flutter::TEST (TextInputModel, BackspaceMiddleComposing)
 
 flutter::TEST (TextInputModel, BackspaceMiddleReverseComposing)
 
 flutter::TEST (TextInputModel, BackspaceEndComposing)
 
 flutter::TEST (TextInputModel, BackspaceEndReverseComposing)
 
 flutter::TEST (TextInputModel, MoveCursorForwardStart)
 
 flutter::TEST (TextInputModel, MoveCursorForwardMiddle)
 
 flutter::TEST (TextInputModel, MoveCursorForwardEnd)
 
 flutter::TEST (TextInputModel, MoveCursorForwardWideCharacters)
 
 flutter::TEST (TextInputModel, MoveCursorForwardSelection)
 
 flutter::TEST (TextInputModel, MoveCursorForwardReverseSelection)
 
 flutter::TEST (TextInputModel, MoveCursorForwardStartComposing)
 
 flutter::TEST (TextInputModel, MoveCursorForwardStartReverseComposing)
 
 flutter::TEST (TextInputModel, MoveCursorForwardMiddleComposing)
 
 flutter::TEST (TextInputModel, MoveCursorForwardMiddleReverseComposing)
 
 flutter::TEST (TextInputModel, MoveCursorForwardEndComposing)
 
 flutter::TEST (TextInputModel, MoveCursorForwardEndReverseComposing)
 
 flutter::TEST (TextInputModel, MoveCursorBackStart)
 
 flutter::TEST (TextInputModel, MoveCursorBackMiddle)
 
 flutter::TEST (TextInputModel, MoveCursorBackEnd)
 
 flutter::TEST (TextInputModel, MoveCursorBackWideCharacters)
 
 flutter::TEST (TextInputModel, MoveCursorBackSelection)
 
 flutter::TEST (TextInputModel, MoveCursorBackReverseSelection)
 
 flutter::TEST (TextInputModel, MoveCursorBackStartComposing)
 
 flutter::TEST (TextInputModel, MoveCursorBackStartReverseComposing)
 
 flutter::TEST (TextInputModel, MoveCursorBackMiddleComposing)
 
 flutter::TEST (TextInputModel, MoveCursorBackMiddleReverseComposing)
 
 flutter::TEST (TextInputModel, MoveCursorBackEndComposing)
 
 flutter::TEST (TextInputModel, MoveCursorBackEndReverseComposing)
 
 flutter::TEST (TextInputModel, MoveCursorToBeginningStart)
 
 flutter::TEST (TextInputModel, SelectToBeginningStart)
 
 flutter::TEST (TextInputModel, MoveCursorToBeginningMiddle)
 
 flutter::TEST (TextInputModel, SelectToBeginningMiddle)
 
 flutter::TEST (TextInputModel, MoveCursorToBeginningEnd)
 
 flutter::TEST (TextInputModel, SelectToBeginningEnd)
 
 flutter::TEST (TextInputModel, MoveCursorToBeginningSelection)
 
 flutter::TEST (TextInputModel, SelectToBeginningSelection)
 
 flutter::TEST (TextInputModel, MoveCursorToBeginningReverseSelection)
 
 flutter::TEST (TextInputModel, SelectToBeginningReverseSelection)
 
 flutter::TEST (TextInputModel, MoveCursorToBeginningStartComposing)
 
 flutter::TEST (TextInputModel, SelectToBeginningStartComposing)
 
 flutter::TEST (TextInputModel, MoveCursorToBeginningStartReverseComposing)
 
 flutter::TEST (TextInputModel, SelectToBeginningStartReverseComposing)
 
 flutter::TEST (TextInputModel, MoveCursorToBeginningMiddleComposing)
 
 flutter::TEST (TextInputModel, SelectToBeginningMiddleComposing)
 
 flutter::TEST (TextInputModel, MoveCursorToBeginningMiddleReverseComposing)
 
 flutter::TEST (TextInputModel, SelectToBeginningMiddleReverseComposing)
 
 flutter::TEST (TextInputModel, MoveCursorToBeginningEndComposing)
 
 flutter::TEST (TextInputModel, SelectToBeginningEndComposing)
 
 flutter::TEST (TextInputModel, MoveCursorToBeginningEndReverseComposing)
 
 flutter::TEST (TextInputModel, SelectToBeginningEndReverseComposing)
 
 flutter::TEST (TextInputModel, MoveCursorToEndStart)
 
 flutter::TEST (TextInputModel, SelectToEndStart)
 
 flutter::TEST (TextInputModel, MoveCursorToEndMiddle)
 
 flutter::TEST (TextInputModel, SelectToEndMiddle)
 
 flutter::TEST (TextInputModel, MoveCursorToEndEnd)
 
 flutter::TEST (TextInputModel, SelectToEndEnd)
 
 flutter::TEST (TextInputModel, MoveCursorToEndSelection)
 
 flutter::TEST (TextInputModel, SelectToEndSelection)
 
 flutter::TEST (TextInputModel, MoveCursorToEndReverseSelection)
 
 flutter::TEST (TextInputModel, SelectToEndReverseSelection)
 
 flutter::TEST (TextInputModel, MoveCursorToEndStartComposing)
 
 flutter::TEST (TextInputModel, SelectToEndStartComposing)
 
 flutter::TEST (TextInputModel, MoveCursorToEndStartReverseComposing)
 
 flutter::TEST (TextInputModel, SelectToEndStartReverseComposing)
 
 flutter::TEST (TextInputModel, MoveCursorToEndMiddleComposing)
 
 flutter::TEST (TextInputModel, SelectToEndMiddleComposing)
 
 flutter::TEST (TextInputModel, MoveCursorToEndMiddleReverseComposing)
 
 flutter::TEST (TextInputModel, SelectToEndMiddleReverseComposing)
 
 flutter::TEST (TextInputModel, MoveCursorToEndEndComposing)
 
 flutter::TEST (TextInputModel, SelectToEndEndComposing)
 
 flutter::TEST (TextInputModel, MoveCursorToEndEndReverseComposing)
 
 flutter::TEST (TextInputModel, SelectToEndEndReverseComposing)
 
 flutter::TEST (TextInputModel, GetCursorOffset)
 
 flutter::TEST (TextInputModel, GetCursorOffsetSelection)
 
 flutter::TEST (TextInputModel, GetCursorOffsetReverseSelection)