kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | b3996311c413ecfb5fd17de9f0b8a5f555d3bd5e412fd746cafd2a497209198b |
|---|---|
| Author | Andrew Tolbert <andrew.tolbert@datastax.com> · 2016-03-02 17:37 -06:00 |
| Committer | Andrew Tolbert <andrew.tolbert@datastax.com> · 2016-03-02 17:37 -06:00 |
| Parents | c2cdc3b9eac6 |
1 file changed
modified driver-core/src/test/java/com/datastax/driver/core/QueryLoggerTest.java +7 −0
| @@ -421,6 +421,7 @@ | ||
| 421 | 421 | } |
| 422 | 422 | |
| 423 | 423 | @Test(groups = "short") |
| 424 | + @CassandraVersion(major = 2.0) | |
| 424 | 425 | public void should_log_non_null_positional_parameter_simple_statements() throws Exception { |
| 425 | 426 | // given |
| 426 | 427 | normal.setLevel(TRACE); |
| @@ -464,6 +465,7 @@ | ||
| 464 | 465 | } |
| 465 | 466 | |
| 466 | 467 | @Test(groups = "short") |
| 468 | + @CassandraVersion(major = 2.0) | |
| 467 | 469 | public void should_log_null_parameter_simple_statements() throws Exception { |
| 468 | 470 | // given |
| 469 | 471 | normal.setLevel(TRACE); |
| @@ -564,6 +566,7 @@ | ||
| 564 | 566 | } |
| 565 | 567 | |
| 566 | 568 | @Test(groups = "short") |
| 569 | + @CassandraVersion(major = 2.0) | |
| 567 | 570 | public void should_log_all_parameter_types_simple_statements() throws Exception { |
| 568 | 571 | // given |
| 569 | 572 | normal.setLevel(TRACE); |
| @@ -727,6 +730,7 @@ | ||
| 727 | 730 | } |
| 728 | 731 | |
| 729 | 732 | @Test(groups = "short") |
| 733 | + @CassandraVersion(major = 2.0) | |
| 730 | 734 | public void should_truncate_blob_parameter_when_max_length_exceeded_simple_statements() throws Exception { |
| 731 | 735 | // given |
| 732 | 736 | normal.setLevel(TRACE); |
| @@ -772,6 +776,7 @@ | ||
| 772 | 776 | } |
| 773 | 777 | |
| 774 | 778 | @Test(groups = "short") |
| 779 | + @CassandraVersion(major = 2.0) | |
| 775 | 780 | public void should_not_truncate_parameter_when_max_length_unlimited_simple_statements() throws Exception { |
| 776 | 781 | // given |
| 777 | 782 | normal.setLevel(TRACE); |
| @@ -818,6 +823,7 @@ | ||
| 818 | 823 | } |
| 819 | 824 | |
| 820 | 825 | @Test(groups = "short") |
| 826 | + @CassandraVersion(major = 2.0) | |
| 821 | 827 | public void should_not_log_exceeding_number_of_parameters_simple_statements() throws Exception { |
| 822 | 828 | // given |
| 823 | 829 | normal.setLevel(TRACE); |
| @@ -924,6 +930,7 @@ | ||
| 924 | 930 | } |
| 925 | 931 | |
| 926 | 932 | @Test(groups = "short") |
| 933 | + @CassandraVersion(major = 2.0) | |
| 927 | 934 | public void should_log_all_parameters_when_max_unlimited_simple_statements() throws Exception { |
| 928 | 935 | // given |
| 929 | 936 | normal.setLevel(TRACE); |