org.junit.platform.commons.annotation.Testable Java Examples

The following examples show how to use org.junit.platform.commons.annotation.Testable. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MySqlNamesCompareBenchmark.java    From r2dbc-mysql with Apache License 2.0 4 votes vote down vote up
@Benchmark
@Testable
public int compareCi() {
    return MySqlNames.compare(LEFT, RIGHT);
}
 
Example #2
Source File: MySqlNamesCompareBenchmark.java    From r2dbc-mysql with Apache License 2.0 4 votes vote down vote up
@Benchmark
@Testable
public int nativeCompareCi() {
    return String.CASE_INSENSITIVE_ORDER.compare(LEFT, RIGHT);
}
 
Example #3
Source File: MySqlNamesCompareBenchmark.java    From r2dbc-mysql with Apache License 2.0 4 votes vote down vote up
@Benchmark
@Testable
public int compareCs() {
    return MySqlNames.compare(LEFT, LEFT);
}
 
Example #4
Source File: MySqlNamesCompareBenchmark.java    From r2dbc-mysql with Apache License 2.0 4 votes vote down vote up
@Benchmark
@Testable
public int nativeCompareCs() {
    return String.CASE_INSENSITIVE_ORDER.compare(LEFT, LEFT);
}
 
Example #5
Source File: ServerVersionBenchmark.java    From r2dbc-mysql with Apache License 2.0 4 votes vote down vote up
@Benchmark
@Testable
public void parse() {
    ServerVersion.parse(VERSION_STR);
}
 
Example #6
Source File: ServerVersionBenchmark.java    From r2dbc-mysql with Apache License 2.0 4 votes vote down vote up
@Benchmark
@Testable
public boolean isEnterprise() {
    return VERSION.isEnterprise();
}
 
Example #7
Source File: MySqlNamesCompareBenchmark.java    From r2dbc-mysql with Apache License 2.0 4 votes vote down vote up
@Benchmark
@Testable
public int compareCi() {
    return MySqlNames.compare(LEFT, RIGHT);
}
 
Example #8
Source File: MySqlNamesCompareBenchmark.java    From r2dbc-mysql with Apache License 2.0 4 votes vote down vote up
@Benchmark
@Testable
public int nativeCompareCi() {
    return String.CASE_INSENSITIVE_ORDER.compare(LEFT, RIGHT);
}
 
Example #9
Source File: MySqlNamesCompareBenchmark.java    From r2dbc-mysql with Apache License 2.0 4 votes vote down vote up
@Benchmark
@Testable
public int compareCs() {
    return MySqlNames.compare(LEFT, LEFT);
}
 
Example #10
Source File: MySqlNamesCompareBenchmark.java    From r2dbc-mysql with Apache License 2.0 4 votes vote down vote up
@Benchmark
@Testable
public int nativeCompareCs() {
    return String.CASE_INSENSITIVE_ORDER.compare(LEFT, LEFT);
}
 
Example #11
Source File: ServerVersionBenchmark.java    From r2dbc-mysql with Apache License 2.0 4 votes vote down vote up
@Benchmark
@Testable
public void parse() {
    ServerVersion.parse(VERSION_STR);
}
 
Example #12
Source File: ServerVersionBenchmark.java    From r2dbc-mysql with Apache License 2.0 4 votes vote down vote up
@Benchmark
@Testable
public boolean isEnterprise() {
    return VERSION.isEnterprise();
}