import "golang.org/x/text/internal/testtext"
Package testtext contains test data that is of common use to the text repository.
const (
ASCII = "The quick brown fox jumps over the lazy dog. " +
"The quick brown fox jumps over the lazy dog. " +
"The quick brown fox jumps over the lazy dog. " +
"The quick brown fox jumps over the lazy dog. " +
"The quick brown fox jumps over the lazy dog. " +
"The quick brown fox jumps over the lazy dog. " +
"The quick brown fox jumps over the lazy dog. " +
"The quick brown fox jumps over the lazy dog. " +
"The quick brown fox jumps over the lazy dog. " +
"The quick brown fox jumps over the lazy dog. "
Vietnamese = "" /* 814 byte string literal not displayed */
Russian = "" /* 619 byte string literal not displayed */
Greek = "" /* 752 byte string literal not displayed */
Arabic = "" /* 571 byte string literal not displayed */
Hebrew = "" /* 576 byte string literal not displayed */
TwoByteUTF8 = Russian + Greek + Arabic + Hebrew
Thai = "" /* 990 byte string literal not displayed */
ThreeByteUTF8 = Thai
Japanese = "" /* 376 byte string literal not displayed */
Chinese = "" /* 464 byte string literal not displayed */
Korean = "" /* 474 byte string literal not displayed */
CJK = Chinese + Japanese + Korean
All = ASCII + Vietnamese + TwoByteUTF8 + ThreeByteUTF8 + CJK
)CodeSize builds the given code sample and returns the binary size or en error if an error occurred. The code sample typically will look like this:
package main
import "golang.org/x/text/somepackage"
func main() {
somepackage.Func() // reference Func to cause it to be linked in.
}
See dict_test.go in the display package for an example.
SkipIfNotLong returns whether long tests should be performed.
Package testtext imports 10 packages (graph). Updated about a month ago. Refresh now. Tools for package owners.