OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 function_with_n_params_and_m_args(6000, 8000)); | 55 function_with_n_params_and_m_args(6000, 8000)); |
56 assertEquals('prefix 5000 suffix', | 56 assertEquals('prefix 5000 suffix', |
57 function_with_n_params_and_m_args(10000, 8000)); | 57 function_with_n_params_and_m_args(10000, 8000)); |
58 assertEquals('prefix 9000 suffix', | 58 assertEquals('prefix 9000 suffix', |
59 function_with_n_params_and_m_args(18000, 18000)); | 59 function_with_n_params_and_m_args(18000, 18000)); |
60 assertEquals('prefix 16000 suffix', | 60 assertEquals('prefix 16000 suffix', |
61 function_with_n_params_and_m_args(32000, 32000)); | 61 function_with_n_params_and_m_args(32000, 32000)); |
62 assertEquals('prefix undefined suffix', | 62 assertEquals('prefix undefined suffix', |
63 function_with_n_params_and_m_args(32000, 10000)); | 63 function_with_n_params_and_m_args(32000, 10000)); |
64 | 64 |
65 assertThrows("function_with_n_params_and_m_args(35000, 35000)"); | 65 assertThrows("function_with_n_params_and_m_args(66000, 60000)"); |
66 assertThrows("function_with_n_params_and_m_args(100000, 100000)"); | 66 assertThrows("function_with_n_params_and_m_args(60000, 66000)"); |
67 assertThrows("function_with_n_params_and_m_args(35000, 30000)"); | |
68 assertThrows("function_with_n_params_and_m_args(30000, 35000)"); | |
OLD | NEW |