| 1809 | /* ── Suite registration ──────────────────────────────────────────── */ |
| 1810 | |
| 1811 | void suite_java_lsp(void) { |
| 1812 | /* Strings / java.lang */ |
| 1813 | RUN_TEST(jlsp_string_length); |
| 1814 | RUN_TEST(jlsp_string_concat_method); |
| 1815 | RUN_TEST(jlsp_string_chain); |
| 1816 | RUN_TEST(jlsp_string_static); |
| 1817 | RUN_TEST(jlsp_string_format); |
| 1818 | |
| 1819 | /* Math + System + Integer */ |
| 1820 | RUN_TEST(jlsp_math_static); |
| 1821 | RUN_TEST(jlsp_math_chain); |
| 1822 | RUN_TEST(jlsp_system_currentTimeMillis); |
| 1823 | RUN_TEST(jlsp_system_out_println); |
| 1824 | RUN_TEST(jlsp_integer_parse); |
| 1825 | |
| 1826 | /* Local class + this/super */ |
| 1827 | RUN_TEST(jlsp_local_method_call); |
| 1828 | RUN_TEST(jlsp_this_method_call); |
| 1829 | RUN_TEST(jlsp_super_method_call); |
| 1830 | RUN_TEST(jlsp_local_field_method); |
| 1831 | RUN_TEST(jlsp_field_no_this_method); |
| 1832 | |
| 1833 | /* Constructors */ |
| 1834 | RUN_TEST(jlsp_object_creation); |
| 1835 | RUN_TEST(jlsp_arraylist_creation); |
| 1836 | RUN_TEST(jlsp_constructor_then_method); |
| 1837 | |
| 1838 | /* Collections */ |
| 1839 | RUN_TEST(jlsp_list_add); |
| 1840 | RUN_TEST(jlsp_list_get_chain); |
| 1841 | RUN_TEST(jlsp_hashmap); |
| 1842 | RUN_TEST(jlsp_list_static_of); |
| 1843 | RUN_TEST(jlsp_set_contains); |
| 1844 | |
| 1845 | /* Inheritance */ |
| 1846 | RUN_TEST(jlsp_inherited_method); |
| 1847 | RUN_TEST(jlsp_inherited_through_chain); |
| 1848 | RUN_TEST(jlsp_super_chain_object_toString); |
| 1849 | |
| 1850 | /* Enhanced for */ |
| 1851 | RUN_TEST(jlsp_enhanced_for_array); |
| 1852 | RUN_TEST(jlsp_enhanced_for_list); |
| 1853 | RUN_TEST(jlsp_enhanced_for_var); |
| 1854 | |
| 1855 | /* var */ |
| 1856 | RUN_TEST(jlsp_var_inference); |
| 1857 | RUN_TEST(jlsp_var_inference_constructor); |
| 1858 | |
| 1859 | /* Cast / ternary / array */ |
| 1860 | RUN_TEST(jlsp_cast_method); |
| 1861 | RUN_TEST(jlsp_ternary); |
| 1862 | RUN_TEST(jlsp_array_index); |
| 1863 | RUN_TEST(jlsp_array_length_field); |
| 1864 | |
| 1865 | /* Optional / Streams / lambdas */ |
| 1866 | RUN_TEST(jlsp_optional_chain); |
| 1867 | RUN_TEST(jlsp_stream_filter_map); |
| 1868 | RUN_TEST(jlsp_stream_collect_toList); |
nothing calls this directly
no outgoing calls
no test coverage detected