• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LearnLib / learnlib / 13181815301

06 Feb 2025 03:00PM CUT coverage: 94.368%. Remained the same
13181815301

push

github

mtf90
[maven-release-plugin] prepare for next development iteration

12484 of 13229 relevant lines covered (94.37%)

1.72 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/drivers/basic/src/main/java/de/learnlib/driver/ExecutableInputSUL.java
1
/* Copyright (C) 2013-2025 TU Dortmund University
2
 * This file is part of LearnLib <https://learnlib.de>.
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *     http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16
package de.learnlib.driver;
17

18
import de.learnlib.sul.ExecutableInput;
19
import de.learnlib.sul.SUL;
20

21
/**
22
 * A {@link SUL} that executes {@link ExecutableInput} symbols.
23
 *
24
 * @param <I>
25
 *         input symbol type
26
 * @param <O>
27
 *         output symbol type
28
 */
29
public class ExecutableInputSUL<I extends ExecutableInput<? extends O>, O> implements SUL<I, O> {
×
30

31
    @Override
32
    public void pre() {}
×
33

34
    @Override
35
    public void post() {}
×
36

37
    @Override
38
    public O step(I in) {
39
        return in.execute();
×
40
    }
41

42
    @Override
43
    public boolean canFork() {
44
        return true;
×
45
    }
46

47
    @Override
48
    public SUL<I, O> fork() {
49
        return this;
×
50
    }
51
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc