File tree 5 files changed +21
-8
lines changed
test/framework/src/main/java/org/elasticsearch/test/hamcrest
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/dataframe/evaluation/classification 5 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
- * or more contributor license agreements. Licensed under the Elastic License;
4
- * you may not use this file except in compliance with the Elastic License.
2
+ * Licensed to Elasticsearch under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright
5
+ * ownership. Elasticsearch licenses this file to you under
6
+ * the Apache License, Version 2.0 (the "License"); you may
7
+ * not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing,
13
+ * software distributed under the License is distributed on an
14
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ * KIND, either express or implied. See the License for the
16
+ * specific language governing permissions and limitations
17
+ * under the License.
5
18
*/
6
- package org .elasticsearch .xpack . core . ml . dataframe . evaluation . classification ;
19
+ package org .elasticsearch .test . hamcrest ;
7
20
8
21
import org .elasticsearch .common .collect .Tuple ;
9
22
import org .hamcrest .Description ;
Original file line number Diff line number Diff line change 22
22
import static org .elasticsearch .xpack .core .ml .dataframe .evaluation .MockAggregations .mockSingleValue ;
23
23
import static org .elasticsearch .xpack .core .ml .dataframe .evaluation .MockAggregations .mockTerms ;
24
24
import static org .elasticsearch .xpack .core .ml .dataframe .evaluation .MockAggregations .mockTermsBucket ;
25
- import static org .elasticsearch .xpack . core . ml . dataframe . evaluation . classification .TupleMatchers .isTuple ;
25
+ import static org .elasticsearch .test . hamcrest .TupleMatchers .isTuple ;
26
26
import static org .hamcrest .Matchers .containsString ;
27
27
import static org .hamcrest .Matchers .empty ;
28
28
import static org .hamcrest .Matchers .equalTo ;
Original file line number Diff line number Diff line change 26
26
import static org .elasticsearch .xpack .core .ml .dataframe .evaluation .MockAggregations .mockFiltersBucket ;
27
27
import static org .elasticsearch .xpack .core .ml .dataframe .evaluation .MockAggregations .mockTerms ;
28
28
import static org .elasticsearch .xpack .core .ml .dataframe .evaluation .MockAggregations .mockTermsBucket ;
29
- import static org .elasticsearch .xpack . core . ml . dataframe . evaluation . classification .TupleMatchers .isTuple ;
29
+ import static org .elasticsearch .test . hamcrest .TupleMatchers .isTuple ;
30
30
import static org .hamcrest .Matchers .empty ;
31
31
import static org .hamcrest .Matchers .equalTo ;
32
32
import static org .hamcrest .Matchers .not ;
Original file line number Diff line number Diff line change 20
20
import static org .elasticsearch .xpack .core .ml .dataframe .evaluation .MockAggregations .mockFilters ;
21
21
import static org .elasticsearch .xpack .core .ml .dataframe .evaluation .MockAggregations .mockSingleValue ;
22
22
import static org .elasticsearch .xpack .core .ml .dataframe .evaluation .MockAggregations .mockTerms ;
23
- import static org .elasticsearch .xpack . core . ml . dataframe . evaluation . classification .TupleMatchers .isTuple ;
23
+ import static org .elasticsearch .test . hamcrest .TupleMatchers .isTuple ;
24
24
import static org .hamcrest .Matchers .containsString ;
25
25
import static org .hamcrest .Matchers .empty ;
26
26
import static org .hamcrest .Matchers .equalTo ;
Original file line number Diff line number Diff line change 19
19
import static org .elasticsearch .test .hamcrest .OptionalMatchers .isEmpty ;
20
20
import static org .elasticsearch .xpack .core .ml .dataframe .evaluation .MockAggregations .mockSingleValue ;
21
21
import static org .elasticsearch .xpack .core .ml .dataframe .evaluation .MockAggregations .mockTerms ;
22
- import static org .elasticsearch .xpack . core . ml . dataframe . evaluation . classification .TupleMatchers .isTuple ;
22
+ import static org .elasticsearch .test . hamcrest .TupleMatchers .isTuple ;
23
23
import static org .hamcrest .Matchers .containsString ;
24
24
import static org .hamcrest .Matchers .empty ;
25
25
import static org .hamcrest .Matchers .equalTo ;
You can’t perform that action at this time.
0 commit comments