/external/toybox/tests/ |
tail.test | 7 BIGTEST="one\ntwo\nthree\nfour\nfive\nsix\nseven\neight\nnine\nten\neleven\n" 8 echo -ne "$BIGTEST" > file1 13 testing "-n out of bounds" "tail -n 999 file1" "$BIGTEST" "" "" 19 testing "-c out of bounds" "tail -c 999 file1" "$BIGTEST" "" "" 31 "" "$BIGTEST" 32 testing "noseek -n out of bounds" "tail -n 999" "$BIGTEST" "" "$BIGTEST" 35 "$BIGTEST" 36 testing "noseek -n+ outof bounds" "tail -n +999" "" "" "$BIGTEST" 38 "even\neight\nnine\nten\neleven\n" "" "$BIGTEST" [all...] |
/prebuilts/go/darwin-x86/src/encoding/ascii85/ |
ascii85_test.go | 19 var bigtest = testpair{ var 38 bigtest, 88 input := []byte(bigtest.decoded) 103 testEqual(t, "Encoding/%d of %q = %q, want %q", bs, bigtest.decoded, strip85(bb.String()), strip85(bigtest.encoded)) 135 decoder := NewDecoder(strings.NewReader(bigtest.encoded)) 136 buf := make([]byte, len(bigtest.decoded)+12) 140 for total = 0; total < len(bigtest.decoded) && err == nil; { 145 t.Errorf("Read from %q at pos %d = %d, unexpected error %v", bigtest.encoded, total, n, err) 147 testEqual(t, "Decoding/%d of %q = %q, want %q", bs, bigtest.encoded, string(buf[0:total]), bigtest.decoded [all...] |
/prebuilts/go/linux-x86/src/encoding/ascii85/ |
ascii85_test.go | 19 var bigtest = testpair{ var 38 bigtest, 88 input := []byte(bigtest.decoded) 103 testEqual(t, "Encoding/%d of %q = %q, want %q", bs, bigtest.decoded, strip85(bb.String()), strip85(bigtest.encoded)) 135 decoder := NewDecoder(strings.NewReader(bigtest.encoded)) 136 buf := make([]byte, len(bigtest.decoded)+12) 140 for total = 0; total < len(bigtest.decoded) && err == nil; { 145 t.Errorf("Read from %q at pos %d = %d, unexpected error %v", bigtest.encoded, total, n, err) 147 testEqual(t, "Decoding/%d of %q = %q, want %q", bs, bigtest.encoded, string(buf[0:total]), bigtest.decoded [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidDeflateTest.java | 31 bigTest(0, 1738149618); 32 bigTest(1, 934350518); 33 bigTest(2, -532869390); 74 private void bigTest(int step, int expectedAdler)
|
/prebuilts/go/darwin-x86/src/encoding/base64/ |
base64_test.go | 96 var bigtest = testpair{ var 131 input := []byte(bigtest.decoded) 146 testEqual(t, "Encoding/%d of %q = %q, want %q", bs, bigtest.decoded, bb.String(), bigtest.encoded) 186 decoder := NewDecoder(StdEncoding, strings.NewReader(bigtest.encoded)) 187 buf := make([]byte, len(bigtest.decoded)+12) 191 for total = 0; total < len(bigtest.decoded) && err == nil; { 196 t.Errorf("Read from %q at pos %d = %d, unexpected error %v", bigtest.encoded, total, n, err) 198 testEqual(t, "Decoding/%d of %q = %q, want %q", bs, bigtest.encoded, string(buf[0:total]), bigtest.decoded [all...] |
/prebuilts/go/linux-x86/src/encoding/base64/ |
base64_test.go | 96 var bigtest = testpair{ var 131 input := []byte(bigtest.decoded) 146 testEqual(t, "Encoding/%d of %q = %q, want %q", bs, bigtest.decoded, bb.String(), bigtest.encoded) 186 decoder := NewDecoder(StdEncoding, strings.NewReader(bigtest.encoded)) 187 buf := make([]byte, len(bigtest.decoded)+12) 191 for total = 0; total < len(bigtest.decoded) && err == nil; { 196 t.Errorf("Read from %q at pos %d = %d, unexpected error %v", bigtest.encoded, total, n, err) 198 testEqual(t, "Decoding/%d of %q = %q, want %q", bs, bigtest.encoded, string(buf[0:total]), bigtest.decoded [all...] |
/prebuilts/go/darwin-x86/src/encoding/base32/ |
base32_test.go | 41 var bigtest = testpair{ var 73 input := []byte(bigtest.decoded) 88 testEqual(t, "Encoding/%d of %q = %q, want %q", bs, bigtest.decoded, bb.String(), bigtest.encoded) 284 decoder := NewDecoder(StdEncoding, strings.NewReader(bigtest.encoded)) 285 buf := make([]byte, len(bigtest.decoded)+12) 289 for total = 0; total < len(bigtest.decoded) && err == nil; { 294 t.Errorf("Read from %q at pos %d = %d, unexpected error %v", bigtest.encoded, total, n, err) 296 testEqual(t, "Decoding/%d of %q = %q, want %q", bs, bigtest.encoded, string(buf[0:total]), bigtest.decoded [all...] |
/prebuilts/go/linux-x86/src/encoding/base32/ |
base32_test.go | 41 var bigtest = testpair{ var 73 input := []byte(bigtest.decoded) 88 testEqual(t, "Encoding/%d of %q = %q, want %q", bs, bigtest.decoded, bb.String(), bigtest.encoded) 284 decoder := NewDecoder(StdEncoding, strings.NewReader(bigtest.encoded)) 285 buf := make([]byte, len(bigtest.decoded)+12) 289 for total = 0; total < len(bigtest.decoded) && err == nil; { 294 t.Errorf("Read from %q at pos %d = %d, unexpected error %v", bigtest.encoded, total, n, err) 296 testEqual(t, "Decoding/%d of %q = %q, want %q", bs, bigtest.encoded, string(buf[0:total]), bigtest.decoded [all...] |
/system/update_engine/common/ |
hash_calculator_unittest.cc | 84 TEST_F(HashCalculatorTest, BigTest) {
|