- Timestamp:
- Apr 10, 2025, 7:44:17 PM (8 months ago)
- Branches:
- master
- Children:
- 570e7ad
- Parents:
- d175767
- Location:
- tests
- Files:
-
- 1 added
- 9 edited
-
Makefile.am (modified) (1 diff)
-
collections/.expect/string-operator-ERR09.txt (added)
-
collections/.expect/string-operator.txt (modified) (2 diffs)
-
collections/string-api-coverage.cfa (modified) (1 diff)
-
collections/string-ctx-manage.cfa (modified) (1 diff)
-
collections/string-gc.cfa (modified) (1 diff)
-
collections/string-istream-manip.cfa (modified) (1 diff)
-
collections/string-istream.cfa (modified) (1 diff)
-
collections/string-operator.cfa (modified) (5 diffs)
-
collections/string-overwrite.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/Makefile.am
rd175767 r3f631d6 288 288 -cp ${test} ${abspath ${@}} 289 289 290 collections/string-operator-ERR09 : collections/string-operator.cfa 291 ${CFACOMPILE_SYNTAX} -DTRY_MR09 292 -cp ${test} ${abspath ${@}} 293 290 294 collections/string-operator-ERR15 : collections/string-operator.cfa 291 295 ${CFACOMPILE_SYNTAX} -DTRY_MR15 -
tests/collections/.expect/string-operator.txt
rd175767 r3f631d6 65 65 66 66 ------------- Bare (sout-direct) 67 ab 67 (skip) 68 68 ab 69 69 ab … … 85 85 axb 86 86 87 aaa 87 291 88 88 bbb 89 ÃÃÃ 89 585 90 90 cdcdcd 91 91 92 92 291 93 93 bbb 94 ababab 94 585 95 95 cdcdcd 96 96 -
tests/collections/string-api-coverage.cfa
rd175767 r3f631d6 1 #include < collections/string.hfa>1 #include <string.hfa> 2 2 #include <string_sharectx.hfa> 3 #include <fstream.hfa> 3 4 4 5 -
tests/collections/string-ctx-manage.cfa
rd175767 r3f631d6 2 2 #include <string_sharectx.hfa> 3 3 #include <string_res.hfa> 4 #include <fstream.hfa> 4 5 5 6 // In these tests, shared heaps are never remotely full and string sizes are tiny. -
tests/collections/string-gc.cfa
rd175767 r3f631d6 1 1 #include <string_res.hfa> 2 #include <fstream.hfa> 2 3 3 4 size_t bytesRemaining() { -
tests/collections/string-istream-manip.cfa
rd175767 r3f631d6 1 1 2 2 #include <fstream.hfa> 3 #include < collections/string.hfa>4 #include < collections/string_res.hfa>3 #include <string.hfa> 4 #include <string_res.hfa> 5 5 #include <stdio.h> 6 6 -
tests/collections/string-istream.cfa
rd175767 r3f631d6 1 #include < iostream.hfa>2 #include < collections/string.hfa>3 #include < collections/string_res.hfa>1 #include <fstream.hfa> 2 #include <string.hfa> 3 #include <string_res.hfa> 4 4 5 5 -
tests/collections/string-operator.cfa
rd175767 r3f631d6 9 9 10 10 // These MR points do reject in the current revision, so they have satellite "-ERR" cases: 11 // MR09 11 12 // MR15 12 13 … … 20 21 #define TRY_MR07 21 22 #define TRY_MR08 22 #define TRY_MR0923 23 #define TRY_MR10 24 24 #define TRY_MR11 … … 275 275 s = "x"; 276 276 277 MR09( sout | 'a' + 'b'; ) // ab277 MR09( sout | 'a' + 'b'; ) // (ambiguous) 278 278 sout | 'a' + "b"; // ab 279 279 sout | "a" + 'b'; // ab … … 299 299 sout | nl; // 300 300 301 MR11( sout | 'a' * 3; ) // aaa301 MR11( sout | 'a' * 3; ) // 291 302 302 sout | "b" * 3; // bbb 303 MR12( sout | ('a' + 'b') * 3; ) // ÃÃÃ303 MR12( sout | ('a' + 'b') * 3; ) // 585 304 304 sout | ('c' + "d") * 3; // cdcdcd 305 305 sout | nl; // … … 307 307 MR13( sout | 3 * 'a'; ) // 291 308 308 sout | 3 * "b"; // bbb 309 MR14( sout | 3 * ('a' + 'b'); ) // ababab309 MR14( sout | 3 * ('a' + 'b'); ) // 585 310 310 sout | 3 * ('c' + "d"); // cdcdcd 311 311 sout | nl; // -
tests/collections/string-overwrite.cfa
rd175767 r3f631d6 1 #include < collections/string.hfa>1 #include <string.hfa> 2 2 #include <string_sharectx.hfa> 3 #include <fstream.hfa> 3 4 4 5 /*
Note:
See TracChangeset
for help on using the changeset viewer.